If the user quits the app by a button SysUIAppSwitch is trigged. It closes the app and starts another. You can intercept the starting of the new app by sysNotifyAppLaunchingEvent.
sysNotifyAppQuittingEvent could also be a help. Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Markus Dresch Sent: Thursday, July 10, 2003 7:00 AM To: Palm Developer Forum Subject: Re: SysUIAppSwitch() question > I am now trying to call the Address Book by a button in my application. > But how can I back to my original application after I finish the address > book? now, that's the tricky part :o) but there's a not so hard but dirty workaround: - save the current prefLauncherAppCreator - set prefLauncherAppCreator to your creator-id - switch to address book - when the user taps the launcher button, your app is opened - restore previous prefLauncherAppCreator if the user presses another hardwarebutton or silkbutton you'll probably have a problem... markus dresch (www.palmside.com) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
