| Profilo di ToddTales of a Gadget Develo...FotoBlogElenchi | Guida |
|
23 settembre Sidebar gadgets and resuming from sleepIn the process of updating my Soapbox sidebar gadget, I ran into a little problem with timers and resuming from sleep. I had a timer setup to make a network call every 30 minutes, but upon resume the network call would fail and the timer would not be reset into its proper failure state (on failure, the timer switches to 2.5 minute updates, in case your network connection comes back). After poking around for a bit, I found that if I listened for System.Gadget.visibilityChanging to stop and restart the timers, everything started working correctly. Just wanted to share that bit of info in case others are having the same problem. Commenti (1)Per aggiungere un commento, accedi con il tuo Windows Live ID (se utilizzi Hotmail, Messenger o Xbox LIVE possiedi già un Windows Live ID). Accedi Non hai ancora un Windows Live ID? Registrati
RiferimentiL'URL di riferimento per questo intervento è: http://everythingandnothing.spaces.live.com/blog/cns!759F0B3484575700!249.trak Blog che fanno riferimento a questo intervento
|
|
|