sydmobnet april 2014 - nick randolph's build 2014 update

33
Nick Randolph Introducing the Windows Phone 8.1 App Development Platform Windows Phone 8.1 29 th April 2014 Sydney Mobile .NET Developers

Upload: alec-tucker

Post on 24-May-2015

139 views

Category:

Mobile


2 download

DESCRIPTION

Nick Randolph's update on the Build 2014 announcements relevant to Windows Phone and Windows 8, delivered at the April meetup of the Sydney Mobile .Net Developers Group.

TRANSCRIPT

Page 1: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

Nick Randolph

Introducing the Windows Phone 8.1 App Development Platform

Windows Phone 8.1

29th April 2014

Sydney Mobile .NET Developers

Page 2: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

2

Welcome to Windows Phone 8.1

Page 3: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

3

Start screen: Make the Live Tiles Yours

Now 3 column start screen available on *all* phones

Customize your Start background with a favourite picture or one of the supplied options

Page 4: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

4

Cortana: Your PERSONAL Digital Assistant

Interact with CORTANA through speech or type

CORTANA learns about you and your interestsEnables CORTANA to be proactive and helpful throughout the day

Page 5: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

5

Making the most engaging platform better

Many New Features for Users Action center to quick launch settings and view

notifications New Skype app integrated with Phone dialer New Calendar app with new Week view Fast typing with new Word Flow keyboard Buy app once: use on PC and on Phone App data can roam among devices Start screen backup and restore App data backup Faster app updates Remote viewing of Phone screen Install apps to SD card

Page 6: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

6

2014: Windows Phone 8.1 Hardware

Affordability Decrease HW cost floor (support 8x26, Qualcomm Reference Design)

Dual-SIM support

Apps to help you get more out of your data plan: DataSense 2.0, Wi-Fi Sense, Storage

Sense, Battery Sense

8x26

Page 7: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

7

How do I get Windows Phone 8.1 on my device?

Page 8: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

8

Windows Phone 8.1 Preview for DevelopersPreview for DevelopersInstalls OS updates on your deviceDoes not install OEM firmware updates

When the ‘proper’ update is released by your MO/OEM, you will get that update as normal

Page 9: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

9

Windows Phone 8.1 Developer Platform

Page 10: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

10

Bringing one Windows to developersWindows 8.1 provides developers with a shared platform that renders the right app experience for the right form-factor

Apps come to life on Windows• Live tile improvements• Action Center for smart notifications• Background execution + triggers• Bluetooth-LE support for wearables +

beacons• Internet Explorer 11 improvements

Designed once; engaging

everywhere• Converged developer platform• Converged app model• Shared app identities + entitlement• Unified push services (via WNS)

Page 11: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

11

Platform convergence is a journey…Windows Phone 7.5 Windows Phone 8.0 Windows Phone

8.1Convergence Begins with IE

• WP 7.5 shipped with IE9

• Same rendering engine as Windows

• Same JavaScript engine as Windows

Converged Core (NT kernel)

• Common kernel & file system

• Kernel mode driver framework

• Secure boot & storage encryption (BitLocker)

• Core networking stack

Developer Platform

• Partial API convergence (focus on sensors & IAP)

• Native Code (C++) and DirectX

• IE10

Converging the Dev Platform

• More skillset reuse

• More code reuse

• More seamless app experiences

Aligning the Stores

• Shared dev registration

• Shared entitlement

Common Core Platform

• Proximity & Location frameworks

• Security & identity

• Task scheduler

Page 12: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

12

API convergence across the Windows platform

CommonWinRT APIs

Phone-specificWinRT APIs

Windows-specificWinRT APIs

The Windows Runtime (WinRT) is the shared runtime and API space used by store apps across the Windows platform (phone and client)

Dramatic convergence in 8.1• Goal is 100% convergence for dev scenarios• In 8.0, we had ~30% API convergence• With 8.1, we move well past 90%+ convergence

Page 13: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

13

Windows Developer Platform in 8.1

Windows Runtime API Set

Graphics Audio Media

Networking File System Input

Commerce

Sensors

.NET CLRWindows Runtime (WinRT)

DirectX(C++)

