tags:

views:

28

answers:

1

I am an android developer I have a problem.. I want to be get notified when the phone screen goes to sleep PLease Help wiith a sample code.

A: 

Set up a BroadcastReceiver to watch for ACTION_SCREEN_OFF broadcast Intents.

CommonsWare