We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

[How-to] Completely close Android apps

asked 2016-06-04 18:00:46 +0300

palikao gravatar image

updated 2016-06-04 18:43:25 +0300

I've noticed that, if an Android app is opened (and used) an then it is closed with gesture, that app gets closed and disappears from processes, BUT, for real, in Dalvik that app stays "on", silently on, in background.

Infact, i.e. WhatsApp status is always online, other apps continue in receiving messages (even if they are not allowed to work in beckground) and when opened again, they show new messages or other activities, only possible if already opened or never closed. And.. RAM fills up and doesn't empty. If I allow WhatsApp to run in background, the process starts at boot, and fills RAM of NN%. Then if I open the app WhatsApp, RAM fills of another nn%. If I close the app (not the process), RAM stays filled of that nn% (almost). If I force close WhatsApp from Settings, it closes also the process, and I don't want this. I only want to close the app, and them empty RAM of the nn% added opening the app.

This happens also with apps that are not allowed to run in background, that continue working silently in Dalvik, even if closed

How can I completely close an Android app, opened avoiding it to stays silently on in Dalvik?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
2

answered 2016-06-04 18:12:15 +0300

saleki gravatar image

You can do that this way Settings=>Apps=>Choose app=>Force close or restart alien dalvik also from settings.

edit flag offensive delete publish link more

Comments

1

Uhm.. Well.. It is not what I mean. If I force close the app, it closes also the background process, and I don't want this. Infact, I've written that this happens also with apps that are NOT allowed to run in background.

For example, if I allow WhatsApp to run in background, the process starts at boot, and fills RAM of NN%. Then if I open the app WhatsApp, RAM fills of another nn%. If I close the app (not the process), RAM stays filled of that nn% (almost). If I force close WhatsApp from Settings, it closes also the process, and I don't want this. I only want to close the app, and them empty RAM of the nn% added opening the app.

This happens also with apps that are not allowed to run in background, that continue working silently in Dalvik, even if closed

palikao ( 2016-06-04 18:18:22 +0300 )edit
1

I'm no expert regarding android, but isn't this done automatically via garbage collection after some time? At least I think I noted that after some time these background-processes use less memory than when the GUI is running

till ( 2016-06-04 19:34:49 +0300 )edit

you can't just close application without closing process

coderus ( 2016-06-04 21:04:57 +0300 )edit
1

@coderus please, read what I've written about NN% and nn%.. Seems that when starting, Android apps unlink process from app, and infact, for example WhatsApp starts the process, and if you open the app, it increases the amount of RAM occupied.

palikao ( 2016-06-04 21:12:32 +0300 )edit

so maybe close app, stop processes, clear memory, if it gets hung up anywhere automatically force stop process.

DarkTuring ( 2016-11-30 21:23:25 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2016-06-04 18:00:46 +0300

Seen: 614 times

Last updated: Jun 04 '16