You Are Here:

Community: Developer Discussion Boards

#1 Old Unhappy Push Registry - Dynamic Alarm Registration - 2005-04-28, 03:50

Join Date: Feb 2005
Posts: 2
shereeb
Offline
Registered User
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);
}
Reply With Quote

#2 Old 2005-06-15, 13:13

Join Date: Mar 2005
Posts: 3
tyrollin
Offline
Registered User
Have you found a solution yet?

I am experiencing something similar.
Reply With Quote

#3 Old 2005-06-15, 14:09

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

#4 Old Re: Push Registry - Dynamic Alarm Registration - 2006-01-27, 19:25

Join Date: Nov 2005
Posts: 6
ruchitjoshi
Offline
Registered User
check time setting of ur fone.. like
GMT and off the auto time update..

hope this will work
Reply With Quote

#5 Old Unhappy Re: Push Registry - Dynamic Alarm Registration - 2009-02-02, 10:05

Join Date: Jan 2008
Posts: 385
manjul_saini's Avatar
manjul_saini
Offline
Regular Contributor
Hello every one may i know difference between static and dynamic push registry.
Reply With Quote

#6 Old Re: Push Registry - Dynamic Alarm Registration - 2009-02-02, 10:22

Join Date: Apr 2007
Posts: 1,757
Tiger79's Avatar
Tiger79
Offline
Forum Nokia Champion
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...
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia