Home  | My Account  |  Membership
WorldDeveloper.org
Forum Details
Topics
Posts
Categories
 
577 member(s)
718,905 hit(s)
14 categories
51 topics
26 messages
0 online
Forums: Code Post
I need some code post on this
kazeematics
2 topic(s)
0 post(s)

November 14, 2007 9:16 AM

I wrote a Time Table midlet using persistence storage API for university students to save course code with time. I want the midlet to alert the user when they have that particular course or some minutes before even when the midlet is closed. I need some code post on this. Thanks


hostj2me
43 topic(s)
23 post(s)

January 02, 2008 6:24 PM

First, sorry for taking so long to respond to your post. I have been travelling since the 15th of November.

Sounds like you will need to use the RegisterAlarm functionality of the PushRegistry to accomplish your goal. During shutdown, the midlet could compute and register an alarm the next launch time from the start time of the next upcoming course.

In the shutdown logic of your midlet or destroyApp add something along the lines of

PushRegistry.registerAlarm(“myMidletClassName”,timeOfNextCourse);


mickeystaines
1 topic(s)
1 post(s)

September 30, 2008 7:05 AM

I need to know how the hostj2me server manages to log the mobile configuration, profile,and the model number of the phone which downloads a mobile application from its server....How is it possible to query the phone OTA.......


©2008 WorldDeveloper.org - PO Box 310575 Miami, FL 33231

WorldDeveloper.org is a managed social network for application developers around the world.