Developers Guide to Windows 10 Andy Wigley Shen Chauhan Easy for users to get amp stay current Unified core and app platform The convergence journey Windows Phone 75 Windows Phone 8 ID: 683351
Download Presentation The PPT/PDF document "Introduction to the Windows 10 Universal..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Introduction to the Windows 10 Universal Windows PlatformDeveloper’s Guide to Windows 10
Andy Wigley Shen ChauhanSlide2
Easy for users to get & stay current
Unified core
and app platform
The convergence journey
Windows Phone 7.5
Windows Phone 8
Windows Phone 8.1
Windows 8
Xbox One
Windows on Devices
Xbox 360
Windows 8.1
Windows 10
Converged
OS kernel
Converged
app modelSlide3
Phone
Small
Tablet2-in-1s(Tablet or Laptop)
Desktops
& All-in-OnesPhablet
Large Tablet
Classic Laptop
Xbox
IoT
Surface Hub
Holographic
Windows 10Slide4
Multiple device families
PC
XBox
Mobile
Surface Hub
HoloLens
Devices +
IoT
Universal
Apps
One Store +
One Dev Center
Reuse Existing Code
One SDK + Tooling
Adaptive
User Interface
Natural
User Inputs
One Universal Windows PlatformSlide5
Windows 10
operating system
Bridging technologies
Win32
desktop
Web
hosted
Java
Android
Obj.C
iOS
Universal Windows Platform
WWA
C++
& CX
.Net
languages
HTML
DirectX
XAML
C++
.Net
languages
MFC
WF
WPF
.Net
runtimeSlide6
Universal Windows PlatformA single API surfaceA guaranteed API surface
The same on all devices
Phone
DeviceXbox
Device
DesktopDevice
Windows Core
Universal Windows PlatformSlide7
A whole lot of APIs…
Storage
DirectX 12
Speech and Cortana
Networking
NFC and Bluetooth
Holographic
Audio and Video
Appointments/Calendar
Authentication Broker
Background Transfer
Sensors: Accelerometer, light, magnet …
Tiles and Notifications
App to App and App Services
Inking
Maps and Location
XAML
Background Tasks
Data Roaming
Data.XML
Media Casting
Many, many more….Slide8
Apps don't target Windows 10,
apps target the UWPSlide9
<
Dependencies
>
<TargetDeviceFamily Name=
"Windows.Universal
" MinVersion="
10.0.10240.0" MaxVersionTested=
"10.5.0.0"/></
Dependencies>Slide10
The Universal Windows Platform can update at its own cadenceSlide11
Windows appA single binary Running on any device
Testing for capabilities
Adjusting to devices
Phone
Device
Xbox
Device
DesktopDevice
Windows Core
Universal Windows PlatformWindows AppSlide12
Demo: Hello devicesSlide13
Universal Windows PlatformOne Operating SystemOne Windows core for all devices
One App Platform
Apps run across every familyOne Dev CenterSingle submission flow and dashboard One Store Global reach, local monetization Consumers, Business & EducationSlide14Slide15
Each family offers its own shell
and adds features to those it inheritsSlide16
Adaptive UISlide17
Adaptive designResponsive designFlexible layout responds to small changes
Many controls handle basic responsiveness
Adaptive designSmart layout adjusts to large changesFeatures like visual states aid in this designTailored designA device-specific app can simplify design Some devices have unique design languagesSlide18
Adaptive design
Phone (portrait)
Tablet (landscape) / DesktopSlide19
Tailored design
Phone (portrait)
Tablet (landscape) / DesktopSlide20
Continuum for Convertibles and Phones
Continuum for convertibles and PhonesSlide21
Users love apps that give
a great experience
on all their devicesSlide22
Demo: Adaptive UISlide23
Adaptive codeSlide24
Platform extensionsDevice-specific APIFamily-specific capabilities
Compatible across devices
Unique update cadence
PhoneDevice
Xbox
DeviceDesktopDevice
Windows Core
Universal Windows Platform
Windows App
Phoneextension
Xboxextension
Desktop
extensionSlide25
Platform extensions don't invalidate binaries on other devicesSlide26
UWP
Windows Core
Windows Core
Windows Core
Windows Core
UWP
UWP
UWP
Desktop
Mobile
Xbox
More…Slide27
Test capabilities at runtimeUse 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
;}
Slide28
Demo: Adaptive codeSlide29
Microsoft Edge and Web PlatformSlide30
Microsoft
EdgeHTML
4200+
interoperability improvements
Web Audio API
HTTP/2
<img
srcset>getUserMedia
()GamePad API
Content Security Policypreserve-3d
Touch EventsHTTP Live Streaming
asm.js
Date <input> types
Arrow function
ES6 classes
ES6 Object Built-Ins
DOM L3 XPath
ES6 Promises
HTTP Strict Transport Security
Media Queries L4 Interaction Media
ES6 Proxies
ES6 Math Built-Ins
ES6 Numbers Built-Ins
Rest parameters
Selection API
JS iterators
Generators
ES6 Spread
WAV audio
Video tracks
ES6 String Built-Ins
ES6 Template StringsJS Symbols
Motion JPEG
ES6 WeakSet
Microsoft
EdgeSlide31
Microsoft
EdgeSlide32
Microsoft EdgeSlide33
Bridging TechnologiesSlide34
pp
Web Apps
NEW: Hosted Web Apps
Bring
your website experience to the Windows Store
Leverage your web investments and developer workflow
Full access to Universal APIs, including
Tiles
, Notifications, Camera, Contact List, Calendar
Universal Windows Platform
.
appx
HTML
CSS
JSSlide35
DemoMicrosoft Edge, Hosted web appsSlide36
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 required
Microsoft Interoperability library redirects calls to Google services to Microsoft servicesSubmit .apk to the StoreExtend to call subset of UWP APIs
Tiles and NotificationsSign up for limited developer preview at http://uwp.dev.windows.com/en-US/uwp-bridges/android Slide37
Windows Bridge for iOS(previously known as ‘Project Islandwood’)
Build Universal Windows Apps using Objective-C
Import Xcode® projects into Visual Studio
Build and debug your Objective-C code from Visual StudioTake advantage of great Windows servicesExtend your app to take advantage of Universal Windows Platform featuresGet the Developer Preview: https://dev.windows.com/en-us/uwp-bridges/ios Code is open source: https://github.com/Microsoft/WinObjC/Slide38
Project CentennialPackage and publish
existing
.NET and Win32-based Windows applications to the Windows StoreUse Centennial to call common UWP APIs and servicesMore information coming soon…Slide39
Development toolsSlide40
Visual Studio 2015 EditionsEnterpriseArchitecture
Modeling
, Diagnostics, VSO/ALM & Release ManagementProfessionalArchitecture Validation, VSO/ALM & Feedback ManagementCommunity EditionsVisual Studio Professional EditionSlide41
Developer unlockSlide42
Where can I develop?
Windows 10
Requires Visual Studio 2015 Windows 8.1 & Windows Server 2012 R2The Visual Studio designer does not functionDebugging requires a Windows 10 device or Remote Debugging ToolsSlide43
dev.windows.comSlide44