86
Windows 10 development Margaryta Ostapchuk [email protected]

Маргарита Остапчук (Microsoft Украина) «Разработка на универсальной платформе Windows»

  • Upload
    dataart

  • View
    432

  • Download
    0

Embed Size (px)

Citation preview

PowerPoint Presentation

Windows 10 development Margaryta [email protected]

Windows 10 opportunityOne devices platform and ecosystem for the future

Large addressable marketSmart engagementOne Store, One Dev CenterOne developer platform

2

Windows 10 opportunityOne devices platform and ecosystem for the future

Large addressable marketSmart engagementOne Store, One Dev CenterOne developer platform

3

Free upgrade for the first year1 Billion devicesReach customers on any device

Build 2015

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM4

Windows 10 opportunityOne devices platform and ecosystem for the future

Large addressable marketSmart engagementOne Store, One Dev CenterOne developer platform

5

Looking for you17:42

12

13Monday, September 28, 2015

6

Hello Kevin!17:42

12

13Monday, September 28, 2015Windows HelloProvide reliable, friction free authentication with full access to all experiences and commerce.

7

Larry Lieberman (LL) - change the name to match yours

Kevin Gallo

Kevin!

App SpotlightHelp users discover apps right from the start menu

8

Larry Lieberman (LL) - Change picture and name to match yours

12

1311:45Wednesday, April 29Team DinnerBento Box6:00 PM - 10:00 PMInstall the free Fresh Paint app!Pencil, crayon, or brush?Like what you see?

App SpotlightHelp surface apps to the lockscreen that users want to see

9

Action centerNotifications invite the user to come back to and engage with the app

Interactive notificationsUser can take direct action on a notification, in the Action Center or from the toast notification

10

Cortana searchWhenever you search for anything, apps show up firstApp RecommendationsDirect customers to use apps to help them do more

11

ContinuumContinuum for 2-in-1 delivering tablets that can replace your laptopContinuum for phones where any screen becomes your PC

Universal Windows Apps deliver mobility of experience

12

Windows 10 opportunityOne devices platform and ecosystem for the future

Large addressable marketSmart engagementOne Store, One Dev CenterOne developer platform

13

One Store for One WindowsCampaign attributionPromotional codesApp imaging & offline usageRespond to reviewsDownload reports through APIBulk App AcquisitionXbox Livevideo interstitialsApp management ( reclaim&re-use)Store for every BusinessFlexible distribution model(store apps)Free in-app analytics solutionIAP subscriptionsIntegrate with Mgmt. toolsLOB App SupportAd mediationIAP discounts

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM14

Windows 10 opportunityOne devices platform and ecosystem for the future

Large addressable marketSmart engagementOne Store, One Dev CenterOne developer platform

15

Mobile

Holographic

Surface Hub

Xbox

IoT

Desktop

Build 2015

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM16

Design

Develop

Debug

DesignDevelopDebug

One control set.One design language.

Pivot titlePivot 1Pivot 2Pivot 3Pivot titlePivot 1Pivot 2Pivot 3Pivot titlePivot 1Pivot 2Pivot 3Pivot titlePivot 1Pivot 2Pivot 3Pivot titlePivot 1Pivot 2Pivot 3Pivot titlePivot 1Pivot 2Pivot 3Pivot titlePivot 1Pivot 2Pivot 3Pivot titlePivot 1Pivot 2Pivot 3Pivot titlePivot 1Pivot 2Pivot 3

17

DesignDevelopDebugEasier to adapt for common scenarios.

MenuFlyout mf = new MenuFlyout();mf.ShowAt(sender, e.GetPosition(sender));

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM18

More power to tailor to the device

DesignDevelopDebug

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM19

DesignDevelopDebug

2500+ new platform featuresActive penPrint support on mobile Drag/dropAction center APIs and triggersBackup / RestoreGame DVRContinuumContacts APIsCalendar & Email APIsUnified modern VOIP appsCortanaMedia creation APIsHLS, Dash, Closed CaptioningDirectInkNew tiles and actionable notificationsAccessory managerExpanded API contractsApp servicesLong running background tasksAdaptive UIRicher common controlsUnified clipboardSingle, seamless toolingWifi developer tool connectivityVolume purchase for appsAppLockerNatural language supportXbox LivePassport and Windows HelloVideo advertisementsRicher AnalyticsBluetooth beaconsMulti-adapterDirectX12Gesture, gaze, hologramsBing services integrationCasting APIs and controlsCustom SensorsActivity detection APIsHolographicVisual layer, Effects and Animation

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM20

DesignDevelopDebug

