Is it possible to turn the screen off and keep gps on? - Nexus One Q&A, Help & Troubleshooting

I used to do this all the time on my TyTN 2, but I still haven't been able to get it working on my N1. I use GPS to navigate on my bike, where I can't plug it in to charge and there is no cradle. I keep my phone in my pocket, and listen to the directions in one ear on my headphones. It was pretty easy to turn off the screen of my WM and keep the GPS running, keeping the battery use down. On my N1, I haven't found any way to kill the screen without killing the GPS app. This makes it impractical for navigating around Jakarta, where I might kill my battery sitting in traffic with the screen on. Is there any way to turn off the screen without locking everything up?
Thanks for your help.

this annoys me too, and i both love it and hate it. currently there is no way you can do this without altering the maps code. the onPause obviously seems to be programmed to suspend the GPS signal when activity loses focus, and nothing short of changing that code i imagine would fix this issue.
though i do commend google for how they set android up to function this way, its different and novel, but i dont ALWAYS necessarily like it, like this situatino in particular.

I don't understand the problem. I turn the screen off all the time.
I don't have a car dock, so I start navigation and place the phone on the seat beside me, I turn the screen off to save battery and then just listen to the directions all the way to my destination.
Never had a problem.
And I've used the My Tracks program to track my mountain hikes, screen off and in my pocket.
Both ways worked both before and after I rooted and installed CyanogenMod.

Clarkster said:
I don't understand the problem. I turn the screen off all the time.
I don't have a car dock, so I start navigation and place the phone on the seat beside me, I turn the screen off to save battery and then just listen to the directions all the way to my destination.
Never had a problem.
And I've used the My Tracks program to track my mountain hikes, screen off and in my pocket.
Both ways worked both before and after I rooted and installed CyanogenMod.
Click to expand...
Click to collapse
weird everytime i've turned off the screen i believe the GPS disconnects, which can be seen as soon as the screen is turned back on and it reaquires the lock. even in maps if it briefly lsoes foreground focus the GPS signal stops. perhaps i never tested enough during actual navigation, but i thought this is what happened to me. hmmm

Well, try Navigation and My Tracks. I've gotten some pretty detailed longer (3-5 hour) hikes mapped. The screen was off the whole time.
And I've probably used Navigation with the screen off at least 10 times. And some trips over 30 minutes. It always told me when to turn at the right time.

The GPS turns off if maps isn't in focus and I'm glad. It would kill your battery if it ran all the time. But it caches your location and automatically turns GPS on when you open the app.
But if you start navigating the only way to get it to stop is by hitting Menu-Exit Navigation. Locking your screen is okay. I do it all the time.
Sent from my HTC Glacier using XDA App

Sounds like it isn't a system level problem then.
Navigation will lock the GPS on for you so turning it off isn't a problem.
The same with My Tracks then too.
So to the OP, if the program you are using is not forcing the GPS to stay on when the screen is off, you could try contacting the developer and asking for that option.

Ok I just tested this and I was wrong, when the screen is off the lock stays in tact completely and same accuracy. So if does indeed work. This was tested running navigation in maps.

I guess I should mention that I'm using igo. It was the first program I found with offline maps available for Indonesia. When I turn the screen off, it definitely loses its lock and has to search again when the screen comes back on. So, it sounds like switching programs should solve my problem. Is that right?
Edit: just opened navigation, and it says it's not available here yet. I might just have too bring my WM with me when I need navigation on a ride. Oh, well; by this time next year I should be back in the states where features aren't geographically blocked. Thanks for your help.
Sent from my Nexus One using Tapatalk

ill_dawg said:
I guess I should mention that I'm using igo. It was the first program I found with offline maps available for Indonesia. When I turn the screen off, it definitely loses its lock and has to search again when the screen comes back on. So, it sounds like switching programs should solve my problem. Is that right?
Edit: just opened navigation, and it says it's not available here yet. I might just have too bring my WM with me when I need navigation on a ride. Oh, well; by this time next year I should be back in the states where features aren't geographically blocked. Thanks for your help.
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
yeah it seems to depend on how the developer coded the app you're using. google maps navigation seems to leave the GPS on with the screen off. the app you are using must not, but maybe you could contact the developer and ask them to change this?

Related

Keep app running after screen turns off

