I\'m looking for a way to quit my android app by code. Yes, I know, I shouldn\'t be doing this cause android handles it when you press the back button, but I have a customiz
use below code.
android.os.Process.killProcess(android.os.Process.myPid()); System.runFinalizersOnExit(true);