live-tile

Is it possible to use tile templates with secondary tiles in a Windows Store App?

百般思念 提交于 2019-12-11 07:50:03
问题 The title is the whole question: Is it possible to use tile templates with secondary tiles in a Windows Store App? Also can secondary tiles animate? It looks like the answer is no, even in Windows 8.1 but maybe I am just missing something. Here is a link to the Tile Template: http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.tiletemplatetype.aspx Here is a link to the SecondaryTile class: http://msdn.microsoft.com/library/windows/apps/br242183 It's weird because

Iconic LiveTile push notification via php results in PayloadFormatError

烈酒焚心 提交于 2019-12-11 06:09:32
问题 Final EDIT working code (Huge thanks to Claus for taking time and solving it): class WindowsPhonePushDelay { const Immediate=0; const In450Sec=10; const In900Sec=20; } class WindowsPhonePushNotification { private $notif_url = ''; function WindowsPhonePushNotification($notif_url) { $this->notif_url = $notif_url; } public function send_raw($msg,$message_id=NULL, $delay = WindowsPhonePushDelay::Immediate) { return $this->send_push(NULL,$delay+3,$message_id, $msg); } public function send_normal

Update LiveTile from Background Task WP8.1

拟墨画扇 提交于 2019-12-11 02:43:46
问题 I cannot update manually pinned tile from Background Task. var updater = TileUpdateManager.CreateTileUpdaterForApplication(); updater.EnableNotificationQueue(true); updater.Clear(); XmlDocument tileXml = TileUpdateManager.GetTemplateContent(TileTemplateType.TileWideText03); var title = "Test text"; string titleText = title == null ? String.Empty : title; tileXml.GetElementsByTagName("text")[0].InnerText = titleText; updater.Update(new TileNotification(tileXml)); Exception fires on

Local push notification to Win8 Live Tile running JS code inside app

守給你的承諾、 提交于 2019-12-10 19:12:43
问题 I am trying to send updates to my app's tile. This works fine when the app is running. I can, for example, easily send a tile update notification to the tile when the user clicks a button. What I can't work out is how to update the tile when the app isn't working. The only option I have found for this is to poll (or push from) a remote webserver using REST on HTTP . This isn't ideal for me, and I cannot believe that is the only method of updating the tile. Ideal here would be to specify a

How often can a Windows 8 Live Tile be updated?

拜拜、爱过 提交于 2019-12-10 14:03:11
问题 I'm new to Windows 8 and I'm particularly interested in Live Tiles. I was wondering - How frequently can an app update a live tile? For example, is it possible to create a clock with seconds? 回答1: A Live Tile update every second is far too frequent. The MSDN guidelines for Live Tiles documentation does not set explicit limits on how often a tile can be updated, but does make a few recommendations about the frequency of updates. For an app with very frequently changing content, the highest

How to programatically create a tile in Windows Phone 8.1?

拜拜、爱过 提交于 2019-12-09 03:43:04
问题 In Windows Phone 8 I was able to create a Shell Tile with the following: StandardTileData newTileData = new StandardTileData { BackgroundImage = new Uri("/Images/my_tile_medium.png", UriKind.Relative), Title = "My Tile Title", BackTitle = "My Tile Back", BackBackgroundImage = new Uri("/Images/my_tile_medium_back.png", UriKind.Relative), }; ShellTile.Create(MyAppPages.MainPage("Name=MyAppTile"), newTileData); This no longer works in Windows Phone 8.1. How can I programatically create a tile

Custom live tile rendering issue on Windows Phone (7/8)

荒凉一梦 提交于 2019-12-06 02:13:42
问题 In my Windows Phone app's main page, users can click a button to do some stuff and that will trigger the live tile to update. The problem I am having is, if the user clicks the button and then hit the phone's Back button really quickly, the live tile sometimes will not render properly. This issue rarely happens, but it does happen and when it happens it just looks bad... The way I implement the live tile is, create a user control that looks exactly the same as the live tile and then save it

New Live tiles don't work in Windows Phone Silverlight 8.1 apps?

北城以北 提交于 2019-12-05 11:41:07
So when I was watching this video from BUILD I thought it's gonna be easy... But I can't seem to get the tile of my WP Silverlight 8.1 app to change by doing the following. const string xml = "<tile>" + "<visual>" + "<binding template='TileSquareText01'>" + "<text id='1'>testing 123</text>" + "</binding> " + "</visual>" + "</tile>"; var xmlDoc = new XmlDocument(); xmlDoc.LoadXml(xml); var tileNotification = new TileNotification(xmlDoc); TileUpdateManager.CreateTileUpdaterForApplication().Update(tileNotification); Please note I've also created a Windows RunTime Windows Phone 8.1 with exactly

Custom live tile rendering issue on Windows Phone (7/8)

陌路散爱 提交于 2019-12-04 09:59:36
In my Windows Phone app's main page, users can click a button to do some stuff and that will trigger the live tile to update. The problem I am having is, if the user clicks the button and then hit the phone's Back button really quickly, the live tile sometimes will not render properly. This issue rarely happens, but it does happen and when it happens it just looks bad... The way I implement the live tile is, create a user control that looks exactly the same as the live tile and then save it to isolated storage. Then retrieve it and store it in a FliptileData object. Finally I call the Update

In windows 8 metro style app, how to update live tile while app is not running?

喜欢而已 提交于 2019-12-02 19:48:10
In windows 8 metro style app, how to update live tile while app is not running ? And the live tile start to run when OS system begin to start. http://blogs.msdn.com/b/windowsappdev/archive/2012/04/16/creating-a-great-tile-experience-part-1.aspx "3.Use polling notifications from the cloud to update the tile while the app is not running" But I cannot find any example code. I also try MSDN's PushNotificationSample, But I don't know how to set the "Server URI"? Does anyone have similar experiences? Okay, let's get you answered! Here is every single way and resources for each way to get you started