I'm a runner and cyclist, and I just installed and tested Endomondo, which appears to be the most popular app for measuring distance, speed, etc.
The problem I have is that when my screen goes off, Endomondo doesn't continue to record my route. It is still running, but when I open it again, it has stopped recording my run or bike data.
Suggestions?I'm a runner and cyclist, and I just installed and tested Endomondo, which appears to be the most popular app for measuring distance, speed, etc.
The problem I have is that when my screen goes off, Endomondo doesn't continue to record my route. It is still running, but when I open it again, it has stopped recording my run or bike data.
Suggestions?
You might have to enable a setting within the app that prevents the phone from entering standby.
You could also give Runkeeper a try. The free version does similar things like record time, distance, pace, calories burned, maps your route, and if I remember correctly your altitude change. All of the data is available for viewing online if you create an account with Runkeeper too.
oahceasgnikgneas said:
You might have to enable a setting within the app that prevents the phone from entering standby.
You could also give Runkeeper a try. The free version does similar things like record time, distance, pace, calories burned, maps your route, and if I remember correctly your altitude change. All of the data is available for viewing online if you create an account with Runkeeper too.
Click to expand...
Click to collapse
Thanks for the recommendation. Just dled it.
Does it have autopause e.g., if I stop for a rest?
Much appreciated.
drjim said:
Thanks for the recommendation. Just dled it.
Does it have autopause e.g., if I stop for a rest?
Much appreciated.
Click to expand...
Click to collapse
There is a pause feature, but it is not automatic.
My main complaint is that if you have a lockscreen pattern enabled, you have to unlock your phone before you can interact with the app. That might make a difference of a few additional seconds before you can pause or stop recording. Not really a big deal but I'm weird like that.
oahceasgnikgneas said:
Yes, there is a pause feature.
My main complaint is that if you have a lockscreen pattern enabled, you have to unlock your phone before you can interact with the app. That might make a difference of a few additional seconds before you can pause or stop recording. Not really a big deal but I'm weird like that.
Click to expand...
Click to collapse
But is there an "autopause" in which the app stops recording time when I stop?
I don't use the lockscreen, so I just have to push the Power button.
drjim said:
But is there an "autopause" in which the app stops recording time when I stop?
I don't use the lockscreen, so I just have to push the Power button.
Click to expand...
Click to collapse
I edited the post sometime between you quoting me and posting your response.
There is a pause feature but it is NOT automatic. If you don't have a lockscreen enabled then although the pause isn't automatic, it may not be such a big issue for you. All you would have to do is push the power button and then click the "pause" that's on the screen.
oahceasgnikgneas said:
I edited the post sometime between you quoting me and posting your response.
There is a pause feature but it is NOT automatic. If you don't have a lockscreen enabled then although the pause isn't automatic, it may not be such a big issue for you. All you would have to do is push the power button and then click the "pause" that's on the screen.
Click to expand...
Click to collapse
Thanks. I'll test it out.
i'm not sure what you are doing differently but endomondo worked just fine for me today for the 10 mile ride i took.
i did it with gps on and network data off. I downloaded half of the map for my ride via wifi before i left just to mess with it. If you go off the map it still records your distance and route just fine but mph fails.
i also checked out trackerboost (an app for endomondo that supposedly helps your problem). Did half the ride with it on and half without. It did smooth the line a little bit but didn't seem to do much else. Having both running was a pretty big drain on the battery though.
I use SportyPal and it does not stop when screen locks - I think it has the most recorded info also...

[Q] GPS always running and how to fix?

