Exit / Close Application
<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'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.</p>

<p>thanks </p>
