locked
Can't update secondary tile RRS feed

  • Question

  • Hello everyone,

    I'm creating an app that allows the user to add secondary tiles. I want to update those tiles with some data but every time I do a 

    Notifications.TileUpdateManager.createTileUpdateForSecondaryTile("id").update(tileNotification);
    

    I get the following:

    "JavaScript runtime error: The application identifier provided is invalid. WinRT information: The application identifier is invalid."

    If I use this instead:

    Notifications.TileUpdateManager.createTileUpdaterForApplication().update(tileNotification);

    The main tile is updated with no problem (both tiles are wide tiles).

    The id I'm using to identify the tile is the correct one (I've hardcoded it and I've also done a WIndows.UI.StartScreen.SecondaryTile.findAllAsync() just in case the id was different for some weird reason).

    If I don't use any identifier then the exception is: Object doesn't support this action.

    Am I doing something wrong? Is this a bug in the API? I've already tried to refresh and restart the device just in case but the result is still the same :(

    Thanks!

    Wednesday, September 28, 2011 12:12 AM

Answers

All replies