Windows PhoneSilverlight(C# | VB)

Windows XAML

(C# | VB | C++)

WinJS(HTML + JS)

App Model Services

Navigation

Packaging

Contracts

Background

Store(s)

Push

Roaming

Windows Kernel

App Data Backup

Legend

Windows Phone Only

Windows OnlyWindows + Windows Phone

Page 14: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

14

Programming Models for Windows Phone 8.1

DirectX/Direct3D

C++

WinRT

Gaming

WinRT

Store Apps with HTML

JavaScript

WinRT

HTML XAML

Windows Phone Store Apps with

XAML

C#/VB or C++

WinRT

Windows Silverlight 8.1 XAML

C#/VB

WinRT

.NET BCL .NET BCL

* Apps written for Windows Phone 7.x/8.0 all run on Windows Phone 8.1

…others

XAML + Web-

Browser control hybrid

Web apps

XAML +HTML

.NET BCL

Page 15: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

Building a Universal Windows Phone & Windows Appdemo

Page 16: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

16

What’s new for developers in Windows Phone 8.1A summary of the stand-out features for developers

Page 17: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

17

Developers can create a single app that targets Windows Phone and Windows

• One Visual Studio ‘Universal app’ project template for your app

• Shared dev and test tooling for both platforms

Converged Windows XAML Apps

Page 18: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

18

Developers can use their HTML/CSS and JavaScript skills to create native apps that run on Windows Phone, similar to Windows

• Not covered in this Jump Start

Windows Phone Store app using JavaScript & HTML

Page 19: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

19

Shared virtual layout canvasProvides a common layout coordinate system that extends along the x and y axis into infinity, allowing you to scale up

Common canvas for Screen Diversity

10” tablet

7” tablet

6”

5”

4.5”

Infinite virtual canvas

166 Logical DPI

Page 20: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

20

Converged Controls

what’s it really mean?

80% exact same XAML 20% custom

Common SignatureOptimized

DatePicker

TimePickerCommandBarAppBar

Button

CheckBox

RadioButton

ProgressBar

Slider

ToggleSwitch Hub

PivotListViewGridView

Page 21: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

21

Controls for tailoring UI to each platform

On Windows Phone 8.1 … and on Windows 8.1

Page 22: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

22

Multitasking: Background Tasks and Triggers

Task

TimeTriggerPUSH

Notification

LocationTrigger

PushNotificationTrigger

MaintenanceTrigger

InternetAvailable NetworkStateChange

TimeZoneChange

Page 23: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

23

Shared Tiles and Notification Services

Windows Notification Service

(WNS)• Shared push service for Windows

+ Phone• Improved queuing to limit lost

notifications due to intermittent

network connectivity

Tile templates + toasts• Shared tile templates (more!)• Periodic tile updates• Toasts

Page 24: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

24

Action Center• Central location to surface

missed notifications• Apps can intelligently

manage notifications (silently add, update, and delete notifications)

Action Center

Page 25: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

App Data Model, Data Roaming and Data Backup

LocalPrimary local storeCan be backed up to users’ OneDrive

RoamingData roamed cross-deviceLimited to 100kb

TempTemporary storageCleaned up in low storage condition

Device B

WP 8.1 – PFN 12345

Roaming

LocalLocalCache

Temp

Device A

WP 8.1 App

Roaming

LocalLocalCache

Temp

Roaming

Backup [Device A]

Page 26: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

26

Share Contract

Page 27: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

27

Maps and Geofencing

Page 28: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

28

Media, Media Editing and Background Audio

Video Editing(Phone only – not available on Windows 8.1)

Background Audio & Streaming Media

MediaFoundation Access

Page 29: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

Screen Recorder: Record while you Play

Anna beats a level, with top score! The app asks her if she wants to share this with her friends? She says – “yes please!”

Congratulations! Shall we share this?

Share on:

Anna is playing her favorite game. The level is almost over, and Anna could break her record. The application starts recording the screen.

The application uploads the MP4 file, which was automatically transcoded to a VGA resolution for quick uploading, to a website for sharing.

* Screen recording available on Windows Phone only

Page 30: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

30

Bluetooth LEHeart rate monitors and other sensorsProximity detectors (Key finder)Developers can use the Bluetooth GATT APIs to access Bluetooth LE services, descriptors, and characteristics

Bluetooth RFCommConnect, host, and communicate with Bluetooth RFCOMM device services Devices using Serial Port Profile (SPP) are supportedClient and server Service Discovery Protocol (SDP)

Background Tasks and TriggersApp can receive Bluetooth data when its running in the backgroundLaunch when a Bluetooth event occurs

Bluetooth

Page 31: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

31

Mobile device management (MDM)More policy supportClient Certificate authenticationConvergence with Windows cryptography APIsWi-Fi & VPNS/MIMEApplication management

Enterprise Enhancements

secured

Page 32: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

32

And much, much more…Email with

Attachments

SL XAML/ Direct3D

enhancements

FileOpenPicker,

FileSavePicker

Read/Write access to SD

card

Easier NFC secure

payment

Wallet cards Known Folders

(Audio/Video/:Pictures)

Appointments/Calendar

API enhancement

s

Appointments/Calendar brokered UI

New background Transfer API

Sensors: Acceleromete

r, light, magnet …

Data Sense 2 WinRT HttpClient

Storage API enhancement

s

Graphics enhancements D2D/DWrite

Social RT AtomPub, Http,

Syndication (Windows.We

b)

Advertising ID

Data.XML Audio effects

Page 33: SydMobNet April 2014 - Nick Randolph's Build 2014 Update

33

Nick RandolphE ~ [email protected] ~ @btroam