02-29-2012 09:48 AM
I keep using following code on Android deveices and it works fine. Cannot use this to chnage screen brightness on Playbook.
WindowManager.LayoutParams layoutP = getWindow().getAttributes();
layoutP.screenBrightness = 100 / 100.0f;
Any help please?
01-08-2013 09:21 AM
Has anyone succeeded to make this work?
I am facing the same problem, using very similar code to ajust screen brightness. It works fine on Android devicess, however it does not work on Blackberry.
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.screenBrightness = value[screenBrightness];
Any help would be appreciated