Sunday, March 10, 2013

Re: [android-developers] improving gps lock time

AGPS does NOT use wifi and cell tower locations. http://en.wikipedia.org/wiki/Assisted_GPS

On Sunday, March 10, 2013 8:33:05 AM UTC-4, dashman wrote:
Looks like AGPS uses WIFI and cell-phone tower locations.

The problem for my app is that I don't necessarily have access
to data service - so AGPS will not work.

Even though I want to do want AGPS does - i.e. provide a
start location for getting satellite queries. But my understanding
is that API is not available.


The real problem I have is that I allow users to
shut the screen off to save batteries and I stop the gps listeners.

Then onResume(), I enable the listeners - and it's here where
the lock time is too much.

Option #2. How about I NOT disable the listeners on onPause() -
but set the listener to every minute.

I would think that would help maintain the lock.

It would save the battery with the screen off. and maybe some
batteries wiith the gps being queried less often now. not sure
of the latter though.






 

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment