Thanks for the response.  So what would be the best way to insure that
the state of Settings.System.SCREEN_OFF_TIMEOUT and the view on my
widget stay consistent?  It seems like the only way would be to poll
the setting every X minutes, but perhaps there's a more optimal way?


On Jan 13, 12:18 pm, Dianne Hackborn <[email protected]> wrote:
> Sorry there is no notification for this.
>
> On Wed, Jan 13, 2010 at 12:02 PM, Mike Bautista <[email protected]> wrote:
> > I'm trying to make my first 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.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to