Always Keep Application Running - Galaxy Tab Q&A, Help & Troubleshooting

Friends,
I would like to figure out how to keep an application always running in the background, regardless of the memory situation on the device. The application I never want to close in the background is the Terminal Emulator (the Linux command prompt).
Does anyone have any thoughts on how to keep an application from closing in the background? Thank you!

mail_e60 said:
Friends,
I would like to figure out how to keep an application always running in the background, regardless of the memory situation on the device. The application I never want to close in the background is the Terminal Emulator (the Linux command prompt).
Does anyone have any thoughts on how to keep an application from closing in the background? Thank you!
Click to expand...
Click to collapse
Just dont close the app with the backbutton. Just leave the app as it is. It will always be running in the background. By holding the 'home-button' you can quicly acces the terminal again. The taskmanager will pop-up

Unfortunately not closing the app only works in the short term, meaning that once memory usage gets high enough Android will start closing background tasks on its on. This is what I would like to avoid.
For background information, I do have root on by Tab.
Heppieboeddah said:
Just dont close the app with the backbutton. Just leave the app as it is. It will always be running in the background. By holding the 'home-button' you can quicly acces the terminal again. The taskmanager will pop-up
Click to expand...
Click to collapse

What do you want to keep running? Give a hint please

The application I would like to keep running in the background at all times is the Terminal Emulator (the paid version which is called Better Terminal Emulator).
Any thoughts are welcome.

UPDATE
This has been addressed in the latest version of Better Terminal Emulator... this app now runs as a service, and does not quit unless you specifically ask it to quit, making the Tab most like a true linux box. This is wonderful news!

Not to take over this thread, but how do you STOP from some applications from running in the background.
I always have ebook and google maps running in the background and cant stop them from running in the background.
any help?

