How to register for periodic Win8 release notifications?

I am working on a Win8-UI-App (formerly called Metro ...) and am trying to implement Periodic ( Documentation for different methods) Tile Updates (Live Tiles) for the first time.

I found a couple of very good resources on the Internet and was able to do this. Unfortunately, the question of where I should register for notifications remains unresolved:

Do I need to register for notifications every time the application starts (for example, in the OnLaunched () method) of App.xaml.cs? β€œOr is there another, more professional way to do this?” (I could submit to save if I am already registered for the service, or is there a variable that I can access to find out if notifications are registered?)

Thank you!

PS: For anyone who is also familiar with this, see this https://stackoverflow.com/a/166185/270 , this example , types of tile patterns and Dev Center for quick launch :)

+4
source share
1 answer

Periodic updates will continue until they are explicitly stopped or your application is uninstalled. Technically, you have to do this only once. But the Guide and checklist for periodic updates states

Call the StartPeriodicUpdate or StartPeriodicUpdateBatch method each time your application starts or focuses. This ensures that the contents of the tile will be updated every time the user launches or switches to the application.

Accordingly, launching applications and resuming applications are good candidates for calling StartPeriodicUpdate .

+1
source

All Articles