Hi.
Does anybody know how to detect the current
application is active so that the program will skip
some necessary procedure when opening the PDA:
I used the sysNotifyLateWakeupEvent to SysAppLaunch to
our application instead of using SysUIAppSwitch
(SysUIAppSwitch seems to be the right way to close the
application and re-open it but it flashes twice when
opening the PDA and I try to use SysAppLaunch). If the
current application is active, it wouldn't call the
SysAppLaunch. I have tried to use the launch flag but
to no avail:
Boolean appIsActive = launchFlags &
sysAppLaunchFlagSubCall;
if (!inSubCall)
{
SysAppLaunch (0, dbID,0, sysAppLaunchCmdNormalLaunch,
NULL,NULL);
}
Pls help/advise in this regard.
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/