Possible Duplicate:
Quitting an application - is that frowned upon?
I've written an android app, that has 5 activities. Each activity is started by the activity before it. When the user gets to the last activity, i have added an "EXIT" button. When this button is pressed, i call finish(); However this only closes the current activity, and the app returns to the previous activity. Is there an easy way to terminate all activities when exit button is pressed.
thanks
Usually it is not a good idea to add "exit" feature to an app. That's not in Android nature. Read the topic first.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With