none
Can't get Live Tile to Work

    Question

  • My live tile on the Start screen didn't work so I tried making it simpler and simpler to isolate the problem.  I eventually got back to what is shown below, and it still doesn't work. It doesn't change the existing tile. Can anyone see why?

    doc1 is an XMLDocument and doc1.GetXml() gives me this:

    <tile>
      <visual>
        <binding template="TileWideImageAndText01">
          <image id="1" src="http://i.s-microsoft.com/global/ImageStore/PublishingImages/FY13/Asset/highlights/Store_1127_420x210_EN_US.jpg" alt="not found"/>
          <text id="1">QPTR1</text>
        </binding>
      </visual>
    </tile>

    Then I have these two lines of code:

        TileNotification tileNotification = new TileNotification(doc1);
        TileUpdateManager.CreateTileUpdaterForApplication().Update(tileNotification);

    Nothing seems to happen when this code runs.

    I have InternetClient turned on in Package.appxmanifesrt.

    The only thing I could get to work was a tile with no image.

     

     

    Friday, January 25, 2013 3:37 PM

Answers

  • I think it should scale the image but you can try using an image (310 x 150) just to give it a shot...

    another thing you want to make sure is the fact that the application should have a wide tile defined in the app manifest and it is currently using the wide tile.


    Can Bilgin
    Blog Samples CompuSight

    • Marked as answer by Jack Cole Friday, January 25, 2013 5:51 PM
    • Unmarked as answer by Jack Cole Monday, January 28, 2013 7:52 PM
    • Proposed as answer by Can BilginMVP Tuesday, January 29, 2013 11:44 AM
    • Marked as answer by Jack Cole Wednesday, January 30, 2013 5:44 PM
    Friday, January 25, 2013 3:57 PM

All replies

  • I think it should scale the image but you can try using an image (310 x 150) just to give it a shot...

    another thing you want to make sure is the fact that the application should have a wide tile defined in the app manifest and it is currently using the wide tile.


    Can Bilgin
    Blog Samples CompuSight

    • Marked as answer by Jack Cole Friday, January 25, 2013 5:51 PM
    • Unmarked as answer by Jack Cole Monday, January 28, 2013 7:52 PM
    • Proposed as answer by Can BilginMVP Tuesday, January 29, 2013 11:44 AM
    • Marked as answer by Jack Cole Wednesday, January 30, 2013 5:44 PM
    Friday, January 25, 2013 3:57 PM
  • Hi ,

    I had the same problem too but it all has to do with the images. Be extra careful with the sizes as Can Bilgin said.

    Here is a good site for re sizing your images.

    http://www.picresize.com/

    I used that for my app.

    thank you


    Friday, January 25, 2013 4:23 PM
  • Can was absolutely correct.  I had chosen a template for a wide tile and was trying using it with start screen set up for a small tile.

    I am taking a few days off work to try to get a proof-of-concept working for each critical piece of the app and I spent a long time spinning my tires on this.

    Thank you very much Can.

    Jack

    Friday, January 25, 2013 6:16 PM
  • thought this problem was solved... are you having issues with tiles again?

    Can Bilgin
    Blog Samples CompuSight

    Tuesday, January 29, 2013 11:43 AM