Answers for "how to close app from backgtound on android"

0

Exit program Android

public void onBackPressed() {
  moveTaskToBack(true);
  android.os.Process.killProcess(android.os.Process.myPid());
  System.exit(1);
}
Posted by: Guest on March-18-2020

Code answers related to "how to close app from backgtound on android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language