have a look at launch codes (in the palm os reference).

if you registered an alarm for your application, the alarm manager first
calls your app using the sysAppLaunchCmdAlarmTriggered command. you usually
use this to handle some quick tasks that don't require gui (update some data
or whatever).

after that, the app is called again with the sysAppLaunchCmdDisplayAlarm
command. here you can show some modal dialog for example.

since your app doesnt have access to it's globals if it wasnt called in
Normal mode, it's a bit tricky to handle your standard ui with forms and
form handlers. it's a lot easier to simply use SysUIAppSwitch to start your
app again in normal mode...

markus dresch (www.palmside.com)

"Rodolphe Br�jaude" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:110835@palm-dev-forum...
>
> Hello,
> I'm interrested in that action (wake up and do my programm).
> What are exactly the restricition in this Alarm launch mode ?
> What do you mean with "handling whatever you have to do "
> What are these msg are for ? "sysAppLaunchCmdDisplayAlarm and call
> SysUIAppSwitch "
>
> Thanks, th help, If you have an programm exemple, I would like tou have
look
> at it ?



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

Reply via email to