Windows 8 as an App Integration Hub: Charms, Pickers, Contracts

Slide Note
Embed
Share

Exploring the app integration capabilities of Windows 8 through charms, pickers, and contracts. Learn about the various integration options, such as extension, protocol, file handling, contact management, search functionality, sharing features, and settings. Discover how web-based and Win8 application integration can enhance your development efforts for a seamless user experience.


Uploaded on Oct 02, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. WINDOWS 8 AS AN APP INTEGRATION HUB CHARMS, PICKERS, CONTRACTS @JimWooley http://www.ThinqLinq.com

  2. WEB BASED APPLICATION INTEGRATION

  3. WIN8 APPLICATION INTEGRATION

  4. WINDOWS 8 INTEGRATION OPTIONS Extension Protocol File Contact Search Share Settings Charms Pickers Contracts

  5. http://www.zippycart.com/ecommerce-news/wp-content/uploads/2011/01/contract.jpghttp://www.zippycart.com/ecommerce-news/wp-content/uploads/2011/01/contract.jpg File Extensions (.mp3, .jpg, .foo) Protocol (mailto) Schema.org

  6. PICKERS FileOpenPicker FileSavePicker FolderPicker ContactPicker CredentialPicker

  7. FILEOPENPICKER var openPicker = new Windows.Storage.Pickers.FileOpenPicker(); openPicker.fileTypeFilter.replaceAll([".png", ".jpg", ".jpeg"]); openPicker.pickSingleFileAsync().then(function (file) { if (file) { // Do something with the selected file } else { // The picker was dismissed with no selected file } });

  8. CHARMS http://image.guardian.co.uk/sys-images/Film/Pix/gallery/2004/06/23/shrek236236336363.jpg

  9. SEARCH CONTRACT Share provides a lightweight, in context, easy experience for accomplishing easy experience for accomplishing Share provides a lightweight, in context,

  10. SEARCH ACTIVATION protected override void OnSearchActivated( SearchActivatedEventArgs args) { SearchResultsPage1.Activate( args.QueryText, args.PreviousExecutionState); }

  11. SHARE CONTRACT SHARE PROVIDES A LIGHTWEIGHT, IN CONTEXT, EASY EXPERIENCE FOR USER DRIVEN APPLICATION INTEGRATIONS.

  12. 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 Activated for sharing Activate Target as kind shareTarget Processes DataPackage contents Reports Complete

  13. SHARE SOURCE protected override void OnNavigatedTo(NavigationEventArgs e) { this.dataTransferManager = DataTransferManager.GetForCurrentView(); this.dataTransferManager.DataRequested += new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested); } private void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs e) { DataPackage requestData = e.Request.Data; requestData.Properties.Title = title; requestData.Properties.Description = description; requestData.SetText(dataPackageText); }

  14. SHARE TARGET

  15. WINDOWS 8 INTEGRATION OPTIONS Search Share Settings File Contact Extension Protocol Charms Pickers Contracts

  16. RESOURCES Building Windows Blog http://blogs.msdn.com/b/b8/ Build Videos http://www.buildwindows.com/ Windows 8 Samples http://code.msdn.microsoft.com/windowsapps/ Activation options http://msdn.microsoft.com/en- us/library/windows/apps/hh464906.aspx#file_activation Contracts & Micro formats http://www.schema.org

  17. QUESTIONS > @JimWooley http://www.ThinqLinq.com

Related


More Related Content