1. noirsoft's Avatar
    My "PollenWatch" app development is chugging along, and I'm currently working on the task of getting my Live Tile to update even when the app is not running. I've looked over the docs, and I think I know how I should do it, but I'm not 100% sure.

    My app queries a web site to pull an Xml document (formatted like an RSS atom) which contains the information I need to display in-app and on the tile.

    My first question is should I even bother with synchronization between the main app and the PeriodicTask, or is it safe to just have the app update the tile info when it runs and the PeriodicTask do the same?

    If I do synchronize, it looks like the preferred way would be to write the XML document to a mutex-protected file in isolated storage, then update the tile from that. Again, it seems like I would need to have both the app and the PeriodicTask updating the live tile, and this is why I'm not sure that I even need to save the XML to a file in the simple case.

    If I eventually wanted to make it only pull the information if the file was out of date (data only updates once per day) then it would make sense to want to coordinate between the two and use the file as a local cache to avoid hitting the web site too often.

    Does my understanding seem correct and in line with best practices? Thanks.
    Last edited by noirsoft; 04-09-2014 at 06:17 PM. Reason: fix typo
    04-09-2014 06:16 PM
  2. Westoncreg's Avatar
    Sir your app will be a life saver for me (super allergic to pollen) how ever I do not know which would be better just though I'd encourage ya :)
    04-09-2014 06:22 PM
  3. noirsoft's Avatar
    It's a lifesaver for me as the author. :) I'm getting data from pollen.com so it only works in the US, but would be willing to use other feeds in the future once I get the app basics settled. I really want to get a good live tile, lock screen, and toast notifications working before I publish it.
    04-09-2014 06:54 PM

Similar Threads

  1. Your thoughts on "in app" purchases
    By Guytronic in forum General Phone Discussion
    Replies: 7
    Last Post: 04-12-2014, 06:10 AM
  2. Cortana And Siri's Beef Blows Up!
    By Wilguens Joachin in forum Windows 10
    Replies: 4
    Last Post: 04-10-2014, 05:26 PM
  3. Grab some popcorn and kick back with these top movie and television apps for Windows 8
    By WindowsCentral.com in forum Windows Central News Discussion & Contests
    Replies: 0
    Last Post: 04-09-2014, 04:00 PM
  4. McDonaldís launches official app for Sweden, teases SEQR support for mobile payments
    By WindowsCentral.com in forum Windows Central News Discussion & Contests
    Replies: 0
    Last Post: 04-09-2014, 03:40 PM