title: Exit from Android app
body: <p>Suppose I have A->B->C->D activities.
  I want to exit from C always <code>onBackPressed()</code>.</p>
  
  <p>How to exit from application on such situation. I have tried <code>FLAG_ACTIVITY_CLEAR_TOP</code> but no success.</p>
  
  <p>My Minimum SDK is <code>API 8</code>.</p>