• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to determine when SCREEN_OFF_TIMEOUT has changed?

kinetic

Well-Known Member
Just started working with the Android SDK so forgive me for my ignorance (I did unsuccessfully Google before posting, however).

I'm trying to make my first test widget that toggles the screen time out settings. Is there a way for the widget to be notified when Settings.System.SCREEN_OFF_TIMEOUT has been changed? I would like to know this so I can update the widget graphic accordingly -- when they update the setting via toggling the widget, or if they go in to the Settings menu and change it there.
 
Back
Top Bottom