title: how to return back to previous activity on back pressed?
body: <p>i have call <code>Activity A</code> with state 2 from <code>Activity A</code> with state 1 then again call <code>Activity A</code> with state 3 from <code>Activity A</code> with state 2. Now how can i go back to <code>Activity A</code> with state 2 when i press on back button in android?</p>