logo       

[android-developers] Testing Power state - Question?: msg#04195

AndroidDevelopers

Subject: [android-developers] Testing Power state - Question?


Hi,

Had a look through the reference and i cannot find anywhere that
allows you to set up a listener to listen to power state changes.

My service holds the phone in SCREEN_DIM_WAKE_LOCK power state and
what i would like to do is apply KeyguardLock when we enter into the
DIM state, as this is not a default operation.

Does anyone have any idea's about how to listen to or obtain the
current power state?

Thanks, Liam.
--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise