UiModeManager - NightMode (Froyo)
I have been trying to turn off the backlight of the buttons in my application using the UiModeManager's nightmode function. The default Desk Clock application (Nexus One) turns off the backlight when it is dimmed, and I want to do this as well. I've tried using the following code: UiModeManager mgr = (UiModeManager) getSystemService(UI_MODE_SERVICE); mgr.setNightMode(UiModeManager.MODE_NIGHT_YES); The UiModeManager.setNightMode(int mode) documentation says this: Sets the night mode. Changes to the night mode are only effective when the car or desk mode is enabled on a device. Does that mean