330 likes | 534 Views
WPH309. Enhanced Push Notifications and Live Tiles for Windows Phone. Peter Torr (http://blogs.msdn.com/ptorr) Program Manager Microsoft Corporation. During this Session You have a Chance to Win a Windows Phone. announcement. Agenda. General Information for Push and Tiles.
E N D
WPH309 Enhanced Push Notifications and Live Tiles for Windows Phone Peter Torr (http://blogs.msdn.com/ptorr) Program Manager Microsoft Corporation
During this Session Youhave a Chance to Win a Windows Phone announcement
Agenda General Information for Push and Tiles New Features • Experience • Architecture • Scenarios/Popular Applications • What We Heard… • New APIs • API Demo • Push Features • Performance/Efficiency/Reliability • Tile/Toast • Push Demo
Enhanced Push Notifications and Live Tiles for Windows Phone Context
Push Notifications and Live Tiles Push Notificationsoffer developers a way to send timely information to their applications even when they are not around Windows Phone has the unique ability to provide the end user glanceable access to the information they care most about, via Live Tiles
Push Notification UX Components Toast notifications Toast notifications Tile notifications Tile notifications • Default tile pinned to start • Count, Title, Background Toast notifications: Raw notifications 7 Title Count Title Background
Push Notification Architecture Cloud Service Windows Phone 7 Push URI to Cloud Service 4 Push enabled application Push URI request/response 3 1 HTTP Post to URI with payload 5 Push notification to device Push client service 6 2 Push client/server negotiation MPNS
Scenarios/Popular Applications Weather Apps Send to WP7 Chess by Post Weather Tile Warning Toast Link Tile Link Toast Turn Tile Move Toast AlphaJax Beezz Seattle Traffic Map Turn Tile Move Toast Unread Tile Direct Toast Traffic Tile There are hundreds and hundreds of Push apps in Marketplace!
What We Heard… Give me more control of my tile Give me richer notifications and interaction Give me more reliable notifications Give me more endpoints per phone Give me more cloud samples
Enhanced Push Notifications and Live Tiles for Windows Phone New features!
Live Tiles – Local Tile API Local tile updates (these are not push) • Full control of all properties when your app is in the foreground or background • Calorie counter, sticky notes MultiTile! • Create/Update/Delete • Launches directly to page/experience Application Tile Launches main app experience Secondary Tile Launches world news page Secondary Tile Launches local news page
Live Tiles – Local Tile API Back of tile updates • Full control of all properties when your app is in the foreground or background • Content, Title, Background BreakingHeadline • Flips from front to back at random interval • Smart logic to make flips asynchronous World News BackTitle BackContent BackBackground
Live Tiles – Local Tile API Create, Update, Delete demo
Push Notifications – Core Enhancements Rewritten TDET mechanism for broader network compatibility Lowered polling interval for non-persistent connection-friendly networks RELIABILITY 30 Endpoint Limit! TLS resume for sessions within 8 hours Hints for improved radio dormancy Concurrent tile downloads for less radio uptime EFFICIENCY Faster state machine for faster client service Smarter queue logic for less redundancy PERFORMANCE
Push Notifications – New Features! MultiTile/Back of Tile Support • Multiple weather locations, news categories, sports team scores, twitter favorites • Can update all tiles belonging to your application • No API Change! – BindToShellTile now binds you to all tiles • Send Tile ID to service and use new attribute to direct update • 3 new elements for back properties <wp:Notificationxmlns:wp="WPNotification"> <wp:TileId="/WorldNews.xaml?how=start"> <wp:BackgroundImage>http://www.contoso.com/worldTile.png</wp:BackgroundImage> <wp:Count>4</wp:Count> <wp:Title>World News Updates</wp:Title><wp:BackBackgroundImage>http://www.contoso.com/worldBack.png</wp:BackBackgroundImage> <wp:BackContent>Happy World News</wp:BackContent> <wp:BackTitle>World News</wp:BackTitle> </wp:Tile> </wp:Notification>
Push Notifications – New Features! Deep Links in Toasts • Take users directly to an application experience: weather alerts, breaking news, direct tweets • Use standard SL navigation (OnNavigatedTo) • No API change! – BindToShellToast still all you need • 1 new element to send query parameters with a toast <wp:Notificationxmlns:wp="WPNotification"> <wp:Toast> <wp:Text1>World News Updates</wp:Text1> <wp:Text2>Egypt braces for march in palace square</wp:Text2><wp:Param>/detailsPage.xaml?storyid=186435</wp:Param> </wp:Toast> </wp:Notification>
Push Notifications – New Features! MultiTile, Back of Tile, Deep Links in Toast demo
How’d We Do? Give me more control of my tile • Local/Multi/Back of tile Give me richer notifications and interaction • Multi/Back of tile • Deep Toast Give me more reliable notifications • Reliability, Efficiency, Performance Give me more endpoints per phone • 30 Endpoints! Give me more cloud samples • Azure Recipes, Samples, Rewritten MSDN Docs
Call to Action Creative and inspiring ideas already out there New features open up new scenarios found on no other platform Push notifications are not hard to do right and we’ll keep lowering barriers Thank you to all the developers in my life, both internal and external Stand Out!
Windows Phone Related Content Monday, May 16 WPH201: Windows Phone: What’s New? WPH371-INT: Building a Mobile Message Queue for Windows Phone WPH312: What’s New for Windows Phone Development with Microsoft Silverlight? WPH302: Windows Phone Productivity Scenarios with Microsoft Exchange Server 2010 and Microsoft Office 365 WPH373: Meet the Windows Phone Application Platform Engineering Team
Windows Phone Related Content Tuesday, May 17 WPH308: Multi-tasking and Application Switching for Windows Phone OSP312: Developing Microsoft Office Business Solutions that Span the PC, Windows Phone, and the Web WPH309: Enhanced Push Notifications and Live Tiles for Windows Phone WPH303: Understanding the Windows Phone Development Tools COS315: Building Windows Phone Applications with the Windows Azure Platform
Windows Phone Related Content Tuesday, May 17 WPH305: Internet Explorer 9 on Windows Phone OSP209 Building Your First Windows Phone Application for Microsoft SharePoint 2010 WPH203: Understanding Windows Phone Marketplace WPH375-INT: Building Multi-tasking Enabled Windows Phone Applications
Windows Phone Related Content Wednesday, May 18 WPH202: Windows Phone at Microsoft DEV317: Using Microsoft Visual Basic to Build Windows Phone Applications WPH310: Building Your First Windows Phone Game with XNA WPH374-INT: Hardcore Windows Phone Development Questions DEV205: Microsoft Expression for Developers: Demystifying User Interface Design WPH306: Building Windows Phone Applications with Microsoft Silverlight and XNA WPH304: New Windows Phone Data Access Features
Windows Phone Related Content Thursday, May 19 WPH301: Deploying Windows Phone in the Enterprise DPR303: Developing Enterprise-Grade Mobile Solutions WPH307: Connecting Windows Phones and Slates to Windows Azure WPH372-INT: Windows Phone Marketplace: Interactive WPH311: Lessons Learned about Application Performance on Windows Phone WPH311: Lessons Learned about Application Performance on Windows Phone SIM323: User Identity and Authentication for Desktop and Phone Applications
Windows Phone ResourcesQuestions? Demos? The latest phones? Visit the Windows Phone Technical Learning Center for demos and more… • Business IT resources • blogs.technet.com/b/windows_phone_4_it_pros Developer resources craete.msdn.com Experience Windows Phone 7 on-line and get a backstage pass www.windowsphone.com
Win a Windows Phone Contest SESSION CONTEST* HAT CONTEST* • QUESTIONS? Go to the WPC Information Counter at the TLC • How do you enter? • During each Windows Phone session the moderator will post a question;the first person to correctly answer the question and is called on by the moderator will potentially win • Enter by visiting the Windows Phone booth, accepting a free Windows Phone branded hat, and wearing that hat during the Event • How am I selected? * Restrictions apply please see contest rules for eligibility and restrictions. Contest rules are displayed in the Technical Learning Center at the WPH info counter • Each day of the event, a Windows Phone representative will randomly select up to 5 people who are observed wearing their Windows Phone branded hat
Resources • Connect. Share. Discuss. http://northamerica.msteched.com Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn
© 2011 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.
© 2011 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.