Can someone tell me why android doesn't close apps? - myTouch 3G, Magic Android Development

honestly i find this really annoying, especially to the average person tha doesn't think to go download a task manager and kill everything after doing anything on the phone so your battery lasts more than 6 hours.
here's a simple logic i'd like to use.
if you use the "back" button to exit an application, kill it.
if you use the "home" button to leave an application, don't kill it until you go back to it and use "back" to exit. or kill it with a task manager.
like why hasn't someone implemented this? close or minimize its as simple as that people. i really hope the android developers listen to me on this one.
im sure nobody would be happy if microsoft came out with an update that disabled the X and you could only minimize applications or kill them with the task manager. come on. thats why i'm not totally satisfied with android yet.

Chillaxed said:
honestly i find this really annoying, especially to the average person tha doesn't think to go download a task manager and kill everything after doing anything on the phone so your battery lasts more than 6 hours.
here's a simple logic i'd like to use.
if you use the "back" button to exit an application, kill it.
if you use the "home" button to leave an application, don't kill it until you go back to it and use "back" to exit. or kill it with a task manager.
like why hasn't someone implemented this? close or minimize its as simple as that people. i really hope the android developers listen to me on this one.
im sure nobody would be happy if microsoft came out with an update that disabled the X and you could only minimize applications or kill them with the task manager. come on. thats why i'm not totally satisfied with android yet.
Click to expand...
Click to collapse
How else would you have multi-tasking? Most of the stuff I use, I would rather it not close just because I had to check my calendar, or reply to a text.

just hit the home button to minimize it. hit back to close it. select the app again after minimizing it to open it again. simple. or if you're worried about having to go find the app again, just have the app minimize to the notification area. but personally, i'd just close everything and go back to it

.
that is a good idea should shoot google an e-mail. but its be diffrent from phone to phone as not all are the same(while most do have a home button)

I like what Dolphin Browser does, how if you hold back (as opposed to just clicking it) you close the application. I think that would work great if implemented universally.

well then could someone create an app that for all applications, holding back will actually kill the app?

chrys9989 said:
How else would you have multi-tasking? Most of the stuff I use, I would rather it not close just because I had to check my calendar, or reply to a text.
Click to expand...
Click to collapse
Being able to multitask has nothing to do with having the ability to close the application I don't need running anymore.

how abt remapping that search button that i rarely ever use to close an application. that sounds more plausible, then we can leave the back and home button the way they are (sometimes, u just want to go back, not close an app)

Chillaxed said:
well then could someone create an app that for all applications, holding back will actually kill the app?
Click to expand...
Click to collapse
Dude, no one has to write an application for that. There are a lot of applications in the Market that can KILL running apps on your phone. A few examples:
- Free Advanced Task Manager (also has a Widget that requires a single press to end running/useless apps)
- Task Manager
- Advanced Task Killer Free
- Automatic Task Killer
...and MANY MANY MANY MANY MORE! It will take a day to review them all and find the one you like the best. That MANY!
And what you really wanted to say is that the developers SHOULD implement an EXIT function in the application (some have it). If the user doesn't want for the application to run anymore, will use the EXIT function! Simple as that
If someone doesn't like multi-tasking, can always get one of those EXTREMELY EXPENSIVE AND USELESS iPhones

like i said, it'd be really annoying to have no X button on the top right of every window, and the only way to exit something would be to open the task manager. and potentially kill something that's keeping track of something.
i am aware of all the apps. its just really annoying. every time i do something i go and find the task bar and kill everything.
by the way when i said back should close the app, i meant the back button still acts as the back button until it goes back to the desktop. then when it goes back to the desktop it closes it.

i like this, cuz normally the apps that i dont need anymore stay open and overtime make my phone slow and drains my battery, and i hate using taskiller cuz im using sense ui and taskiller kills everything meaning that i have to reboot the sense ui which takes a minute or two and itz annoying to go to taskiller and kill the apps one by one...

