0

I understand the background is actually an image (WideLogo.png/SmallLogo.png) and specified in the app manifest file. But is it possible to swap these with a new set of images programatically? Based on the information displayed on the tile, I want to change the background color of the tile.

tempid
  • 7,838
  • 28
  • 71
  • 101

2 Answers2

0

You cannot edit the app manifest to change the default color. However, you can render an image with the appropriate background color and content then set it as tile.

For more details on how to achieve that, read: Windows 8 Metro App - Render PNGs

Community
  • 1
  • 1
Mike Boula
  • 276
  • 1
  • 4
0

I don't think you can change the background color of the tile programmatically. That's set in the manifest for the default tile, so that you can overlay a transparent background image for a predictable default look for your tile.

But you can send tile notifications from your app while running, and these can include images and text.

Here's a link to the MSDN docs on tiles and notifications:

http://msdn.microsoft.com/en-us/library/windows/apps/hh779724.aspx

and to the catalog of tile templates you can use:

http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx

One way you could implement this is to programmatically create a tile image with the background color and text you want, and then send that as a tile notification.

devhammer
  • 1,384
  • 1
  • 8
  • 15
  • Thanks for the links. I'm already using tile and notifications with templates. I want to be able to change the background without using the notifications. – tempid Oct 12 '12 at 21:40
  • AFAIK, the only way to change your app's tile is using notifications, either locally, or using the WNS for push notifications. – devhammer Oct 12 '12 at 21:55