Tuesday, August 31, 2010

[android-developers] No Cell Location Updates While Display Is Off

I'm using the listen function from TelephonyManager to register a
PhoneStateListener (in a service), which functions fine while the
display is on. As soon as the display goes off, no more cell location
updates.

As soon as the display comes on, an immediate update.

I'm holding a partial wakelock (for over 40 seconds as a test).

I've seen a few posts elsewhere from a while ago mentioning the same
thing.

Can a dev confirm this is intended ?

If so, I'll feature request it (and it should be in the docs), if not,
I'll bug report it :-)

Or has anyone else got a workaround ?

Thanks,

Pent

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate