Cannot statically register BroadcastReceiver for the action.SCREEN_ON

view story

http://stackoverflow.com – The BroadcastReceiver class reference says: You can either dynamically register an instance of this class with Context.registerReceiver() or statically publish an implementation through the tag in your AndroidManifest.xml. So I put following declaration in my manifest.xml file: <receiver android:name="ScreenReceiver" > <intent-filter> <action android:name="android.intent.action.SCREEN_ON" /> <action android:name="android.intent.action.SCREEN_OFF" /> </intent-filter> </receiver> Unfortunately after that r (HowTos)