Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User gaurav2610's Avatar
    Join Date
    Nov 2007
    Posts
    13
    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 rdrincon's Avatar
    Join Date
    May 2007
    Location
    Mexico D.F
    Posts
    351
    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 gaurav2610's Avatar
    Join Date
    Nov 2007
    Posts
    13
    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 gaurav2610's Avatar
    Join Date
    Nov 2007
    Posts
    13
    Someone please help.. desperately need a solution for this.

  5. #5

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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved