Created
March 28, 2011 13:23
-
-
Save mstefanko/890438 to your computer and use it in GitHub Desktop.
Kill Android app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Way one */ | |
android.os.Process.killProcess(android.os.Process.myPid()) | |
/* Way Two */ | |
System.exit(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment