23.01.2018 Views

MICROSOFT_PRESS_EBOOK_PROGRAMMING_WINDOWS_8_APPS_WITH_HTML_CSS_AND_JAVASCRIPT_PDF

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FIGURE 13-14 Push notifications originate with an always-running web service and are then sent to the Windows<br />

Push Notification Service for delivery to specific clients (a specific app on a specific user device) through their<br />

registered WNS channels.<br />

A helpful summary of these different update mechanisms can be found on Choosing a notification<br />

delivery method in the documentation, a topic that includes various examples of when you might use<br />

each method. Whatever the case, we’re now ready to see the details of how we employ all of them in an<br />

app to help keep a system alive with activity.<br />

Tiles, Secondary Tiles, and Badges<br />

The very first thing you should know about your app tile is that if you want to enable live wide tiles<br />

(including secondary ones), you must include a wide logo image in the Application UI section of your<br />

manifest as shown below. Without it, you can still have live square tiles, but wide tile updates will be<br />

ignored.<br />

At this point I encourage you to go back to Chapter 3, “App Anatomy and Page Navigation,” and<br />

review the “Branding Your App 101” section where we discuss how different bits in the manifest affect<br />

your tiles, such as the Short Name and Show Name settings. As also covered in that section, remember<br />

to provide different scaled versions of your logo and wide logo images. Even though you might issue<br />

tile updates as soon as your app is run, your static tiles will be essential to the user’s first impression of<br />

your app after it’s acquired from the Windows Store. The static tiles are also what the user will see if he<br />

or she turns your live tiles off or if all your updates expire. So, even if you plan for live tiles, be sure to<br />

still invest in great static tile designs as well.<br />

570

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

Saved successfully!

Ooh no, something went wrong!