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 12-3 The Share content target app sample’s manifest declarations.<br />

The Share start page, target.html, is just a typical <strong>HTML</strong> page with whatever layout you require for<br />

performing the share task. This page typically operates independently of your main app: when your app<br />

is chosen through Share, this page is loaded and activated by itself and thus has an entirely separate<br />

script context. This page should not provide navigation to other parts of the app and should thus load<br />

only whatever code is necessary for the sharing task. (The Executable and Entry Point options are not<br />

used for apps written in <strong>HTML</strong> and JavaScript; those exist for apps written in other languages.)<br />

503

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

Saved successfully!

Ooh no, something went wrong!