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.
Jim WooleyTechnology Consultant at Slalom Consulting
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
}
});
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 Y
E 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 .