building an app that connects to devices

31

Upload: jersey

Post on 25-Feb-2016

46 views

Category:

Documents


1 download

DESCRIPTION

Building an app that connects to devices. George Roussos Senior Program Manager Deen King-Smith Program Manager 2-023. Meet the Ramirez family. Will buys a smart toy for Toby online using a fingerprint instead of a password - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Building an app that connects to devices
Page 2: Building an app that connects to devices

George RoussosSenior Program ManagerDeen King-SmithProgram Manager2-023

Building an app that connects to devices

Page 3: 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

Page 4: Building an app that connects to devices

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.

Page 5: Building an app that connects to devices

Windows 8.1 provides new opportunity to build compelling apps that connect to devices across desktops, laptops and tablets.

Page 6: Building an app that connects to devices

AgendaWindows 8.1 enhancements.

Expands access to devices.Adds user experiences.Simplifies the developer experience.

Page 7: Building an app that connects to devices

Windows 8.1 expands access to devices

Page 8: Building an app that connects to devices

New APIs in Windows 8.1 simplify app development for specific scenarios.

Remember Will?

Page 9: Building an app that connects to devices

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

Page 10: Building an app that connects to devices

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?

Page 11: Building an app that connects to devices

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

Page 12: Building an app that connects to devices

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.

Page 13: Building an app that connects to 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

Page 14: Building an app that connects to devices

Windows 8.1 adds new user experiences

Page 15: Building an app that connects to devices

New user experiences for custom devicesLaunch on Connect.

Syncing data with a device in the background.

Users in control of devices and personal info.

Page 16: Building an app that connects to devices

Launch on ConnectAutoplay 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.

Page 17: Building an app that connects to devices

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.

Page 18: Building an app that connects to devices

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.

Page 19: Building an app that connects to devices

Deen King-SmithProgram Manager

Windows 8.1 simplifies the developer experience

Page 20: Building an app that connects to devices

Visual Studio Express 2013

Developing in Windows 8.1

Hardware

Device protocol APIsDevice scenario APIs

Windows Store appWindows runtime

component

SW dev

HW dev

Page 21: Building an app that connects to devices

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

Page 22: Building an app that connects to devices

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

Page 23: Building an app that connects to devices

Toby’s missile launcher

Page 24: Building an app that connects to devices

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 appWindows runtime component

Page 25: Building an app that connects to devices

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

Page 26: Building an app that connects to devices

Device metadata & app development

Reserve your app name

Submit to HW dev portal

Device metadata developmentApp 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

Page 27: Building an app that connects to devices

Expands access to devices.Adds user experiences.Simplifies the developer experience.

The Ramirez FamilyWindows 8.1 Enhancements

Page 28: Building an app that connects to devices

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

Page 29: Building an app that connects to devices

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

  

Page 30: Building an app that connects to devices

Evaluate this session

Scan this QR code to evaluate this session and be automatically entered in a drawing to win a prize!

Page 31: Building an app that connects to devices

© 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.