android.intent.action.SCREEN_ON doesn't work as a receiver intent filter

前端 未结 3 1107
Happy的楠姐
Happy的楠姐 2020-11-29 08:00

I\'m trying to get a BroadcastReceiver invoked when the screen is turned on. In my AndroidManifest.xml I have specified :

                

        
3条回答
  •  無奈伤痛
    2020-11-29 08:19

    This is the best example I've found http://androidexample.com/Screen_Wake_Sleep_Event_Listner_Service_-_Android_Example/index.php?view=article_discription&aid=91&aaid=115

提交回复
热议问题