Every one here will tell you, you don't need it, it's against Android Os policy. Android manage the life and death of your app.
But anyway : you should simply call the finish() function of your activity : It will call onpause, onstop, and ondestroy thus terminating gracefull the app. You need to do your own cleanup if you have more than one activity though. Good luck. Yahel On 8 sep, 09:41, Ajmer Singh <[email protected]> wrote: > Hi > > I need to have a "Exit" menu items in my application,My question here is how > can i just exit the app,Please throw some light on this is that possible in > android if yes then how. > > Please help,Thanks in advance > > -- > Thanks and Regards > Ajmer Singh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] 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

