标签:
Intent intent = new Intent(A.this, B.class); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent);
activity跳转到新的activity后清除之前的activity
原文地址:http://www.cnblogs.com/red-code/p/5854398.html