
android底层之-灯光系统
绿叶清风
这个作者很懒,什么都没留下…
展开
-
通知灯
通知灯的使用请: private void RedFlashLight() { NotificationManager nm = ( NotificationManager ) getSystemService( NOTIFICATION_SERVICE ); Notification notif = new Notification(); notif.ledARGB = 0xFFff0000;原创 2017-01-19 13:39:04 · 826 阅读 · 0 评论 -
背光灯
参考资料:Changing the Screen Brightness System Setting Android 参考资料:Android 系统设置中显示设置之亮度调节篇 参考资料:【Android开发经验】与屏幕亮度调节相关的各种方法整理 怎么控制背光灯?把亮度值写入数据库就可以了。肯定有程序在监测这个值的变化原创 2017-01-19 15:40:09 · 584 阅读 · 0 评论