我在我的Windows 8.1应用程序中使用了tile更新。它之前运行良好,但今天,我的应用程序始终停在StartPeriodicUpdateBatch
这是我的代码:
TileUpdater tileUpdater = TileUpdateManager.CreateTileUpdaterForApplication();
tileUpdater.EnableNotificationQueue(true);
Uri[] uris = new Uri[5];
uris[0] = new Uri(tileUrl1);
uris[1] = new Uri(tileUrl2);
uris[2] = new Uri(tileUrl3);
uris[3] = new Uri(tileUrl4);
uris[4] = new Uri(tileUrl5);
tileUpdater.StartPeriodicUpdateBatch(uris, PeriodicUpdateRecurrence.HalfHour);
以下是网址的回复:
<tile>
<visual>
<binding template="TileWideImageAndText01">
<image id="1" src="http://media.baotintuc.vn/2014/02/27/16/09/nha-truyen-giao.jpg" alt="alt text"/>
<text id="1">
Text
</text>
</binding>
<binding template="TileSquarePeekImageAndText04">
<image id="1" src="http://media.baotintuc.vn/2014/02/27/16/09/nha-truyen-giao.jpg" alt="alt text"/>
<text id="1">
Text
</text>
</binding>
</visual>
</tile>