My wife and I both have the captivate and for some reason her GPS is always on. (The icon in the notification bar is always blinking) Its getting to be really annoying since her battery life has gone to complete crap, lasting no more than a few hours at most. How can I figure out what is causing the GPS to constantly be running?
I don't have this problem on my phone, it is just hers that does it.
It's likely an app still running in the background, grab one of the plethora of free task managers on the market, should help you narrow it down
Sent from my SAMSUNG-SGH-I897 using XDA App
Will one of these programs list everything that is running? I ask this because the GPS turns on immediately as the phone boots, and stays running. So, I know its not an errant app.
Yes they will
Sent from my SAMSUNG-SGH-I897 using XDA App
You can turn off GPS
You can trun off the GPS by going to settings->location..-> uncheck use GPS
eitan123 said:
You can trun off the GPS by going to settings->location..-> uncheck use GPS
Click to expand...
Click to collapse
While this is a good temporary solution for saving battery, I don't consider it a fix because then the phone would have no GPS capabilities at all.
The phone should behave the way mine does, when something requests to use the GPS, the icon shows up in the notification bar, otherwise, it does nothing. Her notification bar ALWAYS has the icon on it, blinking away and doing something.
I am going to try some task managers tonight and see if we can narrow it down.
tikicult said:
Will one of these programs list everything that is running? I ask this because the GPS turns on immediately as the phone boots, and stays running. So, I know its not an errant app.
Click to expand...
Click to collapse
Apps can start as soon as the phone boots. Again, I suggest going through the apps you have installed that use GPS and review each one to be sure nothing is amiss.
My friend got a Captivate this week. His GPS also runs constantly. I compared our phones side by side, and he had almost no apps running - just the basic apps. We totally cleared out his home screens. I was completlely puzzled why his GPS was running.
We both went to Settings->About Phone. He was running firmware 2.1, I was running firmware2.1-update1. He just got his phone, I'm not sure why it has the older firmware on it.
I'm wondering if this is the reason?
Perhaps deactivate google location update information services.
If it happens from the get go with no apps running, your gps could be running simply to let google know your location. Reset system to factory and opt out of (allow my location - or something like that)
give Startup Auditor a try - free app on android market
If you are within return period take it back and have it replaced. You shouldn't have to use any fixes on a brand new unit. Now if you've messed with custom ROMs or kernals that could be the cause. If you've done nothing to it and it's stock I'd do an exchange.
Sent from my SAMSUNG-SGH-I897 using XDA App
It's got to be an app running in the background. You didn't happen to go into the GPS test service menu, did you? Because I know some people go there and press home instead of back to quit it, and the test app runs in the background (though I would imagine once the battery dies and the phone is recharged and restarted, it probably wouldn't still be running...
Last week, I traveled to some remote area that only has 2G data service. I found my phone's GPS stayed on when I fired up the Google map and closed the app right after. This never happens when I'm in 3G data service area. The GPS will be off automatically even before the home screen shows up.
I have to use the power widget to toggle the GPS off and on to turn it off.
So, it may be something special about EDGE service.
I was able to produce a similar issue twice by switching away from the camera app using the home button without having taken a picture. This is obviously with geotagging turned on in the camera options. I even turned GPS off, but it went right back to searching for satellites when I turned it back on.
This is inside a building with no hope of getting a GPS fix.
Sent from my SAMSUNG-SGH-I897 using XDA App
Try use the back button instead of home button to get out of your camera app. Most apps will do a cleanup/release resources when using back button. But if you use Home button, most apps will stay running in memory without release any resources.

[Q] GPS after the JP0 update

Hi all,
just wanted to know whether you experienced any GPS improvements after the update?
Mine seems to be functioning a a lot better, however, it turns off by itself after like 10-15min of use. The little satellite dish disappears and I lose GPS tracking even though the GPS is turned on in the notification bar. I have to turn it off then on and it starts working again but it's annoying as hell.
Anyone else experiencing this?
GPS test
I used it today for about 1,5 hour, while driving.
It took a few minutes to start up. It was pretty precise in nav mode.
I lost the GPS signal one time, where I also lost the data connection. (At the time i was also playing with the phone.
Over all a good experience.
Tried yesterday, found satellites instantly, can keep gps lock, but still have some accuracy issue.
i used it on the way to work today with track booster and it seemed much better
however i tried again on the way home to test and lost data connection
once you loosed connection you dont seem to be able to get it back you have to restart the phone which is annoying
i will not say its fixed untill i have used it more and got consistant result
Just as bad as ever here, not locking many sats and still keeps losing them.
I can def use the phone for turn by turn navigation now, which is a massive plus.
But after working flawlessly for a couple min, it loses the GPS connection and doesn't even attempt to reconnect.
I then switch GPS off, then back on and it's working again.
This has got to be a software glitch.
still very bad. sometimes it simply cannot get a lock at all. this happens away from buildings and under clear sky. sometimes it gets a lock instantly but loses it quite quickly.
Sent from my GT-I9000 using XDA App
I have the feeling that my gps is now with froyo better. Now i have more sattelits but works good enough with eclair.
Sent from my GT-I9000 using XDA App
Better, but still unacceptable.
Sent from my GT-I9000 using XDA App
66 secs first sat fix.
Locked on 7 sats.
For me, waaaay much better with Froyo.
used mine on the way home from work and was a little better but still jumped around when stationary

[TUT] Fix Captivate GPS issue easily!

So i know there are tons of posts about this, but none have worked for me :/ However i seemed to find a super easy fix that worked for me!
1. you need to get into LbsTestMode which you can do by getting "Any Cut" in the marketplace.
2. With Any Cut go into "Activities" and make a shortcut to LbsTestMode.
3. Choose Delete GPS Data
3.Then go to "SUPL/CP Settings"
4. Enter These Settings:
Code:
Server: h-slp.mnc410.mcc310.pub.3gppnetwork.org
Server Port: 7275
SUPL Secure Socket: ON
AGPS Mode: SUPL
5. Now go outside and do a Get Position Test, you should get a lock quickly!
And there you go!
Tested On:
Stock AT&T Captivate Eclair ROM
Leaked AT&T Captivate FroYo ROM
Getting a lock usually isn't the problem. It's keeping the lock while moving.
Sent from my Captivate
curti.nogg said:
Getting a lock usually isn't the problem. It's keeping the lock while moving.
Sent from my Captivate
Click to expand...
Click to collapse
I'll 2nd that. Position locks aren't that useful to me if I try and use the phone to navigate somewhere.
norcal einstein said:
I'll 2nd that. Position locks aren't that useful to me if I try and use the phone to navigate somewhere.
Click to expand...
Click to collapse
I don't know about that..when you have to get into a navigation mode, it helps to get a lock in a timely fashion.
On another note: what supl server is that? I would want some more info on it before putting it into my settings
fldude99 said:
I don't know about that..when you have to get into a navigation mode, it helps to get a lock in a timely fashion.
On another note: what supl server is that? I would want some more info on it before putting it into my settings
Click to expand...
Click to collapse
You don't know about that? I know about that. You can get the quickest lock inside or outside, but the main issue is the accuracy while driving. You can get a quick lock with a 50+ meter accuracy (all fine and dandy) but when you are driving around with a 50+ meter accuracy the issues become quite obvious. Here are some examples:
1) The device thinks you are either on the street you are actually on or a street that is adjacent/parallel/etc to it...if it thinks you are on another street, navigation will try to route you and give you incorrect directions.
2) You make a right turn as indicated by your navigation, but due to the inaccuracy, navigation thinks you are going straight....because it doesnt know better....resulting in rerouting you since it thinks you didnt make the turn you were supposed to.
3) You get a good satellite lock but all the sudden, your devices loses the lock and "quickly" locks again...resulting in repositioning where the device thinks you are in a 50+ meter radius....which might not always be where you ACTUALLY are....resulting in rerouting you. (I call this GPS teleporting).
4) You are already moving and all the sudden, you see a big blue circle around your arrow icon (using google navigation here). The GPS thinks you are somewhere in that blue shaded circle. A city with lots of adjacent streets and an inaccurate gps makes your unit a useless GPS navigation tool as your device will keep bouncing from street to street (and rerouting you in the process) and you lose your way.
Now think of all those possible combinations with either 2 or 3 or all 4 examples happening at the same time. Sure, it may take 20 seconds for your device to correct itself but 20 seconds while driving can cause you to miss the correct turn (in the city), cause you to make the incorrect turn (in the city), cause you to miss your freeway exit (on the freeway), etc.
If I wanted to know my rough location, then sure, getting a quick gps lock is great, but if I wanted to drive around with it and navigate me....not so great.
Of all the GPS phones I've had this is the worst. Just saying that's all. My hacked HD2 w/Android locks quick and holds accurately MUCH better than the Captivate. Does anyone know why the GPS on the Captivate is so horrible? Software? Hardware?
juiceppc said:
Of all the GPS phones I've had this is the worst. Just saying that's all. My hacked HD2 w/Android locks quick and holds accurately MUCH better than the Captivate. Does anyone know why the GPS on the Captivate is so horrible? Software? Hardware?
Click to expand...
Click to collapse
Software...
gormander said:
You don't know about that? I know about that. You can get the quickest lock inside or outside, but the main issue is the accuracy while driving. You can get a quick lock with a 50+ meter accuracy (all fine and dandy) but when you are driving around with a 50+ meter accuracy the issues become quite obvious.
Click to expand...
Click to collapse
You know about what...that...that what? What I was saying to your post is that it IS important to get a quick lock when needing to get into nav mode on the go. The accuracy issue while moving is not in question. On mine, I haven't fortunately had much of an issue once locked..it consistently stays on 5M accuracy..just the time it takes to get a lock (up to 2 minutes) is a problem. 50+M accuracy on yours..fuggedaboutit..may as well not even have it
juiceppc said:
Of all the GPS phones I've had this is the worst. Just saying that's all. My hacked HD2 w/Android locks quick and holds accurately MUCH better than the Captivate. Does anyone know why the GPS on the Captivate is so horrible? Software? Hardware?
Click to expand...
Click to collapse
I usta think software, I'm thinking antenna now due to the fact that if I'm navigating, which u usually did, with the phone on my lap, had bad accuracy problems. But I tried to hold it up near the console near the front windshield and most of rouge time out works perfect. No dreaded blue circle, rerouting or gps signal lost.
Sent from my SAMSUNG-SGH-I897 using XDA App
Sooooooo, back on topic.. Did this work at least some what for anyone?!
Sent from my SAMSUNG-SGH-I897 using XDA App
fldude99 said:
You know about what...that...that what?
Click to expand...
Click to collapse
LMAO. That's hilarious.
The settings you listed are what shows up on mine when I set the Server FQDN Type to AUTO Config in the SUPL/CP Settings. Doesnt work that well for me..I can get a lock 4 out of 5 times maybe but then navigation sucks...
Caliesv said:
Sooooooo, back on topic.. Did this work at least some what for anyone?!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
It worked in getting a gps lock faster for me. That saves me about 5 minutes of driving aimlessly (or in the direction I think I should be going) for 5 minutes until it finds my way. However, after the lock, there were times when it kept thinking I was on adjacent roads which told me to take turns that didn't exist and rerouting me. While doing that, I missed a turn here and there and had to find my way again or pull over to the side and wait for my the nav to correctly position me. Either way, it added more than the time it saved me for getting a quick lock (5 minutes) to my trip.
However, as stated earlier, getting a quick lock IS more important than accuracy while driving. So in short, yes, this fix worked!
skimberk1 said:
Software...
Click to expand...
Click to collapse
Hardware.
Sent from my SAMSUNG-SGH-I897 using XDA App
One of my friends contacted me and told me it helped him. sorry he is not a XDA member.
And when i said lock that doesn't mean just lock...
After applying these settings i get a quick lock AND it stays accurate the entire time.
He and I both have Samsung Captivate and AT&T Service, however we live in very different states.

