Windows Windows Phone http://bit.ly/TileTemplateCatalog accept Mechanism Scenario Expires WinRT API Local Update a tile immediately, while the app is running or from a background task Never TileUpdateManager tileUpdater.Update() Scheduled Update a tile once,

Download Report

Transcript Windows Windows Phone http://bit.ly/TileTemplateCatalog accept Mechanism Scenario Expires WinRT API Local Update a tile immediately, while the app is running or from a background task Never TileUpdateManager tileUpdater.Update() Scheduled Update a tile once,

Windows
Windows Phone
http://bit.ly/TileTemplateCatalog
accept
Mechanism
Scenario
Expires
WinRT API
Local
Update a tile immediately, while the app is
running or from a background task
Never
TileUpdateManager
tileUpdater.Update()
Scheduled
Update a tile once, at a specific date and
time. E.g., tomorrow at 4pm
3 days
TileUpdateManager
tileUpdater.AddToSchedule()
Periodic
Update a tile by polling a remote URI on an
interval. E.g., every 30 minutes
3 days
TileUpdateManager
tileUpdater.StartPeriodicUpdate()
3 days
PushNotificationChannelManager
Update a tile immediately, by sending a
push notification from your server
Push
-or-
Send a Raw notification to wake a
background task that triggers a tile update
<tile>
<visual version="2">
<binding template="TileSquare150x150Text01">
<text id="1">New Message</text>
<text id="2">Thomas Fennel</text>
<text id="3">Looking forward to your \\build\ talk next week</text>
<text id="4"></text>
</binding>
<binding template="TileWide310x150SmallImageAndText02">
<image id="1" src="http://favoritesocialmediasite.com/profiles/thomas.png" />
<text id="1">New Message</text>
<text id="2">Thomas Fennel</text>
<text id="3">Looking forward to your \\build\ talk next week</text>
<text id="4"></text>
<text id="5"></text>
</binding>
</visual>
</tile>
Cloud
Any bitmap generator
Windows
Phone
XAML
XamlRenderingBackgroundTask
Windows
Phone
Silverlight
WriteableBitmap
Scenario
Recommendation
You are creating a new Windows Phone Silverlight 8.1 app
WNS / WinRT
You are upgrading your Windows Phone Silverlight 8.0 app and want to add notifications for
the first time
WNS / WinRT
WNS / WinRT
You are upgrading your Windows Phone Silverlight 8.0 app and already using MPN
notifications
-orMPN / .NET
/ProjectFolder
/images
logo.scale-100.png
logo.scale-180.png
logo.scale-240.png
/contrast-black
logo.scale-100.png
logo.scale-180.png
logo.scale-240.png
/contrast-white
logo.scale-100.png
logo.scale-180.png
logo.scale-240.png
/ja-JP
logo.scale-100.png
logo.scale-180.png
logo.scale-240.png



<image id="1" src="ms-appx:///images/logo.png"/>
<image id="1" src="ms-appx:///images/logo.scale-180.png"/>
<image id="1" src="ms-appx:///images/contrast-black/logo.scale-100.png"/>
/contrast-black
logo.scale-100.png
logo.scale-180.png
logo.scale-240.png
/contrast-white
logo.scale-100.png
logo.scale-180.png
logo.scale-240.png
<meta
<meta
<meta
<meta
<meta
<meta
name="application-name" content="Contoso" />
name="msapplication-TileColor" content="#009900" />
name="msapplication-square150x150logo" content="images/mediumtile.png" />
name="msapplication-wide310x150logo" content="images/widetile.png" />
name="msapplication-square310x310logo" content="images/largetile.png" />
name="msapplication-notification"
content="frequency=30; polling-uri=notifications/tileContent.xml;" />
document.addEventListener('mssitepinned', startPeriodicUpdate, false);
function startPeriodicUpdate() {
var uri = "notifications/tileContent.xml";
window.external.msEnableTileNotificationQueue(true);
window.external.msStartPeriodicTileUpdate(uri);
}