android系统退出

来源:互联网 发布:如何使用itudou软件 编辑:程序博客网 时间:2024/05/16 15:43
Intent startMain = new Intent(Intent.ACTION_MAIN);startMain.addCategory(Intent.CATEGORY_HOME);startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);startActivity(startMain);System.exit(0);



http://blog.sina.com.cn/s/blog_623e31d90100up18.html

http://blog.csdn.net/liu_zhen_wei/article/details/6988820