Re: [android-developers] IPowerManager

2011-04-18 Thread Dianne Hackborn
On Mon, Apr 18, 2011 at 8:45 PM, a a wrote: > I don't think so, If is not part of the SDK, thus not an appropriate > question for this list? > We can ask anything question about android here. > This list is for programming with the Android SDK, which this is not part of. > I don't think so. Be

Re: [android-developers] IPowerManager

2011-04-18 Thread a a
2011/4/19 Dianne Hackborn : > This is not part of the SDK because it is not a supported API, and thus not > an appropriate question for this list. I don't think so, If is not part of the SDK, thus not an appropriate question for this list? We can ask anything question about android here. > An app

Re: [android-developers] IPowerManager

2011-04-18 Thread Dianne Hackborn
This is not part of the SDK because it is not a supported API, and thus not an appropriate question for this list. An app using this is going to break across various platform versions as the internal impl changes. This particular IPC call has been behind a permission that apps can't get for a lon

Re: [android-developers] IPowerManager

2011-04-18 Thread a a
private void setBrightness(int brightness) { try { IPowerManager power = IPowerManager.Stub.asInterface( ServiceManager.getService("power")); if (power != null) { power.setBacklightBrightness(brightness); }

[android-developers] IPowerManager

2010-08-23 Thread apilink
Hi experts, anybody knows how can I get in my sdk the package "IPowerManager" instead of "PowerManager". I am trying to change the screen birghtness programatically. Thaks in advance -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post