2500+ new platform featuresActive penPrint support on mobile Drag/dropAction center APIs and triggersBackup / RestoreGame DVRContinuumContacts APIsCalendar & Email APIsUnified modern VOIP appsCortanaMedia creation APIsHLS, Dash, Closed CaptioningDirectInkNew tiles and actionable notificationsAccessory managerExpanded API contractsApp servicesLong running background tasksAdaptive UIRicher common controlsUnified clipboardSingle, seamless toolingWifi developer tool connectivityVolume purchase for appsAppLockerNatural language supportXbox LivePassport and Windows HelloVideo advertisementsRicher AnalyticsBluetooth beaconsMulti-adapterDirectX12Gesture, gaze, hologramsBing services integrationCasting APIs and controlsCustom SensorsActivity detection APIsHolographicVisual layer, Effects and Animation

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM21

Review and adjust your UI from one universal project.DesignDevelopDebug

22

DesignDevelopDebug

Live visual debugging

23

Identify perf issues without leaving the debuggerCPU and Memory utilization graphs while debuggingPerfTips between debugger breaksDesignDevelopDebug

24

Design

Develop

Debug

25

Bridges to the Universal Windows Platform

26

Web1 BillionWindows 10 DevicesWindows StoreUniversal Windows Platform

Build 2015

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM27

Microsoft EdgeHTML4200+ interoperability improvementsWeb Audio APIHTTP/2

getUserMedia()GamePad APIContent Security Policypreserve-3dTouch EventsHTTP Live Streamingasm.jsDate typesArrow functionES6 classesES6 Object Built-InsDOM L3 XPathES6 PromisesHTTP Strict Transport SecurityMedia Queries L4 Interaction MediaES6 ProxiesES6 Math Built-InsES6 Numbers Built-InsRest parametersSelection APIJS iteratorsGeneratorsES6 SpreadWAV audioVideo tracksES6 String Built-InsES6 Template StringsJS SymbolsMotion JPEGES6 WeakSet

Web.NET & Win32AndroidiOS

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM28

Web1.5x

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM29

Web.NET & Win32AndroidiOS

2.0x

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM30

ppMicrosoft Edge

Universal Windows App Optimized UX, updates regularlyNew Tab Page Frequent sites, app promotions and personalized newsNew extension modelHTML/JavaScript extensions

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM31

ppHosted web apps.NET & Win32AndroidiOS

Bring your website experience to the Windows StoreLeverage your web investments and developer workflowFull access to Universal APIs, including Tiles, Notifications, Camera, Contact List, Calendar

Universal Windows Platform

.appx

HTMLCSSJS

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM32

Microsoft Edge, Hosted web apps

Demo

2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.9/28/2015 5:42 PM33

Web.NET & Win321 BillionWindows 10 DevicesWindows StoreUniversal Windows Platform

Build 2015

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM34

16 Million desktop apps used every month

Universal Windows Platform

.appx

WPF

WindowsForms

Win32

Web.NET & Win32

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM35

Web.NET & Win32AndroidJava/C++iOSObjective C1 BillionWindows 10 DevicesWindows StoreUniversal Windows Platform

Build 2015

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM36

Windows for IoTDriving your inspiration with the Universal Windows Platform

37

Windows 10 IoT Core preview available for Minnowboard Max and Raspberry Pi 2

Minnowboard MaxRaspberry Pi 2Arduino virtual shields Netduino 3 - NETMF FEZ Spider - Gadgeteer Gadgeteer on Windows 10 IoT Core

38

HoloLens

39

devices.

Build 2015

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM40

Multiple device families

PC

XBox

Mobile

Surface Hub

HoloLens

Devices +IoT

Universal AppsOne Store +One Dev Center

Reuse Existing CodeOne SDK + Tooling

Adaptive User Interface

NaturalUser Inputs

One Universal Windows Platform

41

Windows 10operating systemBridging technologiesWin32desktopWebhostedJavaAndroidObj.CiOSUniversal Windows PlatformWWAC++& CX.NetlanguagesHTMLDirectXXAMLC++.NetlanguagesMFCWFWPF.Netruntime

42

Universal Windows Platform

A single API surfaceA guaranteed API surfaceThe same on all devices

PhoneDeviceXboxDeviceDesktopDeviceWindows CoreUniversal Windows Platform

43

A whole lot of APIs StorageDirectX 12Speech and CortanaNetworkingNFC and BluetoothHolographicAudio and VideoAppointments/CalendarAuthentication BrokerBackground TransferSensors: Accelerometer, light, magnet Tiles and NotificationsApp to App and App ServicesInkingMaps and LocationXAMLBackground TasksData RoamingData.XMLMedia CastingMany, many more.

2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.9/28/201544

Apps don't target Windows 10, apps target the UWP

46

The Universal Windows Platform can update at its own cadence

Windows app

A single binary Running on any deviceTesting for capabilitiesAdjusting to devices

