×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    2

    Unhappy Push Registry - Dynamic Alarm Registration

    Hi Everyone,

    Has anyone experienced problems with using the Push Registry on a Nokia Device. I am attempting to auto start the midp2.0 application at times of between 3 and 24 hours. Is seems sometimes the application starts at the specified time correctly (usually when time is less than 1 hour), other times the application starts up BEFORE the time i have set. I have debugged and am sure I am setting the time correctly. (Code below). I did see something about Nokia phones starting the app up itself though, before you have specified.. Does anyone have knowledge/experience of this? Or a workaround? Thanks! Sheree


    private void scheduleMIDlet(long time) throws
    ClassNotFoundException, ConnectionNotFoundException, SecurityException
    {
    String cn = "TestMidlet";
    PushRegistry.registerAlarm(cn, alarm.getTime());
    long deltatime = 3600000; // 1hour
    Date alarm = new Date();
    long t = PushRegistry.registerAlarm(cn,
    alarm.getTime()+deltatime);
    }

  2. #2
    Registered User
    Join Date
    Mar 2005
    Posts
    3
    Have you found a solution yet?

    I am experiencing something similar.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    2
    No, Not yet. Please let me know if you solve it. We have looked at using a different phone make/model.

  4. #4
    Registered User
    Join Date
    Nov 2005
    Posts
    6

    Re: Push Registry - Dynamic Alarm Registration

    check time setting of ur fone.. like
    GMT and off the auto time update..

    hope this will work

  5. #5
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    387

    Unhappy Re: Push Registry - Dynamic Alarm Registration

    Hello every one may i know difference between static and dynamic push registry.

  6. #6
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: Push Registry - Dynamic Alarm Registration

    I guess that static is when u place alarms in ur .jad file and dynamic is when u set an alarm from within ur code...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×