1

I have live tiles in my app and is not a web service app. Live tiles are updated on exiting of the app. So if the user does not open the app for a day it does not get updated.

Can I update without having to go to a server?? Can Tiles take the values from the app by firing the app by itself or can live tiles take values from app with out having the user opening it on a daily basis?

Alfah

alfah
  • 2,077
  • 1
  • 31
  • 55

1 Answers1

4

If you register a PeriodicTask and you will have 25 seconds to execute every 30 minutes, during which time you can update your live tiles.

See Background Agents Overview for Windows Phone for more information.

Richard Szalay
  • 83,269
  • 19
  • 178
  • 237
  • Thank you, I checked the API's which wont work for a Periodic Task, since IsolatedStorage does not appear in list, we would be able to access data from I isolated storage right? – alfah Jun 22 '12 at 11:22
  • 1
    @alfah - You can access isolated storage from a periodic task. – Richard Szalay Jun 22 '12 at 11:26
  • 1
    But don't forget to wrap access to it using a [global mutex](http://msdn.microsoft.com/en-us/library/hh202944%28v%3Dvs.92%29.aspx) since your application and background task can be running at the same time – Richard Szalay Jun 24 '12 at 03:20