Presentation is loading. Please wait.

Presentation is loading. Please wait.

Integrating the Windows 8 Experience with Contracts

Similar presentations


Presentation on theme: "Integrating the Windows 8 Experience with Contracts"— Presentation transcript:

1 Integrating the Windows 8 Experience with Contracts
9/19/2018 8:43 PM Integrating the Windows 8 Experience with Contracts Jeremy Foster Developer Evangelist Microsoft codefoster.com @codefoster © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Contracts enable integrating the Windows 8 experience into your app
We’ve seen with different demos how to integrate with Windows 8 through contracts (search, settings, share) that are implemented both by Windows and Apps Let’s dig into the details

3 Search Share Settings PlayTo FilePicker …
Only details the first three in this presentation Play To = steaming media to DLNA aware clients App to App Picking = “File” picker on steroids DEMO: Start Mail Click the + button to create a new Click the Attachement link Show the different « picker » Apps (camera, skydrive, photo…) See for the list of all contracts PlayTo FilePicker

4 Search

5 Modern computer users expect to be just a few keystrokes from the information they’re thinking of.

6 Search demo

7 Share

8 People love to share Share to… Facebook, blog, Twitter, email, …
Integrated in the Charms bar in Windows 8 It’s like a Clipboard with integrated UI 2 sides : source and target

9 Sharing From Source to Target
Source App Share Broker Share Target App Registers with the DataTransfer Manager User selects “Share”, active app is sent event Receives event and fills DataPackage Filters list of Target Apps and Quicklinks Completes Async calls and returns User selects Target App or Quicklink Activate Target as kind shareTarget Activated for sharing 3 different actors: Source from which the Share Charm is required + fill up a DataPackage Broker/Win8 that provides the Charm UI with list of Targets Target that provides UI + extract what it needs from the DataPackage Use the Picture  Share  for the description of the interactions Processes DataPackage contents DataPackage lives in source application Reports Complete

10 Data Package Plain text Formatted text URI HTML Images Files
The source decides what to store into the Data Package.. Even custom schema of data (JSON is a good candidate to serialize objects) Files Custom data formats

11 Share demo Open Photos Select Photo from your local Pictures (does not work on SkyDrive), Win+H | Charms Bar then Share, Select as target  show the integration Enter an address and Send

12 Settings

13 Settings contract provides quick, consistent, in-context access to settings in your app
Very important for the user that it is consistent in all Apps The settings effects applied directly (no cancellation)  the UI must provide the corresponding feedback (for thumbnail size for example) See for guidelines that are checked during Store submission Important for privacy statement for example Mandatory for login experience

14 Settings demo DEMO Launch Mail Win+I or Settings Charms Show the Windows 8 “Permissions” standard settings Show the App settings “Account” Mention the different strategies to display settings: Simple in the Settings Charm pane On top of the Settings Charm pane Within the App (show how the Store behaves) CODE DEMO Nothing to change in the Manifest for this contract

15 PlayTo

16 FilePicker

17 FilePicker demo

18 Recap

19 Search Share Settings PlayTo FilePicker …
Only details the first three in this presentation Play To = steaming media to DLNA aware clients App to App Picking = “File” picker on steroids DEMO: Start Mail Click the + button to create a new Click the Attachement link Show the different « picker » Apps (camera, skydrive, photo…) See for the list of all contracts PlayTo FilePicker

20 © 2012 Microsoft Corporation. All rights reserved
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Integrating the Windows 8 Experience with Contracts"

Similar presentations


Ads by Google