Push and hold the home button, then choose task manager, then on the running applications tab, tap exit all.
There are apps in the market, called task killers, that close a program when you exit it. The upside is free memory, the downside is it eats some battery time (i don't know why).
It's ok to start a new thread, especially if your question is away from the title. Your question would have been a perfect new thread.

Hi guys, did someone find a solution for this? I have a linux loopfile running on my device, but I can't keep my session (on linux) open because android closes terminal emulator each time I open vnc for acces my linux.
Please if anyone find a solution mp me.
(excuse my english, I'm argentinian)

FIXED
mail_e60 said:
Friends,
I would like to figure out how to keep an application always running in the background, regardless of the memory situation on the device. The application I never want to close in the background is the Terminal Emulator (the Linux command prompt).
Does anyone have any thoughts on how to keep an application from closing in the background? Thank you!
Click to expand...
Click to collapse
If you install Xposed installer (you must root your phone)
then in xposed go to download and search for app settings and install it go to modules and enable it then reboot once booted go to the app settings app
and search for the app and turn the setting switch on and enable (Stay resident in memory) and force show in recants max notification priority and force ongoing notifications

Add this to your build.prop sys.keep_app_1=(app package name here)

Related

Apps That Run In Background

I have tons of apps, but none should be running in background except a few,
Right now Bar control and Sim checker should be only ones running in background. But yet the phone is acting so slow, So I wonder if there's more apps running in background I cant see or something that slowing down the phone
So can someone post the name of any app that can see EVERY SINGLE thing running in background but easily enough someone noob as me at this phone can understand, I had one but was all codes and I could not make heads or tails, I just want to know whats running thats making it act so damn slow
second, does sim checker or bar control take up lot of cpu or memory? or anything? if they do, or does anyone know any other apps that take up a lot of resources from the system so I know to get rid of them or prevent me downloading them in the future
If you install Terminal Emulator you can run the linux command top to get a realtime list of running processes and their cpu usage.
Hi, I'm the dev of SIM Checker. Actually it just checks at boot if the sim card is the correct one, and if so it stops itself. So it's not using any cpu and the garbage collector will kill it when there's need of memory - if you want you can manually kill it.
Well thats good to hear...Sim checker is great app, ok so I did the command in the terminal but wont let me scroll up so I cant see everything
do it on the pc through adb shell
i just uninstalled
wertago phonebook and quickoffice.
they all ran in the background right from the startup which is gay. i would have kept them if they wouldn't restart them self after a reboot or after i close them trhough task manager
How do I run it from adb shell in my pc?
Also ya the advance task manager I have I close everything before I do anything else and the services have no apps running I downloaded so why is it so slow? is there something besides a service that can run in background from an app? even with that "top" command in terminal everything besides like 2 system things are 0% cpu..but does not show memory usage

Why isnt there a close option for apps?

Seems like only Blackberry closes apps when your done, WM and Android you always have to go and close them or you get lag and its a pain. On both Windows and linux if you "X" out the program you dont still have to bring up the task manager and close them again.
I dont know about symbian though, never used Nokia.
I was just wondering whats the purpose of it. Why does the OS do that? Whats the point?
The reasoning is so that you can run apps in the background.
if u want ur apps to close pay a buck for advanced task manager. u will thank me l8r
phatmanxxl said:
On both Windows and linux if you "X" out the program you dont still have to bring up the task manager and close them again.
Click to expand...
Click to collapse
Uh, no. Both Windows and Linux, if you close a window, it's up to the application to decide what to do. That's not a windows/linux problem; it's the people who made that application.
If you mean WM/Android, then yeah, you're correct. I'm not entirely sure on WM's reasoning, but this is the way Android is designed. It handles what applications will run in the background. When an app is in the background, it's there so if you want to open it up again quickly it'll load instantly.
90% of applications don't have problems running in the background. They don't slow the phone down, and they don't take up insane amounts of memory. Android was designed to phase applications out of mem that aren't used, as you open up new applications.

[mod-idea] adding a kill/quit button on the menu

Hey, I was wondering if it were at any way possible to add a quit or kill button to the menu popup that will end the currently loaded app? Maybe the devs can come up with a way to implement a global method that will work with any currently open app when you press the menu button?
I know they have the task killers and all that.. but I just thought it would be a neat modification while I was in browser and came across a situation where I had to restart the browser and couldn't figure out a way to kill it without having to download a task killer....I just seldom need to kill all apps is why I don't have advanced task killer installed anymore. ...
Each application's menu is within that application itself. It would have to be something in the pull-down menu, and that would only be visible if the application allows it.
A nice alternative might be to add a "kill top" to the long-press-home.
Although it really isn't too hard to go to home, open a terminal, and kill the problem application.
bobbybooshay said:
Hey, I was wondering if it were at any way possible to add a quit or kill button to the menu popup that will end the currently loaded app? Maybe the devs can come up with a way to implement a global method that will work with any currently open app when you press the menu button?
I know they have the task killers and all that.. but I just thought it would be a neat modification while I was in browser and came across a situation where I had to restart the browser and couldn't figure out a way to kill it without having to download a task killer....I just seldom need to kill all apps is why I don't have advanced task killer installed anymore. ...
Click to expand...
Click to collapse
Although closing apps is actually against the ethos of Android I tend to agree that, whilst we still attach ourselves to old paradigms, a close function would be nice. Perhaps a little x on the right hand side of the app's entry in the navigation list would be good. It could be implemented universally (using the same Android close app mechanisms as are used for low memory conditions) and would not require modifications to any apps.
In the meantime, you do realise you can close a single app from Settings | Applications | Manage Applications right?
bobbybooshay said:
...while I was in browser and came across a situation where I had to restart the browser...
Click to expand...
Click to collapse
Were you looking at porn?!
^haha you know it! Nah but actually I enabled that browser download any file type setting In astro which required a restart of the browser and I was feeling lazy when I thought it would be nice to have a close button.
And ya.I am aware of the manage applications deal in the built-in settings. But I was jus thinking it would be nice to be able to close it while I'm still I'm the actual app itself.
Nice to know it could be possible tho

[Q] Remove task manager

I have cognition 2.2 beta7. I have made every attempt to remove that stupid task manager, but it's hijacked the long press home option even after I removed it. Anyone know what I would do to get back to the normal long press home thing?
xelaboy said:
I have cognition 2.2 beta7. I have made every attempt to remove that stupid task manager, but it's hijacked the long press home option even after I removed it. Anyone know what I would do to get back to the normal long press home thing?
Click to expand...
Click to collapse
The long press home has always brought up a dialog for selecting recently run apps as a sort of short cut to multitasking even in the stock eclair rom shipped by samsung. The only difference in the froyo leak is that dialog now contains a link to enter a new front end app to the task manager.
I don't know how to remove that link - I'm guessing you will have to edit something in the framework somewhere. And by the way - you may have or be able to remove the front end user interface app to the android task manager but you can't remove the actual android task manager and still have the phone be operational.
The long press home thing in android isn't exactly a "Task Manager" in stock android. It functions as a way of accessing apps.
The front end app, has hijacked that screen by adding it's button to it.
I was able to delete the app, but now I am stuck a task switcher screen that has a broken task manager link on it. (which if clicked happens to lock up the entire device.)
I'm sure I'd have to get down and dirty somewhere, but I just don't know where.
xelaboy said:
The long press home thing in android isn't exactly a "Task Manager" in stock android. It functions as a way of accessing apps.
The front end app, has hijacked that screen by adding it's button to it.
I was able to delete the app, but now I am stuck a task switcher screen that has a broken task manager link on it. (which if clicked happens to lock up the entire device.)
I'm sure I'd have to get down and dirty somewhere, but I just don't know where.
Click to expand...
Click to collapse
That dialogue was not hijacked by anything - the link was intentionally encoded by someone from samsung to be in the dialogue in froyo 2.2
Ugh. Why would they do that to us?
That link below is why I think it's stupid. (I'm not sure if I'm allowed to post links yet but I'll try anyway.)
http://androinica.com/2010/05/07/go...-imply-task-killermanager-apps-are-pointless/
xelaboy said:
Ugh. Why would they do that to us?
That link below is why I think it's stupid. (I'm not sure if I'm allowed to post links yet but I'll try anyway.)
http://androinica.com/2010/05/07/go...-imply-task-killermanager-apps-are-pointless/
Click to expand...
Click to collapse
Yes. While task managers have value in allowing someone to watch their phone learn what is going on with their and give them some knowledge and a tool for trouble shooting, far too many people are using them as a system resource management tool, killing processes and apps without really knowing what they are doing or that it is completely unnecessary. Often people are even doing more harm then good as they are going way too far in their zest to kill that they are keeping their phone from operating properly.
I think that is what samsung is probably attempting to accomplish with this limited front end app to the task manager that is being included in their froyo builds - trying to give people a tool to satisfy some of there (way over the top) task killing mania while keeping people safe from getting to deep in there task killing and causing problems.
Hopefully more and more people will start getting the message - quit all the arbitrary unneeded task killing - use your task manager keep tabs on your phone and to catch any problem apps that you may of installed - and leave the resource task managing to the actual built in OS task manager as it really does do a good job - so long as you don't have some poorly coded resource hog software installed.

