zoukankan      html  css  js  c++  java
  • Android 动态注册 亮屏、息屏广播

    /*****************************************************************************
     *                     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
  • 相关阅读:
    Go-结构体
    Go-指针
    Go-函数
    pycharm激活码
    python Ajax的使用
    python djangjo完整的实现添加的实例
    python 获取表单的三种方式
    python django ORM
    python django 模板语言循环字典
    python djangjo 文件上传
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/5799908.html
Copyright © 2011-2022 走看看