Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Exit program Android

public void onBackPressed() {
  moveTaskToBack(true);
  android.os.Process.killProcess(android.os.Process.myPid());
  System.exit(1);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Exit #program #Android
ADD COMMENT
Topic
Name
3+4 =