Android Question Screen state

shaxboz

Member
Licensed User
Longtime User
Hi! I have simple widget. And I do`nt know this widget doesn`t work when phone screen is off.
So, How can I check screen state, is it on or off?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…