使用WindowManager可设置当前Acitivity的屏幕亮度。
http://www.eoeandroid.com/thread-226573-1-1.html
亮点:
单个activity中的背光控制。
A.屏幕
WindowManager.LayoutParams params = getWindow().getAttributes();
params.flags |= WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON;
params.screenBrightness = 0;
getWindow().setAttributes(params);
忙得冒屎的办公室女郎
HxLauncher: Launch Android applications by voice commands