[android-developers] Setting of screen brightness broken in 2.0?

2009-11-17 Thread Brad Fullmer
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 working.  Is this functionality now
guarded by a permission?  Looking at the list I didn't see anything
that seemed applicable.

Any other workaround ideas?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Anyone know what happened to Cyrket?

2009-11-02 Thread Brad Fullmer
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 not list all apps when searching for a specific
 developer.

 serge

 On Nov 2, 8:21 pm, Streets Of Boston flyingdutc...@gmail.com wrote:

 www.androlib.comisstill up.

  On Nov 2, 5:50 pm, dadical keyes...@gmail.com wrote:

   I love, love, love that application, and have been missing it terribly
   since it went offline about a week ago.  Google's lack of any kind of
   real console for devs was made less painful by cyrket.  Anyone have
   any clues as to where it went and if it will be back?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] screenBrightness of 0.0 == ???

2009-05-28 Thread Brad Fullmer

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 whereby touch events
are no longer received and when I later try to restore the screen
brightness, either by setting it to 1.0 or -1.0 - nothing happens!
The only way I can get the screen back is to hit the end button and
menu out of the screen lock.

Is this the correct behavior?  Is there any way to work around it and
A) receive touch events while the screen is dimmed and B)
programatically restore the brightness?

NOTE: things work as expected with non zero brighness values such as
0.1


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---