Possible Duplicate:
Quitting an application - is that frowned upon?
I have an Android app on Android. The way it starts is that it has a main menu, then you click start, and that is where the main function is. I was wondering, once I am in an activity that is not on the bottom of the stack, I want to allow the user to exit the program. Is there a way to finish the entire application, not just the current activity?