Question

I have noticed, that some wp8 apps (e-mail app etc.) updates their live tiles immediately when internet connection is available. Is there any way how to achieve same thing without push notifications using event (Microsoft.Phone.Net.NetworkInformation.NetworkStatusChanged)? I know that there are Periodic tasks and Resource intensive tasks, but they run only once per 30 minutes. Background agent downloads small amount of data, and show notification if data are not equal with data from foreground app.

Était-ce utile?

La solution

There is no way on WP8, how to trigger update of your app Tile when network connection is available again, sorry. You just need to trust the OS that it will start your PeriodicTask on regular basis.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top