App tiles and badges sample

This sample shows how to use an app tile, which is the representation and launch point for your app in the Start screen, and a badge on that tile, which is a method for the app to relay status information to the user when the app is not running.

 
 
 
 
 
(31)
52,902 times
Add To Favorites
4/9/2013
E-mail Twitter del.icio.us Digg Facebook
Sign in to Ask a Question


  • Square Logo doesn't work.
    1 Posts | Last Post May 09, 2013
    • I run this program and click "Send tile notification with text" in Scenario1.
      
      Wide Logo works.
      But Square Logo doesn's work at all. It doesn't show anything.
      Why?
  • Where are the samples??
    2 Posts | Last Post March 15, 2013
    • I downloaded the samples but can see how to install them...  
      
      Thanks!
    • I'm having the same problem
  • Can we show Images from Picture Library on Tile?
    2 Posts | Last Post March 02, 2013
    • Can we show Images from Picture Library on Tile
    • You would need to programmatically add them into your application's Local folder, then get a Uri object from it. Then you can show images. My advice would be that you use a wide tile that only shows images and no text if that is what you want to do.
  • html javascript live tiles
    1 Posts | Last Post November 27, 2012
    • http://sudhirchekuri.blogspot.in/2012/11/adding-live-tiles-to-javascript-html.html
  • Is it Possible to have a Slide show on Tile of Images from Picture Library?
    2 Posts | Last Post November 27, 2012
    • Is it Possible to have a Slide show on Tile of Images from Picture Library?
    • http://sudhirchekuri.blogspot.in/2012/11/adding-live-tiles-to-javascript-html.html
  • Doesn't seem to compile
    2 Posts | Last Post October 15, 2012
    • When I load the solution and hit f5, I get a "file cannot be found" error.  As far as I can tell, all the files from the solution were successfully unzipped.
    • Open the project within VS and after it claims a file doesn't exist, look in the explorer of your project as it should provide an icon to tell you something doesn't exist. Once you've located whatever it claims, right click it and replace/add the item from the correct unzipped path and rebuild.
  • Issues with sample
    2 Posts | Last Post July 27, 2012
    • First off: The samples appear to use StringBuilders which are not Xml safe. Admitedly you are using a simplified encoder for selected text values. However it would make sense to rewrite the sample to use use XmlWriter or LINQ to XML's XElement instead to protect against potential issues trying to inject illegal characters into the Xml nodes.
      
      In addition, the VB sample is missing the Images folder (You can copy them from the C# sample to get that sample working). The VB samples are also missing the parsing code to insert the Square tile that is present in the C# sample implementation. If you revise this, consider using XML Literals in the VB sample as well.
    • In case anyone is interested, I have updated the VB sample using LINQ to XML and adding the images. For now, they can be downloaded directly from http://www.thinqlinq.com/downloads/win8vbtilesxlinq.zip
  • Doesn't work for square live tiles?
    2 Posts | Last Post July 27, 2012
    • The example doesn't appear to work for square live tiles (it works for the wide).
      
      Stepping through the code, it seems it "breaks" when it checks If SquareContent IsNot Nothing in the GetContent function in the TileContent.vb - the SquareContent property is always nothing even if you set a value on the xaml page you are calling the method from
      
      
              Dim squareContent As ITileSquareBlock = TileContentFactory.CreateTileSquareBlock()
              squareContent.TextBlock.Text = "5"
              squareContent.TextSubBlock.Text = "Items"
              liveTileContent.SquareContent = squareContent
      
      
    • It appears that the VB sample is missing the code tin insert the square tile option that appears in the C# sample. In addition, the imbedded image in the sample is missing. Copy the Images folder from the C# sample to get this working.
  • Can't open Solution
    1 Posts | Last Post July 12, 2012
    • Hi I'm having issues opening the Solution.  
      
      I have a W8 Preview virtual machine and have installed vs2010 Ultimate I then upgraded the same to VS2012 however when I try to open the solution apparently it was written in a newer version of VS.  I suspect that there is an issue with my VS upgrade but would appreciate any suggestions.
      
      Regards