On Fri, Oct 8, 2010 at 9:54 AM, iamnoah <[email protected]> wrote:
> I'm trying to get a definitive answer to this question:
> http://stackoverflow.com/questions/3814852/android-when-using-locationmanager-requestlocationupdates-do-i-need-a-wakelock
>
> Assuming that I receive an RTC_WAKEUP alarm in a broadcast receiver
> and hold a wake lock until I have called requestLocationUpdates, is
> there any need to retain the wake lock to continue to receive updates
> in a timely fashion?
>
> My guess is that there is not, as having to retain a wakelock would
> cause all kinds of problems for long running location checks, but an
> authoritative word from a platform developer would be good to have as
> the documentation is completely silent on this topic.

I strongly suspect that you need to hold a WakeLock for as long as you
are seeking fixes. I am not aware that any location provider has the
ability to wake up the device.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 3.0.1 Available!

-- 
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

Reply via email to