w8 tiles & toasts sb

Post on 24-May-2015

83 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

Windows 8 / Windows 8.1 Live Tiles & Toast Notifications

TRANSCRIPT

Windows 8/8.1 Live Tiles & Toast

Notifications

By

Sourav BhattacharyaMicrosoft Student Partner

MSP 2014/607

sourav.bhattacharya@studentpartner.com

Agenda

Q&A

Live Tiles

ToastNotifications

XAML & C#

Live Tiles

Primary TilesTap on tile to launch or switch to an app

Resizable Tiles

Turn On or Turn Off Live Updates

Small

Medium

Wide

Large

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.

DemoLive 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

DemoToastNotifications

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.

top related