23.01.2018 Views

MICROSOFT_PRESS_EBOOK_PROGRAMMING_WINDOWS_8_APPS_WITH_HTML_CSS_AND_JAVASCRIPT_PDF

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing Secondary Tiles .................................................................................................................................................. 575<br />

Basic Tile Updates ................................................................................................................................................................... 576<br />

Choosing a Tile Template .................................................................................................................................................... 577<br />

Creating the Payload, Method 1: Populating Template Content .......................................................................... 580<br />

Creating the Payload, Method 2: XML Strings ............................................................................................................. 581<br />

Creating the Payload, Method 3: The Notifications Extensions Library .............................................................. 581<br />

Using Local and Web Images ............................................................................................................................................. 582<br />

Branding .................................................................................................................................................................................... 584<br />

Cycling, Scheduled, and Expiring Updates .................................................................................................................... 585<br />

Badge Updates ........................................................................................................................................................................ 587<br />

Periodic Updates ......................................................................................................................................................................... 590<br />

Web Services for Updates .................................................................................................................................................... 592<br />

Using the Localhost................................................................................................................................................................ 595<br />

Windows Azure ....................................................................................................................................................................... 596<br />

Toast Notifications ...................................................................................................................................................................... 599<br />

Creating Basic Toasts ............................................................................................................................................................. 600<br />

Butter and Jam: Options for Your Toast ......................................................................................................................... 602<br />

Tea Time: Scheduled Toasts ................................................................................................................................................ 604<br />

Toast Events and Activation ................................................................................................................................................ 606<br />

Push Notifications and the Windows Push Notification Service ................................................................................. 606<br />

Requesting and Caching a Channel URI (App)............................................................................................................. 608<br />

Managing Channel URIs (Service)..................................................................................................................................... 610<br />

Sending Updates and Notifications (Service)................................................................................................................ 610<br />

Raw Notifications (Service).................................................................................................................................................. 612<br />

Receiving Notifications (App)............................................................................................................................................. 612<br />

Debugging Tips ....................................................................................................................................................................... 614<br />

Windows Azure Toolkit and Windows Azure Mobile Services................................................................................ 614<br />

Background Tasks and Lock Screen Apps ........................................................................................................................... 615<br />

Background Tasks in the Manifest .................................................................................................................................... 616<br />

Building and Registering Background Task ................................................................................................................... 618<br />

13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!