Local push notification for Win8 Live Tile running JS code inside app

I am trying to send updates to my app bar. This works great when running the application. I can, for example, easily send a tile update notification for a tile when the user clicks a button.

What I cannot work out is how to refresh the tile when the app is down. The only option I have found to do this is to poll (or push) the remote web server using REST

on HTTP

. This is not ideal for me and I cannot believe this is the only way to update the tile.

The ideal here is to specify a local JS file to run at any given interval, say 15 minutes, as recommended by Tile.

As stated, I'm using JavaScript all over the place, not C #.

Is it possible?

+3


source to share


1 answer


You have several options. You can implement a Background Job for your app that can refresh the tile. See Background Quickstart for information on getting started . Day 21 GenerationApp also contains additional information on working with background tasks.



Another option is to use Push Notifications. You can read an overview of Push Notifications and also check out Azure Mobile Services for an easy way to deliver notifications in the cloud.

+1


source







All Articles