×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    13

    Push Registry Register Alarm not working properly.

    Hi,

    I am developing a mobile application utilising pushregister alarm to invoke my midlet at user defined time(user can also select day of week).My current located is India(+5.30 GMT).My application works fine in India(starts at exact timings). But the same application does not trigger at correct timings when tested in Norway(+1 GMT).It asks to be started 2-3 hrs before the set timings.

    Please help me address this issue. Is this something to do with Day Light Savings?

  2. #2
    Nokia Developer Expert
    Join Date
    May 2007
    Location
    Mexico D.F
    Posts
    351

    Re: Push Registry Register Alarm not working properly.

    Well, at first glance since to be something related to the timezone.

    Could you please post relevant code?

    What happens if you set it in a short time... for instance 15 mins later?
    :Ruben

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    13

    Re: Push Registry Register Alarm not working properly.

    Yes it seems running fine for intervals upto 15mins.

    Here is a code snipplet :

    long wakeuptime ; // this value is retrieved from the timings set by user

    long newWakeUpTime = wakeuptime - new Date(System.currentTimeMillis()).getTime();

    long t = new Date().getTime()+newWakeUpTime;

    PushRegistry.registerAlarm("MyMidlet", t );


    I am calling this in the destroyApp() method.

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    13

    Unhappy Re: Push Registry Register Alarm not working properly.

    Someone please help.. desperately need a solution for this.

  5. #5
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Push Registry Register Alarm not working properly.

    Hello gaurav2610,

    your case could be related to this issue:

    http://wiki.forum.nokia.com/index.ph...e_(summer_time)

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. Push registry alarm notification.
    By chetubc in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2009-05-13, 06:17
  2. regarding push registry
    By aki.h in forum Mobile Java General
    Replies: 1
    Last Post: 2008-06-11, 23:33
  3. Is there any way to find application launched by user or push registry.
    By mmdfarook in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-06-11, 12:54
  4. How to get PUSH registry to register?
    By pillar in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2006-03-23, 17:10
  5. Problem with SIP Plug-in for Series 60 SDK 2.0
    By jalakuri in forum Symbian Tools & SDKs
    Replies: 27
    Last Post: 2005-08-22, 09:55

Posting Permissions

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