windows-phone-8 – 新的Live磁贴在Windows Phone Silverlight 8.1应用程序
发布时间:2020-09-01 20:33:31 所属栏目:Windows 来源:互联网
导读:所以,当我从BUILD观看这段视频时,我觉得这很容易…… 但我似乎无法通过执行以下操作来更改我的WP Silverlight 8.1应用程序的磁贴. const string xml = tile + visual + binding template=TileSquareText01 + text
所以,当我从BUILD观看这段视频时,我觉得这很容易…… 但我似乎无法通过执行以下操作来更改我的WP Silverlight 8.1应用程序的磁贴. 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); 请注意我还创建了一个具有完全相同代码的Windows RunTime Windows Phone 8.1,它工作得很好. 在msdn上,它明确指出TileUpdateManager支持Windows Phone Silverlight 8.1.所以我真的不知道这里缺少什么. 在清单中,确保将通知类型设置为WNS.如果将其设置为MPNS,则必须以旧方式使用通知.更多信息:http://msdn.microsoft.com/en-us/library/dn642085(v=vs.105).aspx (编辑:台州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- api – Windows Phone应用程序中的捐赠
- windows – 如何停止’gem’实用程序访问我的主目录?
- WIN2000 Apache php mysql 安装及安全手册
- window python2.7 ImportError: No module named MySQLdb
- windows-phone-7 – 多长时间调用SpriteBatch.Begin()/.End
- windows-installer – 安装期间的错误代码2753
- WPF:xaml中的权力
- windows-phone-7 – Caliburn Micro中的墓碑
- Windows 10 下彻底关闭 Hyper-V 服务
- Windows Filtering Platform用户模式或内核模式?
推荐文章
站长推荐
热点阅读