 <p>If you don't want the previous <code>Activity</code> to be shown on the back button press, you can specify this in the AndroidManifest.xml like:</p> <pre><code>&lt;activity android:name="sample.activity.MyActivity" android:noHistory="true" /&gt; </code></pre> <p>This will prevent the <code>Activity</code> from being put into the history stack and allow the back button to quit (assuming you add the noHistory flag to every previous <code>Activity</code>) </p>