[Q] Opinion: Task Manager or No Task Manager?

Hey Folks,
Just wanted to hear some opinions on whether having a task manger is worth it. I've heard from both sides of the camp, stating newer versions of android can handle the load fine, and that more and more apps are running unnecessary background services.
I just did a clean wipe and reload of CM7 and I'm wondering whether I want my advanced task manager anymore.
Thoughts?
For me, I prefer no task killer. If I must close apps I go into running services and stop them that way. Usually they stop without me doing that.
I don't use one, not needed.
i never ever felt the need of having a task killer on my Inc S
the apps close by themselves when not in use.
v6 supercharger
just use v6 supercharger it is better than all the taskillers you may find.
I don't use one. I'm running CM7 and as Saenzscene said, I stop programs in the running services menu. However I never really had the need to do it as RAM was never a problem.
But I have noticed while running certain programs that if you press the "home" button, the program may keep running in the background afterwards. Whereas if you press the "back" button it will close the program's running service. Can anyone confirm this?
Never had the need for a TaskManager with CM7 or ARHD.
/ Jess Kölner /
/ Sent from my phone /
if you're using a task manager or task killer since froyo, urdoinitwrong
I'm using advanced task killer simply to kill anything that may not be shut down even tho I mean to.
As someone said above, it's possible that some alps stay open and keep your phone awake. I have a large ignore list which I use to ensure nothing important gets closed down, only the rogue apps, now my phone never stays awake when it shouldn't.
Sent from my Incredible S using xda premium
No Task Manager. Using CM7 nightly 103.
System92 said:
I don't use one. I'm running CM7 and as Saenzscene said, I stop programs in the running services menu. However I never really had the need to do it as RAM was never a problem.
But I have noticed while running certain programs that if you press the "home" button, the program may keep running in the background afterwards. Whereas if you press the "back" button it will close the program's running service. Can anyone confirm this?
Click to expand...
Click to collapse
Yes, some apps like to run as a service process if you quit the app. FriendCaster is one example. I think they do this to handle sync process in the background.
I don't need anyone!
My choice is no task manager, android is good.

Categories

Resources