1. Check out our app, Forums for Android! Download and leave feedback here!

How to determine when SCREEN_OFF_TIMEOUT has changed?

Discussion in 'Application Development' started by kinetic, Jan 13, 2010.

  1. kinetic

    kinetic Well-Known Member
    Thread Starter
    38

    Oct 27, 2009
    104
    23
    38
    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.
     

    Advertisement

  2. KeithG

    KeithG Well-Known Member
    46

    Nov 15, 2009
    103
    3
    46
  3. kinetic

    kinetic Well-Known Member
    Thread Starter
    38

    Oct 27, 2009
    104
    23
    38
    It actually was me, but thanks for the heads up. :)
     

Share This Page

Loading...