On Wed, Aug 10, 2011 at 12:35 PM, Hank <[email protected]> wrote: > That's great guys, but doesn't help me answer my question as in which > one is the better approach. If i want to update location every 30 > seconds, for say a 10 minute period, which approach is better?
You act like you have a choice. You have to leave the listener registered. It's well within reason you won't get a fix *at all* within 30 seconds, given that GPS takes time. If you unregister the listener, the GPS radio will turn off, and so you'll have the delay all over again the next time. That being said, I agree with the other respondents, that your proposed app behavior is a bit bizarre. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

