I\'ve got 4 activities say Act1, Act2, Act3 and Act4. A button in Act1 opens Act2, a button in Act2 opens Act3, a button in A
Act1
Act2
Act3
Act4
Intent intent = new Intent(Act4.this, Act1.class); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);
Clear the flag before you switch back to previous activity. It might help you.