Hi all,

Is there a way to detect if the screen is off?  I want to be able to
show a dialog if the screen is off (using a wakelock) but if the
screen is on I want to show a notification (so as not to interfere
with what the user is doing).

Thanks,

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