Linux, Open Source, Web, Engineering, Technology


January 11, 2011

Why you should not be using a task-killer with Android


By default, every application runs in its own Linux process. Android starts the process when any of the application’s code needs to be executed, and shuts down the process when it’s no longer needed and system resources are required by other applications.

  • Android is hard coded to automatically kill a task when more memory is needed.
  • Android is hard coded to automatically kill a task when it’s done doing what it needs to do.
  • Android is hard coded to automatically kill a task when you haven’t returned to it in a long time.
  • Most services (while possibly running in the background) use very little memory when not actively doing something.
  • A content provider is only doing something when there is a notification for it to give. Otherwise it uses very little memory.
  • Killing a process when it isn’t ready only causes it to have to reload itself and start from scratch when it’s needed again.
  • Because a task is likely running in the background for a reason, killing it will only cause it to re-spawn as soon as the activity that was using it looks for it again. And it will just have to start over again.
  • Killing certain processes can have undesirable side effects. Not receiving text messages, alarms not going off, and force closes just to name a few.
  • The only true way to prevent something from running at all on your phone would be to uninstall the .apk.
  • Most applications will exit themselves if you get out of it by hitting “back” until it closes rather than hitting the “home” button. But even with hitting home, Android will eventually kill it once it’s been in the background for a while.


via FAQ: Why You Shouldn’t Be Using a Task Killer with Android.

Posted by acuervo. Filed under Android, Google, Linux.

Tags: , .



One Response to “Why you should not be using a task-killer with Android”

  1. @brinda_j Says:

    MockupTiger is a good html5 wireframe, you can host it on your domain, desktop, switch between hand drawn look, change fonts and prototype dashboard mockups with data

Trackback URI | Comments RSS

Leave a Reply


"The opposite of love is not hate, it's indifference.
The opposite of art is not ugliness, it's indifference.
The opposite of faith is not heresy, it's indifference.
And the opposite of life is not death, it's indifference."

Elie Wiesel
4303 grains of sand from alejandro cuervo