Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Windows 8 Charms & Contracts

Windows 8 Charms & Contracts

hattan

June 08, 2013
Tweet

More Decks by hattan

Other Decks in Technology

Transcript

  1. 8 Traits of a Great Windows 8 App Embrace Core

    Principals Roam to the Cloud Feel Connected and Alive Invest in a Great Tile Use the Right Contracts Snap and Scale Beautifully Fast and Fluid Modern Design Language
  2. Design – Leverage the Edge Left is for “Back” Right

    is for “Charms” Top and Bottom is for the App’s “App Bars” Top and Bottom edges do the same thing
  3. Use the Right Contracts • Support communication between Apps •

    Even though apps don’t know each other • Many exposed via the “Charms Bar” • Contracts include: • Search to allow users to search data from your app • Share to provide information to another app • Settings to store Application Settings • File Picker provides App to App file services • Play To to play Media to connected DNLA devices
  4. Search 1 2 3 1. Search box is scoped to

    the main app on screen 2. Query suggestions provided by the main app on screen • Autocompletes to terms for which the app has search results 3. List of installed Metro style apps that have implemented the search contract
  5. Query submitted User Show Search results view Show previous search

    results view Search Pane Submit query to App Search App Query Submitted Event
  6. Share Source • Your app can expose your data to

    the operating system. • Allows interaction with other apps via a common API
  7. Share Target • Your app can register itself as a

    share target. • Other apps can now interact with your app. • Data specific! You must specify what you can receive. • http://msdn.microsoft.com/en-us/library/windows/apps/hh465251.aspx
  8. Q&A