Is it possible to force Android to kill the entire app's process instead of destroying activities which run in the background?
Yes, use android.os.Process.killProcess(android.os.Process.myPid());
For more info refer Process
myPid ()
- Returns the identifier of the process, which can be used with killProcess(int)