1. Download our Official Android App: Forums for Android!

Support How to stop things from always running?

Discussion in 'Android Devices' started by LynsM, Mar 15, 2011.

  1. LynsM

    LynsM Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Mar 15, 2011

    Mar 15, 2011
    2
    0
    5
    I am new to the dried and it seems after using anything it continues to run. I have to go in and force stop it. The browser my pics things like that. How do I stop these from running after im done with them?
     

    Advertisement

  2. ardchoille

    ardchoille Android Expert
    Rank:
    None
    Points:
    333
    Posts:
    3,684
    Joined:
    Mar 8, 2011

    Mar 8, 2011
    3,684
    1,940
    333
    Male
    Ordained Minister
    Seattle
    Manually killing tasks is bad for the system, Android does a good job of managing things if you let it do so. Please read this article to understand how the system works. Also, consider these points:


    • 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.

    When you're done with a task, simply tap the back button on the phone. The best practice is to let the system manage itself, it really does a good job.
     
  3. Goodspike

    Goodspike Android Expert
    Rank:
    None
    Points:
    143
    Posts:
    1,144
    Joined:
    Dec 28, 2010

    Dec 28, 2010
    1,144
    143
    143
    Male
    Seattle
    I agree with Ardchoile above, however, I will note that you can shut down Global Unplug without it restarting. That's the program that tells you to unplug from the charger or to unplug the charger. It misbehaves on my wife's D2G and never starts back up again once terminated. That seems to be the exception rather than the rule.
     
  4. LynsM

    LynsM Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Mar 15, 2011

    Mar 15, 2011
    2
    0
    5
    Ok Thx. I have been trying to do things to keep my battery from draining. Its just frustrating the apps that I don't use are stuck on here. Oh well I do love this phone.
     
  5. quickaudi

    quickaudi Android Expert
    Rank:
    None
    Points:
    273
    Posts:
    3,100
    Joined:
    Jul 15, 2010

    Jul 15, 2010
    3,100
    415
    273
    TN
    for apps that you don't use, try rooting and freezing them
     
  6. pool_shark

    pool_shark Android Expert
    Rank:
     #70
    Points:
    343
    Posts:
    2,519
    Joined:
    Aug 21, 2010

    Aug 21, 2010
    2,519
    578
    343
    Male
    Infrastructure Engineer
    Ohio
    I have never had an app close by hitting the back button.
     
  7. sendi_t34

    sendi_t34 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 16, 2011

    Aug 16, 2011
    1
    0
    5
    What you have said may be correct, but there are rough applications.
    that might use up your data connection while running in background
    for e.g.
    1. Google Maps, you can't control the updates and it is always running.
    2. yahoo messenger (you already know prob.)
    3. google plus always running and many more

    To your point where you mentioned, "Android is hard coded to automatically kill a task when it
     
  8. quickaudi

    quickaudi Android Expert
    Rank:
    None
    Points:
    273
    Posts:
    3,100
    Joined:
    Jul 15, 2010

    Jul 15, 2010
    3,100
    415
    273
    TN
    uh, since I have unlimited data, I doubt I'd realize any increased data usage...
     
  9. RJT185

    RJT185 Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    550
    Joined:
    Aug 21, 2010

    Aug 21, 2010
    550
    51
    78
    Pittsburgh, PA
    Some of the new ROMS have a new feature that you can ForceClose the foreground app by long-pressing the back button.
     

Share This Page

Loading...