WINDOWS 8 AS AN APP INTEGRATION HUB  CHARMS, PICKERS, CONTRACTS              @JimWooley       http://www.ThinqLinq.com
WEB BASED APPLICATION INTEGRATION
WIN8 APPLICATION INTEGRATION
WINDOWS 8 INTEGRATION OPTIONS            Extension             File               Search                        Pickers   ...
• File Extensions (.mp3, .jpg, .foo)• Protocol (mailto)• Schema.org
PICKERS•   FileOpenPicker•   FileSavePicker•   FolderPicker•   ContactPicker•   CredentialPicker
FILEOPENPICKERvar openPicker = new Windows.Storage.Pickers.FileOpenPicker();openPicker.fileTypeFilter.replaceAll([".png", ...
CHARMS
SEARCH CONTRACTShare provides a lightweight, incontext, easy experience for accomplishing
SEARCH ACTIVATIONprotected override void OnSearchActivated(     SearchActivatedEventArgs args){  SearchResultsPage1.Activa...
SHARE CONTRACT      S H A R E P R O V I D E S A L I G H T W E I G H T, I N C O N T E X T, E A S YE X P E R I E N C E F O R...
SHARING FROM SOURCE TO TARGETSource App   Share Broker   Share Target App
SHARE SOURCEprotected override void OnNavigatedTo(NavigationEventArgs e){   this.dataTransferManager = DataTransferManager...
SHARE TARGET
WINDOWS 8 INTEGRATION OPTIONS         Search               File                  Extension                    Pickers     ...
RESOURCES• Building Windows Blog  http://blogs.msdn.com/b/b8/• Build Videos  http://www.buildwindows.com/• Windows 8 Sampl...
QUESTIONS            >       @JimWooleyhttp://www.ThinqLinq.com
Upcoming SlideShare
Loading in …5
×

Windows 8 as an Application Integration Hub

819 views

Published on

Slide deck for Windows 8 as an Application Integration Hub. Demonstrates how Contracts, Pickers, and Charms contribute to making Windows 8 a hub for applications to communicate between each other while retaining sandboxed isolation.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
819
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • F:\\Projects\\Windows 8 Release Preview Metro style app samples - C#, VB.NET, C++, JavaScript\\Association launching sample
  • Demo FileOpenPicker and then add a FileOpenContract
  • Demo search and Adding search handler
  • Demo share from IE Show target code from F:\\Projects\\Windows 8 Release Preview Metro style app samples - C#, VB.NET, C++, JavaScript\\Sharing content target app sample\\C#
  • Summary
  • Windows 8 as an Application Integration Hub

    1. 1. WINDOWS 8 AS AN APP INTEGRATION HUB CHARMS, PICKERS, CONTRACTS @JimWooley http://www.ThinqLinq.com
    2. 2. WEB BASED APPLICATION INTEGRATION
    3. 3. WIN8 APPLICATION INTEGRATION
    4. 4. WINDOWS 8 INTEGRATION OPTIONS Extension File Search Pickers CharmsContracts Protocol Contact Share Settings
    5. 5. • File Extensions (.mp3, .jpg, .foo)• Protocol (mailto)• Schema.org
    6. 6. PICKERS• FileOpenPicker• FileSavePicker• FolderPicker• ContactPicker• CredentialPicker
    7. 7. FILEOPENPICKERvar 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. 8. CHARMS
    9. 9. SEARCH CONTRACTShare provides a lightweight, incontext, easy experience for accomplishing
    10. 10. SEARCH ACTIVATIONprotected override void OnSearchActivated( SearchActivatedEventArgs args){ SearchResultsPage1.Activate( args.QueryText, args.PreviousExecutionState);}
    11. 11. SHARE CONTRACT S H A R E P R O V I D E S A L I G H T W E I G H T, I N C O N T E X T, E A S YE X P E R I E N C E F O R U S E R D R I V E N A P P L I C AT I O N I N T E G R AT I O N S .
    12. 12. SHARING FROM SOURCE TO TARGETSource App Share Broker Share Target App
    13. 13. SHARE SOURCEprotected 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. 14. SHARE TARGET
    15. 15. WINDOWS 8 INTEGRATION OPTIONS Search File Extension Pickers ContractsCharms Share Contact Protocol Settings
    16. 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. 17. QUESTIONS > @JimWooleyhttp://www.ThinqLinq.com

    ×