Mike Ormond: Developing for Windows Phone 7

Post on 13-May-2015

2.365 views 0 download

Tags:

Transcript of Mike Ormond: Developing for Windows Phone 7

Windows Phone 7

Mike OrmondDeveloper EvangelistMicrosoft

A Lap Around Windows Phone 7

@MikeOrmondhttp://bit.ly/mikeormond

mike.ormond@microsoft.com

Three Red Threads

Relevant – your people, your location

Personal – your day, your way

Connected – your stuff, your peace

of mind

Hardware PlatformCapacitive touch4 or more contact points

SensorsA-GPS, Accelerometer, Compass, Light, Proximity

Camera5 mega pixels or more

MultimediaCommon detailed specs, Codec acceleration

Memory256MB RAM or more, 8GB Flash or more

GPUDirectX 9 acceleration

CPUARMv7 Cortex/Scorpion or better

80

0 (

48

0)

480 (320)

Hardware buttons | Back, Start, Search

The Platform

CLOUD

SCREEN

Notifications

Location Identity Feeds

MapsSocial

App Deployment

Cloud Services

Phone Emulator

Samples Documentation

Guides Community

Packaging and Verification Tools

Tools

Registration

Validation

Certification

Publishing

Marketplace

MO and CC Billing

Business Intelligence

Update Management

Portal Services

Sensors Media Data

Xbox LIVE Notifications

.NET Framework managed code sandbox

Location

Phone

Runtime

Building Applications

High performance game framework

Rapid creation of multi-screen 2D and 3D games

Rich content pipeline Mature, robust, widely adopted

technology Xbox 360 Windows Zune

Modern application UI framework

Rapid creation of visually stunning apps

Metro-themed UI controls

500,000 developers spanning Windows and web

Silverlight Recipe Start with Silverlight 3 Take away a few bits and pieces

Eg DLR, HTML DOM Bridge, Sockets, JS Programmability

Add in some extra bits Eg SIP, Manipulations, Launchers and other phone

specific features And…

Access to XNA libraries

XNA Recipe XNA Game Studio 4 Access to most namespaces And…

Access to Silverlight libraries

The Platform

CLOUD

SCREEN

Notifications

Location Identity Feeds

MapsSocial

App Deployment

Cloud Services

Phone Emulator

Samples Documentation

Guides Community

Packaging and Verification Tools

Tools

Registration

Validation

Certification

Publishing

Marketplace

MO and CC Billing

Business Intelligence

Update Management

Portal Services

Sensors Media Data

Xbox LIVE Notifications

.NET Framework managed code sandbox

Location

Phone

Runtime

Development Tools

Expres

sBlen

d

for

Phon

e

Emulator

Windows Phone Developer Tools

(WPDT)

Visual Studio Debug Silverlight & XNA Project Types

- Emulator

- Device

Developer Registration Tool

XAP Deployment ToolRTW

The Windows Phone Developer Tools

demo

The Platform

CLOUD

SCREEN

Notifications

Location Identity Feeds

MapsSocial

App Deployment

Cloud Services

Phone Emulator

Samples Documentation

Guides Community

Packaging and Verification Tools

Tools

Registration

Validation

Certification

Publishing

Marketplace

MO and CC Billing

Business Intelligence

Update Management

Portal Services

Sensors Media Data

Xbox LIVE Notifications

.NET Framework managed code sandbox

Location

Phone

Runtime

Push Notification Service

MicrosoftPush

NotificationServices

My CloudApplicatio

n

Push Client

Push Library

My Phone Applicatio

n

Push NotificationPush NotificationPush Notification

Push Notifications

Raw Live Tile Toast

Push Notifications Code

Where am I?

Location services

WiFi

+ Accuracy- Power- Speed- Indoors

- Accuracy+ Power+ Speed- Wilderness

- Accuracy+/- Power+/- Speed+/- Urban areas

GPS

Towers

where am i?

Location Service

Cloud Servic

eManaged API

My Phone Application

Native Layer

GPS

WiFi

Cellular

Radio

Connected Applications

REST WebClient HttpWebRequest

WCF (BasicHttpBinding) No custom bindings No sockets

XboxLive

MappingLocation Service

NotificationServices

Your Hosted Service

Windows Azure

SearchExisting Hosted

Service

Development Process

C# XAML+

XAP

ManifestAssembliesResources

Cloud Services

demo

The Platform

CLOUD

SCREEN

Notifications

Location Identity Feeds

MapsSocial

App Deployment

Cloud Services

Phone Emulator

Samples Documentation

Guides Community

Packaging and Verification Tools

Tools

Registration

Validation

Certification

Publishing

Marketplace

MO and CC Billing

Business Intelligence

Update Management

Portal Services

Sensors Media Data

Xbox LIVE Notifications

.NET Framework managed code sandbox

Location

Phone

Runtime

Application MarketPlace

DEEPEN CUSTOMER CONNECTIONTrial APIBroad business model & billing supportPush Notification, update & glance able tiles

EASILY MANAGE YOUR BUSINESSSingle self-service portalTransparent policies, open to 3rd party services

INCREASED DISCOVERABILITY

Single easy-to-find marketplace on device & PCReach all WP7 consumers with worldwide distributionLocalized merchandising to promote the best apps Unlimited Paid Apps

£67 + VAT

5 Free Apps

70% Revenue Share

Credit Card & Mobile Operator Billing Device Unlock Support for Trial Mode

Details

Some Platform Specifics

Navigation(Silverlight) Phone apps are

navigation apps

System.Windows.Application

Microsoft.Phone.Controls.PhoneApplicationFrame

RootVisual

Microsoft.Phone.Controls.PhoneApplicationPage

Page2

Microsoft.Phone.Controls.PhoneApplicationPage

Page1

Microsoft.Phone.Controls.PhoneApplicationPage

MainPageN

avig

atio

nServi

ce

MyApp

App Lifecycle and Tombstoning

Not Starte

d

Launching

ClosingTerminat

edRunnin

g

Deactivated

Tombstoned

Activated

ApplicationBack-Stack

Navigation and Lifecycle

demo

Launchers, Choosers EmailComposeTask MarketplaceDetailTask MarketplaceHubTask MarketplaceReviewTask MarketplaceSearchTask MediaPlayerLauncher PhoneCallTask SearchTask SmsComposeTask WebBrowserTask

CameraCaptureTask EmailAddressChooserTask PhoneNumberChooserTask PhotoChooserTask SaveEmailAddressTask SavePhoneNumberTask

Data

retu

rned

San

dbo

x

Launchers and Choosers

demo

Input

Touch

Soft Input PanelApplicat

ion BarHardwareButtons

Accelerometer

Handling Input

demo

The Hub Experience

Hub Extensibility

demo

New Controls for RTW

Silverlight for Windows Phone Toolkit GestureService/GestureListener ContextMenu DatePicker TimePicker ToggleSwitch WrapPanel

New Controls

demo

Orientation

Themes

Purple

Magenta

Teal

Lime

Brown

Pink

Orange

Blue

Red

Green

Orientation & Theming

demo

Windows Phone 7

http://bit.ly/wp7resources

http://developer.windowsphone.com

@MikeOrmond

http://bit.ly/mikeormond mike.ormond@microsoft.com

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows 7 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.