So I have my Activity, and on pressing a \"Quit\" button I call Activity.finish(). This effectively closes my application.
The problem: The Dalvik-process of my applicat
By using the ActivityManager we can close the another applications also.
private ActivityManager am = (ActivityManager) this.getSystemService(ACTIVITY_SERVICE);
am.restartPackage("com.jimmy.appToBeClosed");
to use the above code should have the android.permission.RESTART_PACKAGE
permissions in manifest file.