On Sun, Mar 22, 2009 at 10:45 PM, joby <[email protected]> wrote:

> IHardwareService hardware = IHardwareService.Stub.asInterface
> (
>           ServiceManager.getService("hardware"));
>
> try     {
>        hardware.setScreenBacklight(150);
>        } catch (RemoteException e)
>        // TODO Auto-generated catch block
>        e.printStackTrace();
>         }
>

This is a private API and will break in Cupcake.

-- 
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.  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