When I use the default web browser and get finished I can find no where to close it. I just hit the home button to get out of it, but I am sure that leaves it running. So, how do you close out of it and shut it down?
I need to launch the Browser from my application (cannot do the WebView - it has to be browser), and once I'm done with the browser, is there a way to close the Browser and the user back to the application programatically?
The problem is that user will probably press back or home keys to get out of the browser - back key will not work, and home key will put Browser and my app in the background.
I hopped that a button in the HTML displayed would close the browser but it seems like the Android seems to ignore that. Can anyone help?
So I read through the SDK docs and I thought that calling a new activity(browser) as part of a task (myTask) will mean that activity* (browser) will close when a user closes the task (myTask) But I am left with a browser window.
Here is my scenario (in sudo code);
Question 1: What is the cleanest way to ensure that when a user closes my app, any outside activities called will be closed to.
Question 2: Does a callback URl start a new Task, or use one in the stack if available?
What possible reason could there be for you to code your apps so that they switch on in the background when the phone is turned on and use up precious battery life?
Or, why would you code your apps to stay on after I, the user, have hit the back button because I no longer want your app to run?
I mean, REALLY! Yes, I own up to being a newbie Android user, and what I don't know could fill the Library of Congress. Still, this is common sense we're talking about here. I've done some industrial app development and Enter/Exit, On/Off are basic pieces of logic in the main loop of an program in any language.
The only reason that we phone users need task killer apps is because you developers insist on creating apps that don't know when the f**k to turn themselves off.
And, it seems to me like you, the app developers, are one of the main reason why these phones have such crappy battery life. I mean, my Samsung Instinct, as bad as it was, got 18 to 24 hours of life off of one charge. With the Hero, I'm lucky if I can get 10 hours, and that's even with configuring my email download to only three times per day!
This is not hard, people. You code the app to stay off until, I, the user, manually turn it on. AND, you also code it to turn off when I, the user, hit the back button.
Yes, I understand that there are certain apps that it is advantageous to keep running in the background. So, fine, make it so those keep running. BUT, there is no possible reason for apps like Flashlight, or BBC News, or Camera, or SprintTV to have to run all the time in the background!
I am so tempted to just trash the lot of you. If I did, maybe I might not have as much functionality, but my teenager would be able to reach me late in the day because my phone battery would still have juice.
Sometimes, after the phone has been in sleep mode for awhile, when I hit the power button to wake it back up and then the menu button (or swipe) to open the screen, I get that circular bar pattern followed by what look like the browser trying to launch. The screen is white, with a white address bar area, too. Then that screen goes back to the circular bar pattern, followed by the white browser screen again, after which it just closes. Very odd. Doesn't do it all the time. Seems to be random. And after a hard reset, sometimes the first time or two I use the browser, it just force closes on me. Again, doesn't do it all the time. (At first I thought I accidentally hit the home button, or something, but I didn't.)
Well I have issues. I always think that my phone isn't running the way it should or could. I have installed many apps and uninstalled a couple. But I have noticed that my browser will force close about every other time I use it.
Ok, I have had a Motorola Droid since they released the phone and my battery has been great. I could charge it overnight and take it off the charger around 6:30 am and when I put it back on the charger around 9 - 10 pm at night I would still have anywhere from 50% to higher battery life and this is after very heavy usage.
Beginning a few days ago I noticed that my Droid battery indicator is showing almost completely drained out by 6 pm and I really used my phone lightly yesterday and today. Today and yesterday both, the red LED was blinking and the battery indicator was showing almost completely dead by 6 pm. I pulled up the battery usage on the phone and it is showing the 'browser' as the biggest battery hog for some reason. Today it was showing 81% of the battery usage was from the browser. I hardly, if at all, used the browser today. I also checked the firmware version and it is showing 2.0.1, which I never updated it myself.
Are there any suggestions about why the browser would be draining the battery down so bad, when the browser has not even been used? Is there a way to close out the browser so it doesn't continue sucking the battery dry, besides using an app killer program?I did search the forum and did not see a specific question/answer to my question. I know I had read that some people were seeing battery issues after upgrading to 2.0.1, but I did not upgrade my phone, it must have done it.
I have a tmobile samsung vibrant and the other day some how my phone decided to shut off over night and the alarm ended up not going off and I was late for work. Is there any way to make the alarm go off when the phone is shut off? Or a specific alarm app that works for this? I've looked at other threads but none came to a fix for this problem.
I've had my hero for 3 or 4 days now.I understand that i do not need a task manager to shut-down apps, but don't fully understand how this works,since apps like Pandora (music streaming) and sportypal (gps tracking) continue to run in the "background." Adding to my confusion is the fact that I'm noticing the phone get sluggish lately, even after a fresh reboot, with only two programs running (Pandora and sportypal). The past 3 days, there were no problems, but now I cannot run with music because the music continues to skip - and pandora becomes unresponsive.I thought perhaps there were too many apps (I've downloaded about a dozen apps) and so I uninstalled most of them.No better.What, if anything, am I missing? Can I be low on space or memory, or what?
I would like to perform a task just before the phone is shut down. I thought that Application#onTerminate would be called but that does not seem to be the case. Is there a broadcast intent when the phone is going to shutdown? If not, how to run a task just before the phone is turned off?
I'm wondering if anyone is aware of an app that will shut off my alarm clock if I wake and unplug my phone from the charger, then reset it for the following day. I almost always wake before my alarm, and use the alarm in case I oversleep. Would be nice if I didn't have to hear it go off a half hour later.
Hi, I have a pretty ordinary g1. Htc dream, unlocked (ATT is my provider). Well, I installed cyanogenmod a few weeks ago and it worked out great. I also did the 10 MB RAM hack.
Then I got greedy. I thought I'd partition the sd card and cyanogenmod would start installing apps to the sd card. This turned out to be a disaster. Probably I didn't do it right.
Everything was fine for a few days, seemed faster, etc., until I installed a new app. It was the first app installation since partitioning. Suddenly, there were problems with ALL my apps. I then thought, well uninstall app x that you just installed, but alas, I couldn't, as it wasn't listed as installed.
The phone would even spontaneously shut down from opening an app. In short, the phone became very scary and very unusable. After spontaneously shutting down, it would reboot into a frozen state, etc.
So I reformmated the sdcard, and redid cyanogenmod. I thought that this would simply undo the partitioning that I'd done, and I'd be back to where I was with a pretty good g1.
Well, cyanogenmod went okay, but there were still lots of problems. So I did a factory reset, and cyanogenmod again. This was slightly better, but it's still touch and go with my g1 now.
Home process needs force close, reddit is fun will sometimes not work. Sipdroid, even Android market, when I click it, does nothing. Sometimes when I plug the phone in with a USB cable, I mount it from the phone and it will suddenly unmount itself. Wont stay mounted.
Each of these problems will go away with rebooting, but now I've rebooted my phone maybe 30 times in the past two days. Not to mention uninstalling, reinstalling apps and rekeying in usernames and passwords, etc.
My HTC Desire no longer shuts down, I sometimes need to shut down just to help keep the phone working at its best but when I power off the spinning circle just keeps spinning saying shutting down. I have left it for a couple of hours before and its still stuck there, never used to have this problem with my phone when I first got it.I am running an Orange branded phone with Android 2.1. I really don't like this Orange 2.1, its pants and alot slower than a stock 2.1 or the new 2.2.