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.

Info Tip is tooltip text for when the user hovers over a file of this type and the app is the primary<br />

association. The Logo is a little tricky; in Visual Studio here, you simply refer to a base name for an<br />

image file, like you do with other images in the manifest. In your actual project, however, you should<br />

have multiple files for the same image in different target sizes (not resolution scales): 16x16, 32x32,<br />

48x48, and 256x256. The Association launching sample uses such images with targetsize-* suffixes in the<br />

filenames. 59 These various sizes help Windows provide the best user experience across many different<br />

types of devices.<br />

FIGURE 12-13 The Declarations > File Type Associations UI in the Visual Studio manifest designer.<br />

Under Edit Flags, these options control whether an “Open” verb is available for a downloaded file of<br />

this type: checking Open Is Safe will enable the verb in various parts of the Windows UI; checking Always<br />

Unsafe disables the verb. Leaving both blank might enable the verb, depending on where the file is<br />

coming from and other settings within the system.<br />

59 Ignore, however, the sample’s use of targetsize-* naming conventions for the app’s tile images; target sizes apply only to<br />

file and URI scheme associations.<br />

528

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

Saved successfully!

Ooh no, something went wrong!