經安全檢測,此網站為安全網站,請放心前往原始網址!

android - exit application code - Stack Overflow

Android's design does not favor exiting an application by choice, but rather manages it by the OS. You can bring up the Home application by its corresponding Intent: Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_HOME .

stackoverflow.com

網址安全性掃描由 google 提供