I Found some codes for quit an Android application programatically. By calling any one of the following code in onDestroy() will it quit application entirely?
Friends just add this function to exit your application programmatically #java
public void onBackPressed() { finishAffinity(); System.exit(0); }