how do i finish an app in android
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon">Quitting an application - is that frowned upon?</a>  </p>
</blockquote>



<p>I have an android app in 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?</p>
