Ordinarily one should let the OS decide when an Android app gets killed. But you can call ExitApplication.exit() to explicitly kill the running application:
public class ExitApplication {
public static void exit() {
int processID = android.os.Process.myPid();
android.os.Process.killProcess(processID);
}
}
Use Vault 3 for Android to keep track of your important notes when you're on the go. Thanks!
| Title | Date |
| Get JetBrains IDEs to Remember Subversion (SVN) Credentials | November 3, 2026 |
| Converting a Thinkpad from Windows 11 to Linux Mint | October 29, 2026 |
| Raspberry Pi Camera Trap and Animal Detection Program | August 29, 2026 |
| Python Tip: Fix Incorrect Orientation of Digital Photos | August 8, 2026 |
| EBT Weather is now available for Windows and Linux | May 30, 2026 |
| Node.js + Express: How to Block Requests by User-Agent Headers | January 7, 2026 |
| Vault 3 is Now Available for Windows on ARM Machines! | December 13, 2025 |