Closing a Activity on new Activity
<p>I have an activity that has a button with a intent as follows</p>

<pre><code>Intent i = new Intent(getApplicationContext(), MyMainActivity.class);
                   startActivity(i);
                   finish();
</code></pre>

<p>Once you move to the next activity <code>MyMainActivity.class</code> if you hit the back button it shows the last activity with the old resaults.</p>

<p>Is there a way to make the activity close or move back once the button is pushed? This way once the activity is done it is not my activity history.</p>
