i tried with the below code but its not effecting
Settings.System.putInt(ftaContext.getContentResolver(),
Settings.System.SCREEN_BRIGHTNESS, bright);
but i got the screen brightness by the below code
IHardwareService hardware = IHardwareService.Stub.asInterface
(
ServiceManager.getService("hardware"));
try {
hardware.setScreenBacklight(150);
} catch (RemoteException e)
// TODO Auto-generated catch block
e.printStackTrace();
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---