w8 tiles & toasts sb

17
Windows 8/8.1 Live Tiles & Toast Notifications By Sourav Bhattacharya Microsoft Student Partner MSP 2014/607 [email protected]

Upload: sourav-bhattacharya

Post on 24-May-2015

83 views

Category:

Technology


3 download

DESCRIPTION

Windows 8 / Windows 8.1 Live Tiles & Toast Notifications

TRANSCRIPT

Page 1: W8 Tiles & Toasts SB

Windows 8/8.1 Live Tiles & Toast

Notifications

By

Sourav BhattacharyaMicrosoft Student Partner

MSP 2014/607

[email protected]

Page 2: W8 Tiles & Toasts SB

Agenda

Q&A

Live Tiles

ToastNotifications

XAML & C#

Page 3: W8 Tiles & Toasts SB
Page 4: W8 Tiles & Toasts SB

Live Tiles

Page 5: W8 Tiles & Toasts SB

Primary TilesTap on tile to launch or switch to an app

Resizable Tiles

Turn On or Turn Off Live Updates

Small

Medium

Wide

Large

Page 6: W8 Tiles & Toasts SB

Tile Templates

http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh761491.aspx

Page 7: W8 Tiles & Toasts SB

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.

Page 8: W8 Tiles & Toasts SB

DemoLive Tiles

Page 9: W8 Tiles & Toasts SB

XML Codes For Tiles

<tile> <visual> <binding template='TileSquareText04'> <text id='1'>Live Tile</text> </binding> </visual></tile>

Page 10: W8 Tiles & Toasts SB

Classes Required

XmlDocument : - To load the XML codes

TileNotification : - To create Tile Notification

TileUpdateManager : - To update the Tile

Page 11: W8 Tiles & Toasts SB

Toast Notifications

Page 12: W8 Tiles & Toasts SB

Toasts

Tap on toast to interact with it

Two Types

Long Duration Toast

Small Duration Toast

Page 13: W8 Tiles & Toasts SB

Toast Templates

http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh761494.aspx

Page 14: W8 Tiles & Toasts SB

DemoToastNotifications

Page 15: W8 Tiles & Toasts SB

XML Codes For Toasts

<toast> <visual> <binding template='ToastText01'> <text id='1'>Toast Notification</text> </binding> </visual></toast>

Page 16: W8 Tiles & Toasts SB

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.

Page 17: W8 Tiles & Toasts SB

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.