>> Summary: When handling the sysAppLaunchCmdDisplayAlarm launch code, how
>can I find out if my application is the "running" application, that is, the
>one that the user was using when the alarm went off?
>
>I didn't receive any advice about the preferred way to find out if my app
>was the running app when my alarm went off, so I had to invent something.


How about setting a feature when your app starts, and removing it when your
app quits?

And/or, I believe that checking whether sysAppLaunchFlagSubCall is turned
on in the launch flags for your alarm launch is sufficient.

-David Fedor
Palm Developer Support

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

Reply via email to