App重新启动
Intent i = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName());
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(i);
?
轉載于:https://www.cnblogs.com/yangcong/p/5198967.html
總結
- 上一篇: 返回空的List集合
- 下一篇: 递归,记忆化搜索,(棋盘分割)