46
What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Embed Size (px)

Citation preview

Page 1: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

What’s Coming Next to the Windows Phone Application Platform

Brandon Watson@brandonwatson

Page 2: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Core principles

2

[email protected]

@brandonwatson

Page 3: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Major Investment Areas

Multi-tasking Enhanced Phone Framework XNA Silverlight Integration Integrating with the phone Performance Database Access Complete the push notification and Tile experience Marketplace Services Sockets

Page 4: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Integrating with the Phone

Camera

Access to the pipeline

No need to capture the image to flash

Networking

Sockets

Connection Manager control

Sensors

GPS

Accelerometer

Compass

Gyro

Spatial Framework

Data

SQL CE

Phone Contacts

Phone Calendar

Launchers & Choosers

Bing Maps

E-mail

Phone Number

Address Chooser

Controls

Frame and Page Navigation improvements

Performance

Open Source on CodePlex

Page 5: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Hardware Availability and Debugging Not all phones will have same hardware configuration

Gyro and Compass optional (but if Gyro present, Compass present)

Motion Sensor quality based on sensors present Accelerometer, Gyro, and Compass - best quality Accelerometer and Compass – good for AR scenarios

(reduced quality without Gyro) Physical hardware required for most debugging scenarios

Accelerometer can be debugged with emulator

Page 6: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Integrating with the Phone

Camera

Access to the pipeline

No need to capture the image to flash

Networking

Sockets

Connection Manager control

Sensors

GPS

Accelerometer

Compass

Gyro

Spatial Framework

Data

SQL CE

Phone Contacts

Phone Calendar

Launchers & Choosers

Bing Maps

E-mail

Phone Number

Address Chooser

Controls

Frame and Page Navigation improvements

Performance

Open Source on CodePlex

Page 7: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

New and updated APIs in “Mango” Chooser Tasks related to user data

EmailAddressChooserTask PhoneNumberChooserTask AddressChooserTask

Microsoft.Phone.UserData for direct access Contacts Appointments

Important points Contacts and Appointments APIs are read only Third party social network data cannot be shared

Page 8: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Contacts/Appointments Data Shared  Contact

Nameand Picture

Other contact data

Appointments/Events

Windows Live Social YES YES YES

Windows Live Rolodex(user created and SIM import)

YES YES n/a

Exchange accounts(corporate plus Google, etc.)

YES YES YES

Operator Address Books YES YES n/a

Facebook YES NO NO

Other networks in the People Hub (e.g., Twitter)

NO NO NO

Page 9: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Integrating with the Phone

Camera

Access to the pipeline

No need to capture the image to flash

Networking

Sockets

Connection Manager control

Sensors

GPS

Accelerometer

Compass

Gyro

Spatial Framework

Data

SQL CE

Phone Contacts

Phone Calendar

Launchers & Choosers

Bing Maps

E-mail

Phone Number

Address Chooser

Controls

Frame and Page Navigation improvements

Performance

Open Source on CodePlex

Page 10: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Integrating with the Phone

Camera

Access to the pipeline

No need to capture the image to flash

Networking

Sockets

Connection Manager control

Sensors

GPS

Accelerometer

Compass

Gyro

Spatial Framework

Data

SQL CE

Phone Contacts

Phone Calendar

Launchers & Choosers

Bing Maps

E-mail

Phone Number

Address Chooser

Controls

Frame and Page Navigation improvements

Performance

Open Source on CodePlex

Page 11: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Expanding the Phone Framework

Push Notifications

Deep Toast

More control over notifications

Phone Extras

Search

Music

Photos

Tiles

Signature user experience for Windows Phone

Complete Framework

Multiple Tiles

Page 12: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

What is App Connect? Added functionality 3rd party apps provide for Bing

items

Four item types: Movies Places Events Products

Page 13: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Three Easy Steps to Implement Search Extras

1. Update your app’s Manifest Use the Extensions element One child Extension element for each category your app supports

Your app will appear in those items! This is a great way to drive downloads if your app isn’t yet installed

2. Add an Extras.XML file to your XAP Specify captions for each Bing category

 3. Accept Context to automatically open the item in your app

Create a SearchExtras page that accepts parameters. Search for the item using the parameters passed to your app.

Page 14: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Multitasking Themes Fast Application Resume

Ability to resume applications that the user has recently used Apps stay in memory unless memory is needed for other apps *Every* app should do this

Background Agents Ability to run your code in the background Audio, Timed or on Idle

Notifications Ability to create alarms and reminders UX and behavior is the same as the phone Alarms

and Calendar items Background Transfer Service

Application can queue up transfers in the background

Page 15: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Windows Phone Harmony

Network Conscience

Battery Friendly

Hardened Services

Delightful and

Responsive UX

Never Regret App Install

Integrated Feel

UX

Health

Page 16: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Multitasking and Phone HealthNew OS services

Processing on demand

Balance foreground and background

Align with system and user activity

Monitor resource usage

Page 17: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Multitasking Cheat SheetJob ToolResume quickly from the lock screen Fast App Switching (it’s

free!)Set an alarm or reminder at a precise time

Background Notification

Large file downloads Background Transfer

Event-based toast/tile updates Push Notifications

Location-based services; regular toast/tile updates; data pre-caching; etc.

Periodic Background Agent

Play music in the background Background Audio Player

Synchronize data; SETI@home; etc. Resource-Intensive Agent

Real-time GPS tracking Run under the lock screen

Page 18: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Running

