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
Try using the killBackgroundProcesses method:
ActivityManager activityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE); activityManager.killBackgroundProcesses("name.of.your.package");
You will need to add the KILL_BACKGROUND_PROCESSES permission to your AndroidManifest.xml file.
AndroidManifest.xml