android 如何在开启一个activity的时候清除所有前面的Activity 用法; intent intent = new Intent(); intent.addFlag(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(intent);