I have a Windows Phone 8 supporting Live Tiles (the default medium and small). I update the Live Tile using a fairly standard code
var tile = ShellTile.ActiveTiles.First();
if (tile == null) return;
var data = new StandardTileData {Title = "some title"};
data.BackgroundImage = new Uri("/Background.png", UriKind.Relative);
data.Count = count;
tile.Update(data);
I want to add support for the Large tile but I want to to be different. I do not want to use the count and I want to render some custom text to the images:
var data = new StandardTileData {Title = "some title"};
data.BackgroundImage = new Uri("path to a custom rendered image", UriKind.Relative);
data.Count = 0;
My question is, how do I determine if my Live tile is Medium (small) or Large make the appropriate update? Or how do I set the tile update to be entirely different for Medium (small) and Large tile?