If I understand you right, you are trying to exit your application. You may try implementing a simple logic (e.g. an ExitManager class where the activities register themselves in their onCreate and deregister themselves in their onDestroy) which calls the finish() method of all your activities. Calling the finish method of all activities would ensure that they are gracefully destroyed. If there is a better and more concise alternative, I would be happy to learn it.
---------- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ On Jul 1, 6:14 am, nageswara rao rajana <[email protected]> wrote: > Hi, > > In application i have 4 activities, and also exit in my menu option if > i click exit in any activity it is destroying the current activity > and displaying the previous activity. But my requirement is if i click > exit in activity the application should be killed and should > display the home. Please help me its urgent. > > Thanking you, > Nagu. -- 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

