Creating a Share Target
The other half of sharing is being a share target. A share target appears in the list of apps when you open the Share charm. For example, if you are creating a photo gallery app then you might want to make the app a share target for pictures.
The My Notes app acts as a share target for text or HTML content. For example, if you are in the standard Windows Mail app, you can click the Share charm to create a new note that contains the email message. Or, if you are viewing a web page in Internet Explorer then you can click the Share charm to create a note that contains a summary of the web page (see Figure 13.5 and Figure 13.6).
Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.