I'm looking at writing an application which includes functionality
similar to Google's My Tracks (with some additional data collection
support and a specialized user interface).

If periodic location updates are requested with a minimum update delay
provided but the phone goes to sleep either by timeout or explicit
user request, will the phone wake up every minTime ms to poll? If not,
do I need to grab PARTIAL_WAKE_LOCK for my application to be able to
record the user's path, or will a more conservative approach (such as
setting an alarm to run every minTime ms, waking on the alarm, keeping
the CPU awake until a location update is received, and then going back
to sleep) work? Is there a better way to periodically poll position
without running more of the phone hardware than necessary which I
haven't thought of yet?

Do I need to be concerned about GPS reacquisition time if the CPU has
been off since the most recent query?

Thanks!

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to