Created
September 27, 2013 17:56
-
-
Save emedinaa/6732449 to your computer and use it in GitHub Desktop.
Force close Android Application
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
protected void exitApp() { | |
// force close app | |
android.os.Process.killProcess(android.os.Process.myPid()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment