// Make the screen full bright for this activity.
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.screenBrightness = 1.0f;
getWindow().setAttributes(lp);
On Wed, Apr 15, 2009 at 10:21 PM, SR <[email protected]> wrote:
>
> Dianne,
>
> Would you mind sharing a snippet of code on how to do this in Cupcake
> using the new API?
>
> Thanks!
>
> Stan
>
> On Apr 8, 3:49 pm, Dianne Hackborn <[email protected]> wrote:
> > There is a new API to be able to force the screen brightness while your
> > window is on-screen.
> >
> > On Wed, Apr 8, 2009 at 12:08 PM, Todd Sjolander <[email protected]
> >wrote:
> >
> >
>
--
Dianne Hackborn
Android framework engineer
[email protected]
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and
answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---