On Fri, 18 Feb 2005 20:04:08 -0000, sharkboy717 <[EMAIL PROTECTED]> wrote: > Hello! Is there any way to get info on the currently running app? I looked at > SysGetApp... would that work? Also, how should i go about implementing this?
http://news.palmos.com/read/search/?forum=palm-dev-forum http://news.palmos.com/read/search/results?forum=palm-dev-forum&words=currently+running+application http://news.palmos.com/read/messages?id=183913#183913 "You can use SysCurAppDatabase to get the db ID of the currently active application." "I am hereby quoting from the Palm OS Programmer's Companion, Volume I If your application receives a launch code other than sysAppLaunchCmdNormalLaunch or sysAppLaunchCmdGoTo, you can find out if it is the current application by checking the launch flags that are sent with the launch code. If the application is the currently running application, the sysAppLaunchFlagSubCall flag is set. This flag is set by the system and isn't (and shouldn't be) set by the sender of a launch code. Boolean appIsActive = launchFlags & sysAppLaunchFlagSubCall;" Krzysztof Kowalczyk | http://blog.kowalczyk.info -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
