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?
Details: In response to the sysAppLaunchCmdDisplayAlarm, I want to give the
user an opportunity to start my application. I am using FrmAlert() to
display an alert that contains a button to signal that my app should be
launched. When this button is pressed, I need to make sure that I am not
already the running app, and then launch my app as necessary using
SysUIAppSwitch(). I tried using SysCurAppDatabase(), but it returns the
card number and local ID for my application, not the application that my
alert is displaying on top of.
I haven't seen this topic discussed in the knowledge base (did I simply not
find it)?
Thanks in advance.
Jeff
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/