locked
Best practices for live hub tiles RRS feed

  • Question

  • Hi,

    I have an app that is using the notification property of a RadHubTile.  In this notification, I want to set a quantity retrieved from a local SQLite database.  The quantity will be dynamic.

    What is the best way to update this notification?  A Background Task?  A simple timer?  or something else?

    Thanks


    Cheri

    Thursday, January 23, 2014 5:35 PM

Answers

  • Assuming this is in your app (and not the start screen tiles) then a background task would be inappropriate, but beyond that it will depend on the data. A timer is one possibility, but if you can trigger a notification when the item is changed rather than polling that will be better.

    --Rob

    • Marked as answer by Cheri Reed Thursday, January 23, 2014 8:43 PM
    Thursday, January 23, 2014 6:30 PM
    Moderator

All replies

  • Assuming this is in your app (and not the start screen tiles) then a background task would be inappropriate, but beyond that it will depend on the data. A timer is one possibility, but if you can trigger a notification when the item is changed rather than polling that will be better.

    --Rob

    • Marked as answer by Cheri Reed Thursday, January 23, 2014 8:43 PM
    Thursday, January 23, 2014 6:30 PM
    Moderator
  • Thank you Rob.  A background task seemed a bit overkill for my needs too.

    Cheri

    Thursday, January 23, 2014 8:43 PM