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
2010-09-19 11:34:57