Profilo di ToddTales of a Gadget Develo...FotoBlogElenchi Strumenti Guida
    23 settembre

    Sidebar gadgets and resuming from sleep

    In 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)

    Attendere...
    Il commento immesso è troppo lungo. Immetti un commento più breve.
    Immissione non effettuata. Riprova.
    Impossibile aggiungere il commento al momento. Riprova più tardi.
    Per aggiungere un commento è necessaria l'autorizzazione di un genitore. Chiedi autorizzazione
    I tuoi genitori hanno disattivato i commenti.
    Impossibile eliminare il commento al momento. Riprova più tardi.
    Hai raggiunto il numero massimo di commenti pubblicabili giornalmente. Riprova tra 24 ore.
    Impossibile lasciare commenti. La funzionalità è stata disattivata perché i sistemi hanno rilevato una possibile attività di spamming dal tuo account. Se ritieni che il tuo account è stato disattivato per errore, contatta il supporto tecnico di Windows Live.
    Esegui il seguente controllo di protezione per completare la pubblicazione del commento.
    I caratteri digitati nel controllo di protezione devono corrispondere ai caratteri dell'immagine o della riproduzione audio.

    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

    Jan Tha scritto:
    Cool, exactly what i was looking for. Thanks, Jan
    8 Ott.

    Riferimenti

    L'URL di riferimento per questo intervento è:
    http://everythingandnothing.spaces.live.com/blog/cns!759F0B3484575700!249.trak
    Blog che fanno riferimento a questo intervento
    • Nessuno