How to determine when SCREEN_OFF_TIMEOUT has changed?


Last Updated:

  1. kinetic

    kinetic Well-Known Member This Topic's Starter

    Joined:
    Oct 27, 2009
    Messages:
    104
    Likes Received:
    23
    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

    Joined:
    Nov 15, 2009
    Messages:
    103
    Likes Received:
    3
  3. kinetic

    kinetic Well-Known Member This Topic's Starter

    Joined:
    Oct 27, 2009
    Messages:
    104
    Likes Received:
    23
    It actually was me, but thanks for the heads up. :)
     

Share This Page

Loading...