The user doesn't, the system handles this automatically. That's what
the activity lifecycle (especially onPause/onStop/onDestroy) is for.
No matter what you do, do not put a "quit" or "exit" application
button. It is useless with Android's application model. This is also
contrary to how core applications work.

Note that when the user presses Back, the Activity is destroyed.

On Fri, Oct 31, 2008 at 11:14 AM, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> When our application is started, our main Activity comes alive. In the
> emulator, how do you "kill" the application? It seems my Activity is
> living forever. Does the user have a choice to kill the application
> unless we put a menu option in to kill it? If no such option exists,
> how does the user terminate the application?
>
> Thanks
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to