I think I have found a way to do it. Broadcast Actions ACTION_SCREEN_OFF and ACTION_SCREEN_ON are the Broadcast actions which are sent when the screen turns off and on.
Thanks, Saddaf On Feb 15, 9:52 pm, Saddaf <[email protected]> wrote: > Is there a method to report the status of the screen? Something which > tells if the screen is currently locked or not. I have checked the API > but have not been able to find anymethod which reports back the status > of the screen. > > Thanks, > Saddaf --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

