Upload
osborne-wesley-summers
View
221
Download
0
Tags:
Embed Size (px)
Citation preview
George RoussosSenior Program Manager
Deen King-SmithProgram Manager2-023
Building an app that connects to devices
Will buys a smart toy for Toby online using a fingerprint instead of a password
He prints a home design on a 3D printer for a customer visit tomorrow
Meet the Ramirez family
Will—ArchitectSarah—Real estate agentToby—Teenage sonJune 26th 2014
A day in the life of a modern connected familyWill’s tablet shows his agenda upon arrival at the customer location.
Sarah tracks and uploads her steps to keep her new year’s resolution.
Toby unboxes the smart toy, connects it and controls it.
Windows 8.1 provides new opportunity to build compelling apps that connect to devices across desktops, laptops and tablets.
Agenda
Windows 8.1 enhancements.
Expands access to devices.
Adds user experiences.
Simplifies the developer experience.
Windows 8.1 expands access to devices
New APIs in Windows 8.1 simplify app development for specific scenarios.
Remember Will?
Any app can access devices with scenario specific APIs for devices Windows knows about.
New device scenario APIs in Windows 8.1
ScenarioUse fingerprints instead of passwords to authenticate.
Scan barcodes and read magnetic stripes.
Use Geofence enter/exit to trigger app actions.
Manage virtual smart cards for remote access.
Print to a 3D printer.
Scan documents and images with scanners.
Device scenario APIs
New Windows runtime APIs for familiar industry standards like Bluetooth and USB enable low cost app development for custom devices on all Windows 8.1 desktops, laptops and tablets.
What about Toby and Sarah?
Windows Runtime APIs:Bluetooth (RFCOMM).Bluetooth Smart.HID.USB.Wi-Fi Direct.
Introducing device protocol APIs
App
Class Drivers
HID API
Protocol: left, right, fire
Device
Device protocol APIs for hardware developersExpose unique hardware functionality as a protocol
over these APIs leveraging Microsoft drivers.
Publish that protocol to software developers to enable an ecosystem of apps for external devices.
Create and publish a Windows Runtime Component
to simplify app development for complex devices.
New Windows Runtime APIs:Bluetooth (RFCOMM).Bluetooth Smart.HID.USB.Wi-Fi Direct.
New device protocol APIs in Windows 8.1
Innovative Devices
Ecosystem of Apps
Independent
Developers
Device protocol APIs
Windows 8.1 adds new user experiences
New user experiences for custom devicesLaunch on Connect.
Syncing data with a device in the background.
Users in control of devices and personal info.
Launch on Connect
Autoplay launches a recommended app when a USB peripheral is connected.
Hardware developers must opt-in to Autoplay for their device.
Any software developer can then enable Autoplay.
Syncing data with a device in the backgroundDevice Background Tasks lets an app complete a user initiated sync operation for up to 10 minutes in the background.
Any app can include a background task to enable this scenario.
Users in control of devices and personal infoUser consent puts the user in control before using apps that can access privacy sensitive data.
Any app using Bluetooth, HID, or USB APIs must declare new device capabilities in app manifest.
Deen King-SmithProgram Manager
Windows 8.1 simplifies the developer experience
Visual Studio Express 2013
Developing in Windows 8.1
Hardware
Device protocol APIsDevice scenario
APIs
Windows Store appWindows runtime
component
SW dev
HW dev
Same as in Windows 8.Just use the Namespace and the API, Windows does the rest.
Scenarios.Fingerprint, scanner, geo-location, and more.
Need to know.App development.APIs.
Device scenario APIs
//Create the scanner objectImageScanner myScanner
// Scan API call to start scanning myScanner.ScanFilesToFolderAsync(ImageScannerScanSource.Default…
Hardware
Device scenario APIs
Windows Store app
APIs simplify custom device access via industry standard protocols.Scenarios.Sports Watch, Missile Launcher, or any Custom Device.
Need to know.Specific protocol details for the device.Industry standard protocol.
Device protocol APIs
Hardware
Device protocol APIs
Windows Store app
Toby’s missile launcher
Hardware developers can provide a Windows runtime component to enable an ecosystem of apps.Scenarios.Sarah’s fitness device, and more.
Need to know.Hardware developers—Specific protocol to create the runtime component.App developer—API from the hardware developer to use the runtime component.
Ecosystem of apps via protocol APIs
Hardware
Device protocol APIs
Windows Store app
Windows runtime component
Hardware developers can enable additional device specific scenarios with device metadata.Scenarios.Autoplay and more.
Need to Know.Hardware ID.Submission to Windows Hardware Dev Portal.App information.Device metadata.
Differentiating your User Experience
Hardware
Windows Store app
Device metadata
HW dev
Device metadata & app development
Reserve your app name
Submit to HW dev portal
Device metadata development
App info
App development
Experience ID
Submit app
Submit metadata
Add app info to metadata
Add Experience ID to app
Experience ID
3rd
4th
1st
1st
2nd
2nd
Expands access to devices.Adds user experiences.Simplifies the developer experience.
The Ramirez FamilyWindows 8.1 Enhancements
Resources: device scenario APIsAny app can access devices with scenario specific APIs for devices Windows knows aboutSession Title Time/Location 3-025 Building Windows apps that use scanners 2PM Friday 6/28
South Hall: Esplanade 308
2-041 Strong authentication: Building apps that leverage virtual smart cards in enterprise, BYOD, and consumer environments
2PM Friday 6/28South Hall: Esplanade 302
3-029 How to use point-of-sale devices in your app 12PM Friday 6/28South Hall: Esplanade 308
2-9110 Biometrics—fingerprints for apps On Demand
3-9034 Using Geolocation and Geofencing in Windows Store apps
On Demand
3-9027 3D Printing with Windows On Demand
Resources: device protocol APIsDevice protocol APIs enable apps for custom peripherals that Windows does not know about.
Anybody can develop apps for a custom peripheral if they know the device protocol to do so.
Session Title Time/Location
3-026 Apps for Bluetooth, HID, and USB Devices 5PM Wednesday 6/26South Hall: Esplanade 302
3-924a Apps for USB Devices On Demand
3-9028 Apps for Bluetooth Smart Devices On Demand
3-924b Apps for HID Devices On Demand
3-9030 Building Windows apps that use Wi-Fi Direct On Demand
Evaluate this session
Scan this QR code to evaluate this session and be automatically entered in a drawing to win a prize!
© 2013 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.