Deactivated

Dormant

Activated

Save but do not dispose of state

Re-load state ONLY if tombstoned

Application is resident in memory; system detaches resources and pauses threads

Tombstoned

Application Lifecycle

Page 19: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Windows Phone Harmony - UXDelightful

and Responsive

UX

Never Regret App Install

Integrated Feel

CPU Balance foreground

and background Monitor usage

Working Set Maximize # of dormant apps 5 MB for periodic 10 MB for audio BTS limits per app

Periodic agents run serially when screen is on

App isolation is maintained No app execution on install Additional ingestion rules

Page 20: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Windows Phone Harmony - Health

Network Conscience

Battery Friendly

Hardened Services

Efficient Network Usage Aligned with radio On Idle agents don’t use

radio

New System Services Secure Performant Reliable Stress tested

Periodic Agents CPL provides user control Expire after 14 days Run 15 seconds every 30 min Cache GPS Execute in parallel when screen

is off Participate in battery saver

mode

Page 21: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Tools Investments

.NET

Performance

Generational GC

Serialization

SIMD – Vector

Profiler

Tools

New Template for Multitasking

Debugging Background Agents

Isolated Storage Explorer

Profiler

Emulator

Sensors and Location in Emulator

Multi Touch in Emulator

Screen shot

Ingestion Tool

Page 22: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

DEMO

Profiler & Mapping

Page 23: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Uservoice

We want to hear from you Released – Windows Phone Developer Feedback App

Provides phone interface to make suggestions about Windows Phone Developer platform

Website http://wpdev.uservoice.com Released – User Voice for Windows Phone

Makes it very easy to integrate user feedback into your app

Page 24: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Silverlight Investments

Silverlight 4

RichTextBox

Implicit Styles

Clipboard API

Performance

Memory Management

Input on Render Thread

Profiler Instrumentation

International

Reading/Writing of all Mango Languages

Big deal if you are writing an app for Asia

Page 25: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Call to Action

Keep building WP7 apps and submit them to marketplace All apps are forward compatible Mango allows you to build deeply integrated

phone experiences Multitasking opens up completely creative opportunities Download the Beta WPDT today and start experimenting

Page 26: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

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

Page 27: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

The future.

Oren NachmanSoftware Development Engineer in TestSilverlight for Windows Phone

Thanks to Shawn Oster, PM Yesterday.

Page 28: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.28

Agenda

Feedback The Software Stack Shifting Focuses Overview of features coming in the next version Silverlight 4 features vs. new phone features

Page 29: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.29

Your feedback here

Mango

Page 30: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Software Architecture

App Model

Cloud and Integration

Services

Hardware Foundation

UI Model

SoC

Camera, Sensors & Motion

FASSilverlight and XNA integratio

n

Silverlight 4.0

Flexible chassis

SQL CEGen GC

Push, Alerts

Multitasking

Calendar Contacts Maps

Extras

The BigPicture

Page 31: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.31

Silverlight Today

Features

Silverlight 3

Networking

Silverlight OR XNA

Media

1st Class

WP7 themed controlsw/ InputScopes

Manipulation events

WebBrowserControl

Performance

Hardware Accelerated

Render thread

Automatic Cached Composition

Page 32: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Silverlight Tomorrow

32

Features

Silverlight 4

Sockets

Silverlight & XNA Integration

WebCam

1st Class

Rendering and Input for all 7.X Supported Languages

Control Improvements and Phone Integration

WebBrowserControl using IE9

Performance

List Scrolling

Memory(OOM handling, working set)

Profiler Instrumentation

Page 33: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.33

Performance

ListBox scrolling Memory working set Off-thread image decoding

BackgroundCreation Other targeted speed and graphics

improvements

Page 34: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.34

Feature Areas

General Silverlight 4 Improvements Input Output Controls Networking Media & Graphics Silverlight & XNA Performance

Page 35: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.35

General Silverlight 4 Improvements

What It Is Implicit styles Data binding enhancements ICommand support

What It’s Not Printing, MouseWheel, Right-Click, Drag and Drop

Page 36: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.36

Input

Text IME integration TextBox events

Touch Tap, DoubleTap, Hold

Page 37: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.37

Output

Support for all languages on the phone

Red Squiggly

Page 38: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.38

Controls

RichTextBox (read-only) WebBrowser uses IE9 Clipboard API Fixes for Silverlight Toolkit controls

Page 39: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.39

Networking

Sockets TCP, UDP Unicast, UDP Multicast

Other Improvements Full header access WebClient now returns on originating thread

Page 40: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.40

Code Sample

Silverlight 4

Page 41: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.41

Media and Graphics

WebCam API Improved battery usage

for video in MediaElement 32 bits per pixel support

Defaults to 16, same as WP7

VideoBrush

Page 42: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.42

Silverlight & XNA

Page-level Element-level

Page 43: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Mango Application Lifecycle

running

deactivated

dormant

activated

Phone resources detachedThreads & timers suspended

Fast App Resume

Save State!State preserved!IsAppInstancePreserved == true

Restore state!IsAppInstancePreserved == false

Resuming .. .

Tombstone the oldest app

Tombstoned

Thanks Jaime!

Page 44: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.44

Creepy Twitter

Sam Jarawan

Page 45: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

Q&A</kittens>

45

Page 46: What’s Coming Next to the Windows Phone Application Platform Brandon Watson @brandonwatson

Windows Phone Microsoft Corporation.

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

46