Windows 8/8.1 
Live Tiles & Toast Notifications 
By 
Sourav Bhattacharya 
Microsoft Student Partner 
MSP 2014/607 
sourav.bhattacharya@studentpartner.com
Agenda
Live Tiles
Primary Tiles 
Tap on tile to launch or switch to an app 
Resizable Tiles 
Small 
Medium 
Wide 
Large 
Turn On or Turn Off Live Updates
Tile Templates 
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh761491.aspx
Secondary Tiles 
Secondary tiles enable users to promote specific content and deep 
links—a reference to a specific location inside of the pinning app— 
from Windows Store app apps onto the Start screen. 
Secondary tiles enable users to personalize their Start screen 
experience with friends, news sources, stock quotes, and other 
items important to them.
Demo 
Live Tiles
XML Codes For Tiles 
<tile> 
<visual> 
<binding template='TileSquareText04'> 
<text id='1'>Live Tile</text> 
</binding> 
</visual> 
</tile>
Classes Required 
XmlDocument : - To load the XML codes 
TileNotification : - To create Tile Notification 
TileUpdateManager : - To update the Tile
Toast Notifications
Toasts 
Tap on toast to interact with it 
Two Types 
Long Duration Toast 
Small Duration Toast
Toast Templates 
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh761494.aspx
Demo 
Toast 
Notifications
XML Codes For Toasts 
<toast> 
<visual> 
<binding template='ToastText01'> 
<text id='1'>Toast Notification</text> 
</binding> 
</visual> 
</toast>
Classes Required 
XmlDocument : - To load the XML codes 
ToastNotification : - To create Toast Notification 
ToastNotificationManager : - To display the Toast 
Note : Set the Toast Capable feature to Yes in the Package App Manifest.
Thank You 
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. 
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy 
of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

W8 Tiles & Toasts SB

  • 1.
    Windows 8/8.1 LiveTiles & Toast Notifications By Sourav Bhattacharya Microsoft Student Partner MSP 2014/607 sourav.bhattacharya@studentpartner.com
  • 2.
  • 4.
  • 5.
    Primary Tiles Tapon tile to launch or switch to an app Resizable Tiles Small Medium Wide Large Turn On or Turn Off Live Updates
  • 6.
  • 7.
    Secondary Tiles Secondarytiles enable users to promote specific content and deep links—a reference to a specific location inside of the pinning app— from Windows Store app apps onto the Start screen. Secondary tiles enable users to personalize their Start screen experience with friends, news sources, stock quotes, and other items important to them.
  • 8.
  • 9.
    XML Codes ForTiles <tile> <visual> <binding template='TileSquareText04'> <text id='1'>Live Tile</text> </binding> </visual> </tile>
  • 10.
    Classes Required XmlDocument: - To load the XML codes TileNotification : - To create Tile Notification TileUpdateManager : - To update the Tile
  • 11.
  • 12.
    Toasts Tap ontoast to interact with it Two Types Long Duration Toast Small Duration Toast
  • 13.
  • 14.
  • 15.
    XML Codes ForToasts <toast> <visual> <binding template='ToastText01'> <text id='1'>Toast Notification</text> </binding> </visual> </toast>
  • 16.
    Classes Required XmlDocument: - To load the XML codes ToastNotification : - To create Toast Notification ToastNotificationManager : - To display the Toast Note : Set the Toast Capable feature to Yes in the Package App Manifest.
  • 17.
    Thank You ©2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.