从某一个Activity跳转到Launcher的主界面(桌面)
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addCategory(Intent.CATGORY_HOME);
startActivity(intent);
写在20120329:跳转到Launcher主界面
猜你喜欢
转载自meohao.iteye.com/blog/1912645
今日推荐
周排行