GPS Crashing?

Sorry if this is a dupe, I can't seam to search just a form form with the mobile app.
Has anyone else has a issue where after a few days GPS stops working? Anything that requests a fix doesn't get anything, maps and gps fix. Toggling GPS or Airplain modes doesn't fix it. I end up having to reboot, thanks for no reboot option in the power menu moto, and then it works fine.
It seams like a odd bug. I do use task killer somewhat frequently. Are there any apps that will let me restart gps?
Sent from my DROID3 using XDA App
I am having the same issue. One day it works fine, then a couple days later, no go! It doesn't even bring up the icon in the status bar showing that it is trying to get a fix. I have a hard time believing that no one else is running into this issue.
A reboot fixes it, so I have this strange feeling there is an app/process of some sort that is making it hang...
Same here. Always does it at the most inconvenient times too.
There have been satellite issues over the last few weeks - solar flares and whatnot - that have disrupted service. Task killers, also, could also be screwing up your system. Tasks aren't the same thing on your phone that they are on Windows, and don't actively use up power and memory. Android generally manages tasks quite well. Using a task killer is wasting more energy than not using it would, I'd bet.
I get the same issue.
I put the GPS widget on a home screen. I click GPS off - wait a sec - and click it back on. Works.
I usually have to reboot as well. I've noticed the gps icon just doesn't show up at all.
which reminds me. I really hate VZ navigator. It keeps running.
Alright. post 2 (trying to keep it useful...)

Categories

Resources