android - exit application code - Stack Overflow

android - exit application code - Stack Overflow

瀏覽:383
日期:2026-04-18
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 ....看更多