How to determine when SCREEN_OFF_TIMEOUT has changed?

by Mike Bautista » Thu, 14 Jan 2010 04:05:15 GMT


Sponsored Links
 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.



How to determine when SCREEN_OFF_TIMEOUT has changed?

by Dianne Hackborn » Thu, 14 Jan 2010 04:19:07 GMT


 Sorry there is no notification for this.




>


Sponsored Links


How to determine when SCREEN_OFF_TIMEOUT has changed?

by Mike Bautista » Fri, 15 Jan 2010 12:35:28 GMT


 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?





> >



Other Threads

1. Ask Magic 32A , 32B

Guys

Karena gak punya Magic tp di mintain tolong temen ROOT or Upload ROM, hehehe jadi bingung nih, tapi beda ya BTW, Magic 32B itu nama lainnya Touch 3G ya Sebener-nya di punya udah ROOT dan Custom, tp karen beli 2nd so dah gimana gitu agak berantakan, spt MemCard main ganti aja (tadinya dpt 2G, langsung di ganti 8G, yg lama dah di format (simpen) ) :P -- Jus* ~ send using pc jangkrik krik krik ~ -- "Indonesian Android Community [id-android]"

2. home based work

http://www.123maza.com

--

3. DDMS on windows stop detecting Emulator after sometime

4. cari htc magic

5. qtrace.insn

6. Recovery RA-hero-v1.6.2

7. Help: Magic 32A, setelah join latitude maps jadi force close