try {
curBrightnessValue=android.provider.Settings.System.getInt(
getContentResolver(), android.provider.Settings.System.SCREEN_BRIGHTNESS);
} catch (SettingNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Hi, thanks for the blogging :)
ReplyDeleteHow can i change the wallpaper by code?
hello Erol,
ReplyDeleteplease refer Set Wallpaper using WallpaperManager
Thank you so much.
ReplyDeleteHI I try the code, but it always give me a value of 102 regardless which level of brightness I have adjusted. May I know why?
ReplyDelete