Hi,
  With having the hope that you must aware of the Alarm Manager apis and its 
working.

Now as per your requirement, Alarm Manager is best suitable for you. When you 
set the alarm for a certain time(take the current date) you will get following 
system events (which you have to handle in PilotMain)

1. sysAppLaunchCmdAlarmTriggered
2. sysAppLaunchCmdDisplayAlarm

These two events is get called in successively.

And as you want to do it for every day, set the new alarm by the following 
manner.

1. DateAdjust(), by sending second parameter as 1, to get the next 
   date. You can get the next date by *dataP (first) parameter.

2. Set the alarm with new date.

3. You will get above event next day at your specified time.

For more information on how the Alarm Manager works go through the Sample 
application (DateBook).

Hope it will help you.

Best Wishes
Mukesh Singh

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to