01jayss said:
i like this, cuz normally the apps that i dont need anymore stay open and overtime make my phone slow and drains my battery, and i hate using taskiller cuz im using sense ui and taskiller kills everything meaning that i have to reboot the sense ui which takes a minute or two and itz annoying to go to taskiller and kill the apps one by one...
Click to expand...
Click to collapse
you need to set your exceptions in your task manager

On Android, when you use back or home to exit an application that application goes to "sleep" mode. That means it doesn't use processor and/or battery power.
There are a few exeptions of course, the calendar, mail, alarm clock, music (if you listen to music). These have to run in the backround to function correctly. If you kill the alarm application then your alarm won't go in the morning, etc...

Related

[APP] [UPDATED] KeepAwake v1.1 - make apps prevent standby

Here is an application to make specific programs(like ebook reader,SatNav etc) prevent standby when they are running. It will watch them even when they are in background, so be careful, if you just forget them running in the background, your phone will not go into standby. (v1.1 change: now you can disable background watch by checking "monitor active window only")
Installation:
1- Just install the latest cab file onto Device Memory and NOT Storage Memory.
2- You need .NETCF 3.5, if you don't have it, install it.
Usage:
1- If you will use background watching, find the executable name from Task Manager/Processes, drop .exe part, type it into textbox and click add. (AdobeReaderLE.exe -> AdobeReaderLE)
1a- If you want to watch only the active window (so that your battery doesn't drain if you minimize the whitelist app) Find the window title of the application (Either task manager/applications or just look at the title if it is not hidden) and insert it as above. (Adobe Reader LE this time) you can have both versions live together. There is one limitation to active application watching though, if the application doesn't report a window title in task manager, you can only background watch it. (e.g. htcreader)
2- if you want to remove a certain app, select its name and click remove button.
3- if you want to have KeepAwake open but still not active (to force into standby) click stop.
4- this app autostarts with each boot, if you don't like it, delete the shortcut under \Windows\Startup\KeepAwake.lnk
5- this app starts minimized. if you want to configure settings, select the icon one more time or switch to it using a task manager.
6- if you click quit, obviously the software quits and no more monitoring is done, so click X after configuring if you want it to monitor your apps.
7- if you want to turn off screen and lock keys (for listening to music maybe) you can click the lock button. If your app is running, the phone will still stay awake.
Tips:
1- You can map KeepAwake to a hardware button for easy access and screen locking.
Credits:
Thanks goes to Frank T. van de Ven for ProcessCE library.
Thanks a lot to DaveShaw for letting me use xdaShutdown application.
I'm pretty excited about this... I've been looking for something exactly like this to prevent specific standby times.
I hope it works with most of the applications I have in mind.
Any bugs? Would you guys find it useful to have a lock button so that it turns off the screen and locks keys but still keeps the device awake? I have implemented this for the latest version I'm using (to have my GPS logger going but preventing accidental touch on screen and keys.) Or is it better to keep it simple?
Will this also prevent Windows MSN not to idle which will cause lost connection too?
Sorry, I'm new to the WinMo scene, just saw this on Pocketnews. Let me get this straight, will this work for apps that run in the bg that don't close out IE:
Facebook
Google Maps
Email
Albums
etc.?
because they slow down my phone, I want to close them out completely, not run them in the background so they can take up valuable resources.
espaleena said:
Will this also prevent Windows MSN not to idle which will cause lost connection too?
Click to expand...
Click to collapse
I haven't specifically tried MSN app, but I see no reason it shouldn't work.
Raadius said:
Sorry, I'm new to the WinMo scene, just saw this on Pocketnews. Let me get this straight, will this work for apps that run in the bg that don't close out IE:
Facebook
Google Maps
Email
Albums
etc.?
because they slow down my phone, I want to close them out completely, not run them in the background so they can take up valuable resources.
Click to expand...
Click to collapse
I think you need a task manager so that you can close apps. This one is for making certain apps prevent the phone go standby.
ozkaya said:
Any bugs? Would you guys find it useful to have a lock button so that it turns off the screen and locks keys but still keeps the device awake? I have implemented this for the latest version I'm using (to have my GPS logger going but preventing accidental touch on screen and keys.) Or is it better to keep it simple?
Click to expand...
Click to collapse
I haven't given this a try yet, but any more additions are welcomed! This is something I've been looking for. I think it might be nice to give a way to put settings per application for standby perhaps (like some applications don't let the device go to stand by for 3 minutes, others are like 30 miuntes, etc). I think having't the screen off is a good addition, but keeping the device working is good, so things like voice recorder can work without having the screen on.
Seems to work well for IM services.
I haven't tested it completely for Opera and internet-browsing programs.
Nevertheless, this is a great idea.
new version is up..
What about on option... KEEP IT ON ? (Like LOCK)
This option would simply keep the phone ON, if the application is running in background even if we haven't listed anything
Is it possible? Maybe it's already included?
Thank you
Great app !
It doesn't work on my HD2. Youtube is running and my device locks and stops YT...
Any ideas??
Zepiii said:
What about on option... KEEP IT ON ? (Like LOCK)
This option would simply keep the phone ON, if the application is running in background even if we haven't listed anything
Is it possible? Maybe it's already included?
Thank you
Great app !
Click to expand...
Click to collapse
I thought about that but later decided that not many people would find it useful. if enough request comes, I will add it. In the meantime, you might just add an always running app like device or cprog into list manually when you want to keep it on always. or just minimize an app in the whitelist
Quider said:
It doesn't work on my HD2. Youtube is running and my device locks and stops YT...
Any ideas??
Click to expand...
Click to collapse
that's odd. I just tried and Youtube keeps itself open while playing a video for me even without this app. (Locks on the search screen) But still, KeepAwake seems to detect it when it is running. After installing have you clicked on the icon to run KeepAwake? Then minimized it by clicking on X? Have you tried another app, like Adobe Reader for instance? Is youtube minimized or active?
Hi,
Will this application disable lock option on device while using some application - eg. iGO Navigation?
Thanks
mdzepinajr said:
Hi,
Will this application disable lock option on device while using some application - eg. iGO Navigation?
Thanks
Click to expand...
Click to collapse
as long as you don't lock it yourself, yes, it won't be locked.
Very nice app...much thanks!
The app works for eReader on my Omni II running 6.3 One word of caution I have the x= app closed option turned on so the x shuts down keepAwake. It took me some time to figure out I was closing the app not minimizing it.
How would I go about disabling the standby while in a call? What's the name of the application I need to put in there? I'd like to use it so the sleep during call doesn't stop the call recording utility from working, but I still would like the screen turning off when keeping the phone at the ear.
Doesn't work on touch pro2
The software breaks error when we try to add software to the list, only with the program in background it goes to sleep anyways. It's a good idea, but not there yet...

How Android Works!!

Hi all,
I have a very basic query about android's general working. Please let me know if this is not the correct section to discuss this.
I read somewhere that apps do not exit in android and they go into inactive mode. I have a query here: It definitely eases the way to switching between the apps, however, doesn't it consumes more power in this case?
Basically, the discussion is about whether Task Managers are good or not?
Personally, I need to charge battery more frequently after uninstalling Automatic Task Killer from my phone. I am using Galaxy 3 with stock Android 2.1
Does anyone have this experience?
Generally apps running in the background don't consume any battery. Or consume very little if they're waiting on some event (i.e.to notify you of incoming message, etc.) And killing the app is counter productive because they'll usually restart themselves.
Apps that sync periodically are the ones that can consume battery if they're set to sync too often. Your task killer may have been stopping some of the syncing.
________________________________
http://ron-droid.blogspot.com
IMO task managers are not very useful. Android has it's own memory manager built in that will free up memory when needed. Here's a pretty good article discussing the matter.
http://androinica.com/2010/05/googl...-imply-task-killermanager-apps-are-pointless/
Personally, I try to control which apps are running in the background myself through the use of the home and back buttons. When you press the home button, the app remains in the background, able to be activated again quickly. If you press the back button, the app will exit and no longer be running (in rare cases, apps will take control of the back button so I can't say this happens for EVERY app). I almost always back out of programs, unless I know I'll be using it again soon. Hope this helps!
@ zeddicus225 - Yes. That Helps. Thanks.
@ rigman - Can you please explain, what you mean to say by "they'll usually restart themselves"?
How is this possible...please give an example for this where there is no application that sync itself and restart itself?
Also, I started this thread as my phone was getting slower irrespective of closing of all the apps by using Back button. Is there any solution or check for this?
vijay.gupta said:
Also, I started this thread as my phone was getting slower irrespective of closing of all the apps by using Back button. Is there any solution or check for this?
Click to expand...
Click to collapse
Yes, turn it off and on again android memory management is rarely up to scratch
Hey Pulser,
Can you please explain, how the applications restart themselves in android?
I have heard it in many places.
Can anyone please reply to this?
Can anyone please reply to this?
Is there anyone here to reply to this? Is this sucha hard query to reply?

How to access task manager?

Hey.
I came from vibrant and to acccess task manger I had to hold the home button, but now it doesnt seem to work with g2x.
Can someone tell me how to access task manager to close apps?
Download one and then run it
Sent from my LG-P999 using XDA App
it doesn't come with one you have to pick one from the market to use. There is no reason to use one if you ask me.
Prod1702 said:
it doesn't come with one you have to pick one from the market to use. There is no reason to use one if you ask me.
Click to expand...
Click to collapse
that is NOT true
1) you can set the home button to open what u want (Long press) with some launchers. I don't know if you can set the "Long Press" in the default launcher
BUT
2) here is how to access it
Settings>Applications>Manage Applications> "click running at the top" >
and you can kill app's from here. no 3rd party app required.
.
is there a way to hold the home button and then click on task manager to kill all apps like we did in vibrant?
I thought task managers/ killers were no longer needed in later versions of android. I just came back to android.... the last android phone I have was the mytouch 3g... on 1.5, 1.6 and I know it needed it then...
Froyo and beyond is generally considered by most people to not require a task manager. I agree with this as well. It's not the apps anyway, unless one is rogue spiking your cpu draining the battery, its more making sure 4g is off when not in use, same with bluetooth, gps, and keep brightness to a minimum. Use juicedefender. Its awesome...
Edit: A task manager is useful if you have an app wigging out on you, but generally its as easily effective to just do a hotboot
eeeeeeeeek said:
Froyo and beyond is generally considered by most people to not require a task manager. I agree with this as well. It's not the apps anyway, unless one is rogue spiking your cpu draining the battery, its more making sure 4g is off when not in use, same with bluetooth, gps, and keep brightness to a minimum. Use juicedefender. Its awesome...
Edit: A task manager is useful if you have an app wigging out on you, but generally its as easily effective to just do a hotboot
Click to expand...
Click to collapse
Yeah just like you would do on a computer
but just pressing the home button and going out of the app does not close it right? that means it will eat battery?
Pressing the back button will close most apps. I never press home to leave apps. That WILL leave them running to multitask.
Learn2Back
Sent from my SGH-T959 using XDA App
hmmmm i didnt know that, i always press home to go out of apps.....
I think people have been conditioned to press home to get out of apps but that isn't the correct way unless you want it to stay open. Doesn't help that in most phone reviews and walkthroughs, the person demonstrating usually constantly uses home.
Back closes an app, home takes you to the home screen.
Sent from my SGH-T959 using XDA App

Auto Hide Taskbar

Hey bro i get this app from the market Honeybar it work great with root access.
I work with touchwiz work 100%.
Program tested MX Video Player,Dolphin Browser HD.
It works well and I suggest using Button Savior in conjunction. Barely seen my taskbar in a week
Works pretty well, main problems I have with it are accidentally re-enabling the taskbar in games (tapping near the bottom), and also accidentally hiding it when trying to hit the 'menu' button in portrait mode. They're too close together so it's hard to avoid hitting it.
I asked the author about the possibility of other trigger locations, or gestures, and he responded but didn't sound like he planned to do anything soon.
I installed HB myself, and although it is nice in some ways to get the taskbar (I use that reference with tongue'in'cheeck) out of the way, there are too many apps I have that place "menu" in the location of the hidden button even when I set it to shift left. Many apps I have to rotate to landscape to get to the apps settings menu hidden behind the shift-left positioning for HB. It's just not a sound UI choice.
The option to just leave the taskbar hidden and use Button Savior is better, but it's like using one hack to make another one work halfway correctly in its effects. HB needs more development and it doesn't look like it's going to happen as of now.
koreanschoolkid said:
It works well and I suggest using Button Savior in conjunction. Barely seen my taskbar in a week
Click to expand...
Click to collapse
Thanks very much for your info. Yeah... this Button Savior is a real true name in case of the HoneyBar's gone somewhere..
Problem I see with using Button Savior all the time is that you do lose the notifications.. and then it's still easy to accidentally bring back the real bar when playing games etc. Oh well.
speedrabbit said:
Problem I see with using Button Savior all the time is that you do lose the notifications.. and then it's still easy to accidentally bring back the real bar when playing games etc. Oh well.
Click to expand...
Click to collapse
I don't know about the games... the notification is hiding except the sound but the real trouble is when the call is coming.... you have to activate the task bar to bring back the panel "Answer or Denied" (!!!)
FYI
speedrabbit said:
Problem I see with using Button Savior all the time is that you do lose the notifications.. and then it's still easy to accidentally bring back the real bar when playing games etc. Oh well.
Click to expand...
Click to collapse
I did indeed get quite angry at the loss of notifications but I was able to (sort of) get around that by changing the screen density to 171 using Blade Buddy. This set me back to a 2.x launcher.
It doesn't really work 100% however as browser, Gmail, Google Talk will constantly crash. I was able to work around the browser by just getting another browser and Gmail by uninstalling the Honeycomb version of Gmail and installing the Gingerbread version. I didn't care enough to do anything more than uninstall Google Talk.
On the positive side I no longer have to deal with the taskbar. Ever.
koreanschoolkid said:
I was able to work around the browser by just getting another browser and Gmail by uninstalling the Honeycomb version of Gmail and installing the Gingerbread version.
Click to expand...
Click to collapse
Does the Gingerbread version have the Gingerbread UI? i.e. without the multi-paned stuff? I tried loading a Gingerbread version a while back but it didn't work (just crashed). I prefer Gingerbread style -- more room for the content rather than lists of labels.
Sigilist said:
I installed HB myself, and although it is nice in some ways to get the taskbar (I use that reference with tongue'in'cheeck) out of the way, there are too many apps I have that place "menu" in the location of the hidden button even when I set it to shift left. Many apps I have to rotate to landscape to get to the apps settings menu hidden behind the shift-left positioning for HB. It's just not a sound UI choice.
The option to just leave the taskbar hidden and use Button Savior is better, but it's like using one hack to make another one work halfway correctly in its effects. HB needs more development and it doesn't look like it's going to happen as of now.
Click to expand...
Click to collapse
Yes this is exactly my only issue with honeybar. it would be nice if we could choose the right side as the "offset". Even in portrait I have space just to the right of center that would allow access to honeybar on/off and not interfere with the menu on a lot of apps.
There's a much better way to do this. Using tasker, I have a profile set up that auto hides the toolbar for certain apps and then restores it automatically when I switch away from them.
Follow the instructions in this thread:
http://forum.xda-developers.com/showthread.php?t=1301857
Sent from my GT-P6210 using Tapatalk
Yes but how do you switch away from them?
That is actually what I am trying to figure out how to do. I am trying to set it up when in specific apps it takes away the task bar but also only within these apps after something... (haven't really figured that out yet) happens it will bring it back for an exit. In a perfect world I would love to be able to press both volume buttons to close an app. Which in this case would be perfect but tasker can't do that...
I'm using task switcher pro. It lets you map a gesture to the back button or home button.
Sent from my GT-P6210 using Tapatalk
what might be cool is to "shake" device to bring back the bar.
you guy also can use AutomateIt... kind of like tasker but to me it more friendly user...
http://forum.xda-developers.com/showthread.php?t=1123423
and the pro version is cheaper too...
Using tasker I did manage to make the bar go away by shaking. Instead of setting programs to do it make it toggle the bar by using a shake. I don't have it in front of me to do step by step but if someone wants me to I can put it up.
I would most certainly love to see that "How too" Zadeis.
Thanks.
Here you go!
gucabe said:
I would most certainly love to see that "How too" Zadeis.
Thanks.
Click to expand...
Click to collapse
OK the link smaug408 put up leads to a guide on how to set up a task that when an App starts it will remove the bar at the bottom. The thing is though you no longer have a back button and get out of the app unless it has a dedicated exit button.
http://forum.xda-developers.com/showthread.php?t=1301857
I take no credit for the premade files for tasker. The thanks goes to the creator Quietthinker through that link.
-First Open the link and download the attached StatusBarToggle.zip and place the files into /sdcard/Tasker/tasks (in this case you will only need the StatusBarToggle.tsk.xml, the StatusBar_Hide.tsk.xml, and the StatusBar_Show.tsk.xml files)
-Second open tasker and go to the "tasks tab" and tap and hold the Tasks Tab at the top. An options window will come up but select Import and import all of them into tasker
-Third go to the profiles tab and tap the Green plus at the left and give it a name. ShakeToToggle can work but you can name it whatever you like.
A context window will popup and you will select Event and then the Sensor Category and finally select the Shake Event.
You can mess around with the setting for the shake gesture now or tweak it in to your liking after everything is set up up to you.
-Forth once you have the setting you like press the green check mark, select the StatusBarToggle task and you are done. Now when you shake your tablet side to side it will make the status bar go away.
Now I just happened to figure out that you can shake instead of using an app for the context. I take little credit for how this works.
This method requires Super User Permissions. It will ask on the first toggle of the bar if you allow it to remember it afterward, if not it will ask each time.
Great app. Works perfectly

How do you stop an app?

Can anyone explain the various options for "stopping" an app? As far as I can tell, you can:
1. Swipe it off the app switcher screen
2. Long press and hit "Pause app"
3. Long press, tap info, and turn off all notifications
4. Go to settings, apps, and "force stop"
What's the technical difference between all of these? It seems unbelievable that there isn't a simple way to fully stop all processes associated with an app until you manually restart it.
I'm mainly interested in squeezing the last bit of use out of old phones.
Well, I thought this would get more of a reaction. Would it be more enticing if I asked for a more technical discussion on how these functions work?
I know I can Google this stuff, but pretty much everything I come across is focused on the basics of turning off notifications. The most technical content in the articles I've found says things like, apps don't use system resources when they're just sitting in the background and appear in the app switcher. But honestly, that seems ridiculous. If an app CAN send a notification, regardless of whether Android displays it, then it will obviously use resources periodically.
So I'm looking for what actually happens when you turn off notifications, pause an app, swipe it off the switcher, or force close. After that I'll be looking for a tool that will make it easy to manage what I want running.

Categories

Resources