Can't exit an Android application
<p>When I exit my android application it resumes to the previous screen.  How can I exit the Android application properly?</p>

<pre><code>@Override
public boolean onOptionsItemSelected(MenuItem item) {
    // TODO Auto-generated method stub
    switch(item.getItemId()) {
         case EXIT:
             try {
                 this.finish();
             } catch(Exception e) {
             }
             break;
      }
      return false;
 }
</code></pre>
