There is not true quit. There is a recommended way to quit from your app (if you really need to quit from inside your app, which is not recommended at all): Send a Home-button char event to the system.

This is right. Remember that the Launcher is just another application, and in fact on most operating systems this is the case no matter how much this fact is hidden by the UI. Furthermore, the built-in launcher might not be the one which the user is running, which is why you enqueue the Home-button, and don't call SysUIAppSwitch to the built-in launcher.


Again, the whole confusion stems from the fact that App B is quitting without being told to quit by the user. If you want to go to the launcher (for example because B can't run since it is missing a required file or whatever) then send them to the launcher. Don't be passive and just quit and hope that what you want to happen does actually happen; instead, take charge! If you've a requirement, then make it so! Enqueue that key as if the user hit the Home button and you're done!

-David Fedor
PalmSource, Inc.

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

Reply via email to