|
|
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?
I downloaded the samples but can see how to install them... Thanks!
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.
http://sudhirchekuri.blogspot. in/2012/11/addi ng-live-tiles-t o-javascript-ht ml.html
Is it Possible to have a Slide show on Tile of Images from Picture Library?
http://sudhirchekuri.blogspot. in/2012/11/addi ng-live-tiles-t o-javascript-ht ml.html
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.
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/downl oads/win8vbtile sxlinq.zip
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 ITileSquareBloc k = TileContentFact ory.CreateTileS quareBlock()
squareContent.T extBlock.Text = "5"
squareContent.T extSubBlock.Tex t = "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.
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