Locus Map - forum

Support => Troubles & Questions => Topic started by: auric on July 20, 2011, 15:31:47

Title: GPS activated on screen on when Locus running in background
Post by: auric on July 20, 2011, 15:31:47
Since the update to version 1.9.2 ME, Locus got this behaviour:
Even before you actually unlocked the screen, you'll see the system GPS notification icon appear again and even though Locus is still in the background, it has just activated the GPS.

Open Locus again, then hit the back button. Confirm that you want to quit Locus. The GPS icon disappears. Screen off, screen on and the GPS stays disabled.
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: Menion on July 20, 2011, 15:39:37
thanks, should be fixed now. Need test anyway. There is so much possibilities ...
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: wldbest on July 22, 2011, 15:53:52
Actually, I explained the same problem.
(in my previous posting)

But my posting was so focused on crash & reboot,
I think the fact as described is not conveyed as it is.

I had exactly the same problem.
I thought It is strange but normal.
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: Menion on July 22, 2011, 16:04:09
hi, this should be anyway fixed now ... did you have still same problem in last two versions??
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: halloboerni on July 22, 2011, 17:13:55
I have the same Problem (1.9.4). In the systemconfigurations i have activated the GPS. Then i start Locus Pro and I see the GPS notification "GPS activated". If I close Locus after a small time I see the notification "GPS deactivated", but in the systemconfiguration the GPS still is enable.
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: Menion on July 22, 2011, 17:29:48
you're describing little bit different "problem" then auric. Anyway in my experience, it sometimes takes few second (5 - 10) till gps in notification bar disapear ... for your stay enabled forever?
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: halloboerni on July 22, 2011, 21:00:42
I am sorry, that was my bad. I misunderstood the function "enable GPS/disable GPS" in Locus.  :oops:
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: Menion on July 22, 2011, 21:12:22
hmm you're not the first. Anyway this function in locus do not change any settings in system. ... so everything in your case works fine? :)
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: halloboerni on July 23, 2011, 10:19:00
Everything fine. Thank you for the great application and the exemplary support.
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: auric on July 23, 2011, 13:45:09
I'm sorry to report that the issue isn't entirely fixed yet :-( Not in 1.9.3, not in 1.9.4
However, I can see the improvement :-)
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: guest1042 on August 06, 2011, 20:53:22
I have quite opposite problem concerning GPS. It is possibly result of some changes in code fixing the problem from topic, so I continue this thread.

* set "time between GPS locations" to anything > 0
* use Locus Pro
* quit Locus Pro
* start using Google Maps
From now on GPS is activated every X seconds. :)  It looks like GPS is still controlled by Locus Pro in some way.


BTW. There is a way to fix the problem activating  "GPS Status" program for a moment. Still, the problem exists.
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: auric on August 07, 2011, 08:49:29
.. and I'm sorry but v1.9.6 still has my problem as well :-)
I open Locus, start recording,  hit home button, open locus,  pause recording, hit home button: GPS off. Then I turn off screen, turn on screen and GPS is enabled even before unlocking the phone...

:-(
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: Menion on August 07, 2011, 11:19:35
hmm I forgot on this issue. Thanks auric. As I told few times, it's going to be really complicated all these on/off possibilities, anyway should be fixed now!

About ytpl problem, this is some special case of CM7 as I see. Settings in Locus should not have to have influence on GPS behavior in another program. It's non-sence. So if this happen to you I really suggest no to use "time between ..." settings!
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: guest1042 on August 07, 2011, 19:25:33
I investigated the problem using different GPS program called "GPS Logger" which activates GPS every x seconds. Google Maps behaves exactly the same way. So it is CM7 and/or (more like) Google Maps error. I think the problem appears when another application (like Locus) uses one of the LocationManager methods (requestLocationUpdates?). Of course, this is only my suspicion.

BTW. Do you use call LocationManager.RemoveUpdates() method when application is closed?
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: Menion on August 07, 2011, 20:08:11
fine, good to know. And yes, I use removeUpdates() because only thanks to this I disable GPS
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: auric on August 12, 2011, 12:14:00
.. aaaand the problem I reported is fixed now. Thanks! :-)
Title: Re: GPS activated on screen on when Locus running in backgro
Post by: Menion on August 12, 2011, 19:29:37
you're welcome ... so topic closed