摘要: BroadcastReceiver mHomeKeyEventReceiver = new BroadcastReceiver() { String SYSTEM_REASON = "reason"; String SYSTEM_HOME_KEY = "homekey"; String SYSTEM 阅读全文
posted @ 2017-07-11 10:27 农民子弟 阅读(489) 评论(0) 推荐(0) 编辑
摘要: public void checkAppState() { ActivityManager am = (ActivityManager) getSystemService(ACTIVITY_SERVICE); String[] activePackages; if (Build.VERSION.SD 阅读全文
posted @ 2017-07-11 09:59 农民子弟 阅读(507) 评论(0) 推荐(0) 编辑