hmm but i also dont like that so much.

for example right now i was thinking to write a simple app just
changing the brightness
in a simple way. not just for a window, for the whole system.

Often I am out and just like a simple "change brightness", without
searching through
the setup (imagine i am in the sun and already dont see anything) so
even 2 steps
are far away.

anyhow.. is there an intent how i can easily open the popup where i
can change the
system brightness?

thanks
chris


On Apr 16, 11:40 am, Dianne Hackborn <[email protected]> wrote:
>         // 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to