,當我試圖退出,我運行下面的代碼,但我不能殺的進展,如何殺死在Android的
所以如果我重新啓動我的應用程序,另一個進步started.what事?
我退出代碼:
Intent startMain = new Intent(Intent.ACTION_MAIN);
startMain.addCategory(Intent.CATEGORY_HOME);
startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(startMain);
System.exit(0);
finish();
爲uploding你需要增加你的信譽得分是圖像1現在...你需要爲了獲得使用此功能的特權,請在網站上註冊至少10個聲望的成員http://meta.stackexchange.com/questions/75491/how-to-upload-an-image-to-a-post – 2012-07-19 08:52:26
這個活動是你的根源活動還是隻活躍在堆棧中? – 2012-07-19 08:55:46
http://stackoverflow.com/questions/2092951/how-to-close-android-application – 2012-07-19 08:57:49