memory management - Android: make the system to kill the app's process instead of destroying paused/stopped activities -


is possible force android kill entire app's process instead of destroying activities run in background? because, don't want system recreate destroyed activities since app won't work correctly in case. thus, think it's more "user-friendly" kill entire process user start app again , works should. solution should not affect normal "resuming" (when activity still running in background)..

is possible force android kill entire app's process instead of destroying activities run in background?

yes, use android.os.process.killprocess(android.os.process.mypid()); more info refer process

mypid () - returns identifier of process, can used killprocess(int)


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -