/*****************************************************************************
* Android 动态注册 亮屏、息屏广播
* 说明:
* 今天遇到需求是亮屏、息屏广播,程梦真验证了在有些手机上可行,有些不行,
* 这个功能看来是要看情况的。
*
* 2016-8-23 深圳 南山平山村 曾剑锋
****************************************************************************/
一、参考文档:
1. Android中不能静态注册的广播
http://blog.sina.com.cn/s/blog_6f1361e50102vnln.html
2. Android应用程序--获取待机、唤醒、关机、网络状态变化消息
http://blog.csdn.net/myarrow/article/details/8174912
3. Android - how to receive broadcast intents ACTION_SCREEN_ON/OFF?
http://stackoverflow.com/questions/1588061/android-how-to-receive-broadcast-intents-action-screen-on-off
4. Handling Screen OFF and Screen ON Intents
https://thinkandroid.wordpress.com/2010/01/24/handling-screen-off-and-screen-on-intents/
5. android.intent.action.SCREEN_ON doesn't work as a receiver intent filter
http://stackoverflow.com/questions/2575242/android-intent-action-screen-on-doesnt-work-as-a-receiver-intent-filter