I use the following code to dim the screen in one of my apps. Up
until 2.0 I used this code to basically turn on and off the backlight:
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.screenBrightness = val;
getWindow().setAttributes(lp);
Now in 2.0 this is no longer
It's irritating that there is no way to view comments or mark as spam
from the market developer console. I have an ADP only so I cannot see
my paid apps on the market. I've been getting by w/Cyrket, but now
I'm in the dark.
On Nov 2, 4:46 pm, sm1 sergemas...@gmail.com wrote:
androidlib does
In my app I want to completely dim the screen for a period of time and
later restore the brightness. Dimming works fine:
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.screenBrightness = 0.0f;
getWindow().setAttributes(lp);
But this seem to put the phone into an odd state
3 matches
Mail list logo