标签:
1 Intent intentBack = new Intent(this, MainActivity.class); 2 intentBack.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);//通过设置intent的flag来切断跳转的去得activity和前世的所有纠葛 3 startActivity(intentBack);
清理Activity堆栈
原文地址:http://www.cnblogs.com/turtle920/p/4870190.html