How to keep app permanently alive in the background - Android Q&A, Help & Troubleshooting

I am using Skype often. And I want it to be always on in the background as it makes it easier for my family abroad to communicate with me. However either android itself or my wife keeps shutting it down (don't blame her she is not very experienced user).
Is there any app or simple way to keep Skype on all the time, that even if it is shut down manually by user or task manager or android itself I want it to keep restarting itself.
I used search but I found only thousands of topics were people trying to prevent apps from running all the time in background, I want this one to do that! I will be grateful for any help. I want it to keep running on HTC Flyer.

Anyone?
Sent from my HTC Sensation XE with Beats Audio using XDA

If an app has an icon in the notification bar (which skype does), android process manager wouldn't kill it. That's why apps like tasker and 3G watchdog has an icon in the notification bar. Therefore, your wife must be using some sort of task manager to kill background processes. The solution will depend on the task manager she is using. Some task killers allow you to "white list" certain apps.

Apps can shut down even if they put icons in the notification bar, if you are annoyed by this problem you know that.
What we need are an app that can monitor and restart selected apps if they aren't running.

If an app has an icon in the notification bar (which skype does), android process manager wouldn't kill it. That's why apps like tasker and 3G watchdog has an icon in the notification bar. Therefore, your wife must be using some sort of task manager to kill background processes. The solution will depend on the task manager she is using. Some task killers allow you to "white list" certain apps.
Click to expand...
Click to collapse
There is task killer included in stock ROM but whether she is killing it or whether it's system I still need something (method or app) to restart it immediately after that happens.
Sent from my HTC Sensation XE with Beats Audio using XDA

This is what I want to do too, I want to keep skype on all the time, but I noticed that randomly it would be killed!!!

Are you rooted? Try uninstalling all task managers and using ES task manager with white list, and perhaps run the V6 Supercharger memory script to manage memory better, he also has a section on getting apps to run at -16 system level permissions (never be killed by system)

Thing O Doom said:
Are you rooted? Try uninstalling all task managers and using ES task manager with white list, and perhaps run the V6 Supercharger memory script to manage memory better, he also has a section on getting apps to run at -16 system level permissions (never be killed by system)
Click to expand...
Click to collapse
I did not rooted my flyer but I won't mind doing that if that will help. I will try your advice and let you know what results did I achieved.
Sent from my HTC Sensation XE with Beats Audio using XDA

auto memory manager has an option to keep apps alive, but it needs root too.

+1 for auto memory manager I ise it too since my rom had this nasty habit to kill music while it was playing. So I use this little app and it works great.I even go more ram by tweaking the settings
Sent from my Optimus Me using xda premium

I read your first post again - it must be android killing your skype. Cause to close skype u need to logout and i think that its hard too logout accidenatlly (its not only pushing "back" button.
And i dont think that there is an app which can restart manually closed app (maybe script and an auto script launcher??)
Sent using r800i with DoomKernel v14 (1.21ghz)

I tried Auto Memory.
It does give you the possibility to keep alive any process (and app), but the effect disappears eventually, like minutes after.
Keeping alive Auto Memory as well doesn't help :/

Did you apply keep alive in app process list?
Sent from my LG-P350 using xda premium

leyus said:
I am using Skype often. And I want it to be always on in the background as it makes it easier for my family abroad to communicate with me. However either android itself or my wife keeps shutting it down (don't blame her she is not very experienced user).
Is there any app or simple way to keep Skype on all the time, that even if it is shut down manually by user or task manager or android itself I want it to keep restarting itself.
I used search but I found only thousands of topics were people trying to prevent apps from running all the time in background, I want this one to do that! I will be grateful for any help. I want it to keep running on HTC Flyer.
Click to expand...
Click to collapse
Have you find the solution.On my Z2 it kills messenger,whatsapp,facebook,every app which runs in the background.When i unlock it,it takes 10-20 sec to connect to messenger,or i just need to restart it,and it refresh my messages faster.

leyus said:
I am using Skype often. And I want it to be always on in the background as it makes it easier for my family abroad to communicate with me. However either android itself or my wife keeps shutting it down (don't blame her she is not very experienced user).
Is there any app or simple way to keep Skype on all the time, that even if it is shut down manually by user or task manager or android itself I want it to keep restarting itself.
I used search but I found only thousands of topics were people trying to prevent apps from running all the time in background, I want this one to do that! I will be grateful for any help. I want it to keep running on HTC Flyer.
Click to expand...
Click to collapse
use tasker.apk
hope it helps..

I am using Lenovo VIBE k5 anf i am unable to receive notifications from hike until I open the app and keep iy in background

Related

[Q] There are Apps in the background

Dear Friends!
Glad to be here today (after 2 days! )
My dear Streaker is here!!
As the norm is, I have been busy tinkering with the stock material for couple o days, and I will continue to do so for some more time!
___________________________________________________________
Query: There are too many apps running (background) all the time!! I kill them, they resurrect!, How to do away with that?
Solution applied: Used Advanced task killer (but, apps resurrect!)
Another Solution tried: In Settings>Account & Sync settings> Unchecked Background data and Auto sync options. (Now, they dont connect to the net, but, they still restart!!)
Another Solution: Force close (from Manage apps) .. (Still same issue!)
Now, How can I tell the apps to come up only when I call them!?
(And some other apps I want to schedule them to come up every hour or so.. like my Gmail/FB)
____________________________________________________________
And, So far has been amazing experience!!
The screen is football field sized!! (Monster! yikes Scooby!)
Digging up all old posts to read some problems faced by new users..
Current hobby: Market and apps.
Future hobby: Roms and Flash!
Thank you all for your help!
care,
Sony.
Welcome to the cool kids club! I'm in a somewhat similar situation, I got my streak just before the massive snowstorm hit. Some of those apps need to be running... if you close some of them you may not get updates/notifications, or you can shut down your phone/data connection, or lose the use of multitouch.
Sent from my Dell Streak using XDA App
from what i understand, froyo is really good with resource management and there is no need to constantly kill processes or apps, its best to just leave them unless your streak is slow like a snail
Telal said:
Welcome to the cool kids club! I'm in a somewhat similar situation, I got my streak just before the massive snowstorm hit. Some of those apps need to be running... if you close some of them you may not get updates/notifications, or you can shut down your phone/data connection, or lose the use of multitouch.
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
Lose multi touch!
How?
@rptw
So, It wouldnt really matter if there are apps running in the BG, and they start by themselves too!?
care,
Sony.
well in terms of the laws of nature (in most cases) stuff doesnt happen spontaneously so i think its safe to assume that your app that "started by themselves" were probably opened somehow either by you directly or indirectly by something else. if, however, you have a large number of apps that have started that you dont recall opening, maybe something is wrong with your software and you shouldnt try to cover the problem with a task killer.
So, what next!?
rptw said:
well in terms of the laws of nature (in most cases) stuff doesnt happen spontaneously so i think its safe to assume that your app that "started by themselves" were probably opened somehow either by you directly or indirectly by something else. if, however, you have a large number of apps that have started that you dont recall opening, maybe something is wrong with your software and you shouldnt try to cover the problem with a task killer.
Click to expand...
Click to collapse
So, Now, can you or other guys here please suggest how to go to the "root" of this problem!?
Ok.
Look, these apps are open right now!
Voice Search
Email
Messaging
Maps
Astro
Assistant free​
I use the Adv Task Killer free.
(It says 7 apps killed and 180 MB free)
I open Adv task killer after 5 seconds.
and these apps are running!
Email
astro
Voice Search
Assistant Free​
and I am sure, If I wait for some more time, the other apps will join in too!
(Now it says, 3 Apps killed, 171 MB free!!)
care,
Sony.
have you tried using the stock app manager and killing the apps there? i just checked my phone and i have the same apps under the running tab using the stock manager, i think email and messaging are always running since you have push features on them, in terms of the others im not sure. whats so bad about email and messaging running anyways? im sure you use them often enough to not want to have to open and close them right?
Hey, you posted the same question over at Pocketables forum.
As stated earlier, 2.2 is really good at managing back ground tasks.
I can tell you if you use a task killer and you have a problem with an APP, which currently you do not, the programmer for the app probably will not help you till you remove the APP killer program.
What you might try to do is run though your menus and see what you have selected to run, such as locations and sync services and disable what you can. Also if you do not want some thing running, you may want to just uninstall it. I do understand that you want some programs but you only want them to run when you ask, not sure how to tell you to handle that.
But, are you seeing any difference when you have the background tasks disabled. Try to find the APK for the programs and rename them just to see if you have any issues.

[Q] Mutiple Apps Opening On Their Own

When I open some Apps, 10 other Apps open along with it. Is rooting the phone the only way to have access to the means to stop this?
Thanks,
-Adam
Don't pay so much attention. In general, those applications don't use your cpu and battery. Android has its own task manager system.
Yeah dis is even happening to me,the reason is so simple like one app needs the other apps so they are even opening up.
Devil_Dude said:
Yeah dis is even happening to me,the reason is so simple like one app needs the other apps so they are even opening up.
Click to expand...
Click to collapse
what the appl you using which is opening others appl can u name the apps
if you kill apps, they will probably get restarted automatically and left in the background. If the apps are working correctly, this is not a problem, as a well coded app does not use CPU/battery when in the background.
Actually, I just quit using a task manager to kill tasks (I just let Android kill them as necessary) and I have no problems (phone is not slower, power drain is not higher).
Maybe the thing is that after you stop a task in a task manager it does not update immediately and you don't see the task being restarted, and when you go into the task manager after running some app just then you see the apps restarted.
Also, some apps are very generic (maps) and used by other apps, and some apps need to be running all the time (latitude, mail client, widgets, etc.) and killing them would make them not work properly (widgets no longer updating, not getting new emails, etc.).
My advice is to leave the apps running if you are not very sure of what you are doing, because the OS will eventually kill unnecessary apps, and until then they should not use any CPU or battery.
Only thing is to stay away from badly written apps, the ones that use too much CPU even when in the background or when phone is sleeping. You should probably wait for a night after installing a new app to see if you have higher drain. If so, just uninstall and search for an alternative.
shhbz said:
what the appl you using which is opening others appl can u name the apps
Click to expand...
Click to collapse
Like any Google app by searching is opening. Google search and by using voice search its opening voice search app and so on.
Sent from my LG-P500 using XDA App

Closing applications

Seems like many applications spring back up after "killing" them though the Android task manager or any of the task managers available in market. Is annoying the hell out of me. If im not using the app I dont want it to.run in the background..
I understand that messaging applications need to run in background but not all.
How do you guys make sure
that any application which you close "remains" closed until the next time you open it?
Thank me if I helped you..
~n0tr1x on t989~
You might try Gemini app manager to disable auto start apps
Sent from MARVEL using Tapatalk 2 Beta-4
Easy Task Killer can help too..
use Easy Battery Saver too along with it!
Thanks.for your replies guys. However.i believe the main question here is,.how.to.stop these background app processes from running until the next time I start them manually.
Problem with task managers is that they stop these apps after a certain interval. Once they do, the.apps restart after 2-5 seconds. And.remain there till the next interval of the task killer is reached. This in turn take up more memory a compared to keep the running.. In addition, these apps run in the background on their own taking up a junk of memory/processor space..
Thanks again for your replies. Please correct me.if my understanding is wrong and you are feel otherwise.
Thank me if I helped you..
~n0tr1x on t989~
Those "apps" that you say keep opening are actually the processes running in the background. I know of many apps that keep re-enabling their processes after killing them. (IE: Facebook, some Google stuff, and a couple games that run in real-time)
Best solution: try to go into the app's settings and see if there is an option to disable anything that would require a background service to run, IE: sync, updates... If not, then just stop killing that app. Ignore it in the list or set a task killer to ignore it. If the app keeps re-opening, you killing it all the time is only doing bad because it puts more stress on the operating system because it has to take the time to reinitialize the app/service. If you are really that anal about background running apps, set android to limit a lower amount of background apps to run.
Like asdot suggested above use Gemini App Manager to disable the apps autostart permissions. If an app is set to automatically start after a certain intent is broadcast by the system (ie, at boot, or at a change in connectivity, etc.) you can use Gemini to stop that app from automatically starting. You can stop an app from automatically running in the first place instead if trying to kill it after it has started.

[Q] Back Back Back until app closes?

Am I being paranoid or is my phone getting slower and slower :S I get tired of closing apps in the 'Running Services' tab. Is there a way to completely close an app? I got in the habit of hitting back until I return back to the homescreen but that doesn't work on all apps such as Facebook.
No thats the propper way..
If an app doesnt stop after hitting the back button it wont do this anyway
you have to kill it on task manager
apps like facebook wont close doen because they own notifications and live messaging
jiffer1991 said:
No thats the propper way..
If an app doesnt stop after hitting the back button it wont do this anyway
you have to kill it on task manager
apps like facebook wont close doen because they own notifications and live messaging
Click to expand...
Click to collapse
Task Manager? Where is that? I have an Xperia Play
There is a way ... If you use CM go to settings --> applications --> development and stop app via long press
Sent from my WT19i using XDA
Hi
Android are supposed to keep apps 'cached' in the background - having them ready should you need them once again.
One way to 'kill' apps, to free memory is to install a 'task manager' og 'task killer' (search one of these phrases in play).
They are designed to kill a list of apps with a single touch...however Google doesn't recommend this way, as they claims it might leave the system in an unstable state.
As i can't post links, you can 'google' this: 'task-killers-answer-google-developers'
You might have a rogue app or memory leaks, or your VM values are bad for your device. Are you running out of RAM? Is your CPU usage maxing out? Are you using swap or compcache? What are your VM/sysctrl values? All these things and much more can destroy a ROM.
I find that many custom ROM's have a habit of using stupid VM values. Try getting RAM Manager from Play Store and using the "Balance" preset, it works great. I also highly suggest "SystemPanel App" from Play Store (costs $3), it has an awesome Monitoring function to record a history of how all your apps, services and processes are using the CPU. That is, if the CPU is maxing out... get a CPU Usage Monitor to find that out.
EDIT: If you are using an sd-ext partition, it can also kill performance. Especially if you move dalvik-cache to sd.
GetPatriotized said:
Task Manager? Where is that? I have an Xperia Play
Click to expand...
Click to collapse
ehm i got a samsung so if i long press the home button it appears if u dont have a taskmanager built in ur rom hjust download task killer from the playstore

[Q] How to close an app and make it stay closed

I've tried doing a lot of personal research before asking. I have watchdog and betterbatterystats. I found 2 apps chewing away at my battery. After using the app I always press back and then it pops up do you really want to exit and I select yes. However, I look at the processes and I will see it running in the background. Using stuff like advanced task killer (and a bunch of other killer apps) doesn't help, as soon as it kills it, the thing just spawns again. I had to force close it or sometimes reboot the phone. Is there any app that locks down these apps so it only allows process to run when the app is in the foreground and as soon as we leave it closes all aspect of that app? (I can't uninstall those 2 apps cause they are kinda essential; but by no means does it require any background process or need to be constantly running). So far it only runs in the background if I opened the app once, but if it starts to auto run I'm screwed.
Is there any app like the cydia backgrounder where I can set a whitelist or a blacklist that only lets the app run in the foreground and as soon as I press home it will stop all its process.
Autostarts in the market. It let's you see what apps start up under what conditions. I would assume you can just doable all conditions the apps can start up from and it would do as you describe.
Sent from my GT-I9300 using Tapatalk 2
joshnichols189 said:
Autostarts in the market. It let's you see what apps start up under what conditions. I would assume you can just doable all conditions the apps can start up from and it would do as you describe.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I have autostart doesn't work, ok I give you an example:
Groupon app. If you don't load it after a reboot it doesn't run, however as soon as you opened the app once. Theres like no way to close it.
Come-on... one of you guys must know how to close an app and prevent it from loading up after I leave the app. Isn't there anything like cydia backgrounder that I can set so apps are only allowed to load in the foreground and closes as soon as go back to the launcher???
Solution
The best solution to this is to install titanium backup. After that, create a widget in ur homescreen and select titanium backup widget (action). Then, select the action freeze/defrost/launch and after select the app ex. Facebook and create the widget. After, you will notice that the widget for the Facebook app has created to ur homescreen with a green locker. If u press on it, it will lock the app (freezed it actually) so it doesnt run. if you want to run the app, tap again on it and automatically will defrost it and launch it.
Hit thanks if i helped you
jcheong said:
I've tried doing a lot of personal research before asking. I have watchdog and betterbatterystats. I found 2 apps chewing away at my battery. After using the app I always press back and then it pops up do you really want to exit and I select yes. However, I look at the processes and I will see it running in the background. Using stuff like advanced task killer (and a bunch of other killer apps) doesn't help, as soon as it kills it, the thing just spawns again. I had to force close it or sometimes reboot the phone. Is there any app that locks down these apps so it only allows process to run when the app is in the foreground and as soon as we leave it closes all aspect of that app? (I can't uninstall those 2 apps cause they are kinda essential; but by no means does it require any background process or need to be constantly running). So far it only runs in the background if I opened the app once, but if it starts to auto run I'm screwed.
Is there any app like the cydia backgrounder where I can set a whitelist or a blacklist that only lets the app run in the foreground and as soon as I press home it will stop all its process.
Click to expand...
Click to collapse
I just want to add some info for a better understanding even if I understand what you meant.
1. A package showing in the process list after you chose "exit" is a sign for a service running. This is not necessary bad as there are many services doing nothing but waiting for events to process (of course some service do stuff in the background and it is good to look after those).
2. In Android there is no such concept as an app, there are activities (dialogs), and services and both have pretty complex life cycles (not just opened or closed) as you can see here
But back to your question: the right way to get rid of apps you don't want/need (also called bloatware in some cases) is to freeze them. One good tool for doing that is titanium backup.
chamonix said:
I just want to add some info for a better understanding even if I understand what you meant.
1. A package showing in the process list after you chose "exit" is a sign for a service running. This is not necessary bad as there are many services doing nothing but waiting for events to process (of course some service do stuff in the background and it is good to look after those).
2. In Android there is no such concept as an app, there are activities (dialogs), and services and both have pretty complex life cycles (not just opened or closed) as you can see here
But back to your question: the right way to get rid of apps you don't want/need (also called bloatware in some cases) is to freeze them. One good tool for doing that is titanium backup.
Click to expand...
Click to collapse
I understand the point of apps that show up and are 0% cpu usage like facebook etc. I was only using it as an example. There are plenty of other apps that do infact chew up cpu and battery after it is loaded for the first time and is unable to close the background processes (they are shown in the watchdog and betterbatterystats). So the only way is to freeze and unfreeze everytime I use these apps?

Categories

Resources