PhoneDeviceXboxDeviceDesktopDeviceWindows CoreUniversal Windows PlatformWindows App

Universal Windows Platform

One Operating SystemOne Windows core for all devicesOne App PlatformApps run across every familyOne Dev CenterSingle submission flow and dashboard One Store Global reach, local monetization Consumers, Business & Education

Adaptive UI

Adaptive designPhone (portrait)Tablet (landscape) / Desktop

2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.9/28/201552

Tailored designPhone (portrait)Tablet (landscape) / Desktop

2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.9/28/201553

Continuum for Convertibles and Phones

Continuum for convertibles and Phones

Users love apps that give a great experience on all their devices

Adaptive code

Platform extensions

Device-specific APIFamily-specific capabilitiesCompatible across devicesUnique update cadence

PhoneDeviceXboxDeviceDesktopDeviceWindows CoreUniversal Windows PlatformWindows AppPhoneextensionXboxextensionDesktopextension

Platform extensions don't invalidate binaries on other devices

UWP

Windows CoreWindows CoreWindows CoreWindows CoreUWP

UWP

UWP

DesktopMobileXboxMore

Test capabilities at runtime

Use Adaptive Code to light-up our app with capabilities on specific device familiesTesting for capabilities and namespaces

var api = "Windows.Phone.UI.Input.HardwareButtons";if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent(api)){Windows.Phone.UI.Input.HardwareButtons.CameraPressed += CameraButtonPressed;}

Microsoft Edge and Web Platform

Bridging Technologies

ppWeb Apps

NEW: Hosted Web AppsBring your website experience to the Windows StoreLeverage your web investments and developer workflowFull access to Universal APIs, including Tiles, Notifications, Camera, Contact List, Calendar

Universal Windows Platform

.appx

HTMLCSSJS

2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.9/28/2015 5:42 PM63

Windows Bridge for Android(a.k.a. Project Astoria)Tooling to allow apps written for Android to run on Windows 10 Mobile with few changes requiredMicrosoft Interoperability library redirects calls to Google services to Microsoft servicesSubmit .apk to the StoreExtend to call subset of UWP APIsTiles and Notifications

Sign up for limited developer preview at http://uwp.dev.windows.com/en-US/uwp-bridges/android

Windows Bridge for iOS(previously known as Project Islandwood)Build Universal Windows Apps using Objective-CImport Xcode projects into Visual StudioBuild and debug your Objective-C code from Visual StudioTake advantage of great Windows servicesExtend your app to take advantage of Universal Windows Platform features

Get the Developer Preview: https://dev.windows.com/en-us/uwp-bridges/ios Code is open source: https://github.com/Microsoft/WinObjC/

65

Project CentennialPackage and publish existing .NET and Win32-based Windows applications to the Windows StoreUse Centennial to call common UWP APIs and services

More information coming soon

Development tools

Visual Studio 2015 EditionsEnterpriseArchitecture Modeling, Diagnostics, VSO/ALM & Release ManagementProfessionalArchitecture Validation, VSO/ALM & Feedback ManagementCommunity EditionsVisual Studio Professional Edition

Where can I develop?Windows 10Requires Visual Studio 2015 Windows 8.1 & Windows Server 2012 R2The Visual Studio designer does not functionDebugging requires a Windows 10 device or Remote Debugging Tools

dev.windows.com

Controls in the XAML toolbox

Adaptive controls

Using standard controls gets you a long way

Layout controls

Canvas

StackPanel

Grid

Proportional layout with Grid

Rows/columns 3 types of sizing:star sizingproportional: 1*/3* = 25%/75%auto sizingsized to contentcontent can also have Max/Min widths and heights as limitspixel sizinghard-coded size avoid in most situationsauto1*2*auto1*4*7*

78

Proportional layout with Grid

GridGridautoauto1*1*1*

400711

6001067

79

WrapGrid

ScrollViewer

Relative Panel is a XAML layout control. It arranges children by declaring relationships between them.Introducing the Relative Panel

XAML's RelativePanel controlA child or two act as a anchor elementsThey are relative to the panelOther children are relative to the anchorsRelativePanel.Above = "ElementName"RelativePanel.RightOf = "ElementName"RelativePanel.Below = "ElementName"RelativePanel.LeftOf = "ElementName"RelativePanel simplifies adaptive UIA simple Visual State setter can rearrange the UIOne element can move a family of related element

Align with panel

Align with sibling (below, center)

Demo: RelativePanel

SplitViewIsPaneOpen="True"IsPaneOpen="False"DisplayMode="Inline"DisplayMode="Overlay"DisplayMode="CompactInline"DisplayMode="CompactOverlay"

2015 Microsoft Corporation. All rights reserved.