Mike Ormond: Windows Phone 7 Development (DDD Guathon)

37
7 Mike Ormond Developer Evangelist Windows Phone 7 Development @MikeOrmond http://bit.ly/mikeormond [email protected] Microsoft Ltd

description

As SlideShare doesn't support animations / transitions some of the slides are difficult to read. You can use the download feature if this is a problem.

Transcript of Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Page 1: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

7

Mike OrmondDeveloper Evangelist

Windows Phone 7Development

@MikeOrmondhttp://bit.ly/mikeormond

[email protected] Microsoft Ltd

Page 2: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Fundamentals

Page 3: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Three Red Threads

Relevant – your people, your

location

Personal – your day, your way

Connected – your stuff, your peace

of mind

Page 4: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

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

Page 5: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

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, and Zune

Modern application UI framework

Rapid creation of visually stunning apps

Metro-themed UI controls

500,000 developers spanning Windows and web

Page 6: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Silverlight Recipe

You don’t get everything in Silverlight 3 Eg DLR, HTML DOM Bridge, Sockets, JS programmability

Start with Silverlight 3

But you do get some extra bits Eg SIP, Manipulations, Launchers and other phone specific

features

Access to XNA features

And…

Page 7: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

XNA Recipe

Access to most namespaces

Game Studio 4

And…

Access to Silverlight features

Page 8: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

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 ToolBeta

Page 9: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Development Process

C# XAML+

XAP

ManifestAssembliesResources

Page 10: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Demo

Page 11: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Marketplace

Page 12: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Overview

DEEPEN CUSTOMER CONNECTION

Trial APIBroad business model & billing supportPush Notification, update & glance able tiles

EASILY MANAGE YOUR BUSINESS

Single self-service portalTransparent policies, open to 3rd party servicesBeta distribution service

INCREASED DISCOVERABILITY

Reach all WP7 consumers with worldwide distributionSingle easy-to-find marketplace on device & PCDaily, localized merchandising to promote the very best apps Unlimited Paid Apps

£67 + VAT

5 Free Apps

70% Revenue Share

Credit Card & Mobile Operator Billing

Device Unlock

Support for Trials and Betas

Details

Page 13: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Connected

Page 14: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

REST WebClient HttpWebRequest

WCF (BasicHttpBinding) No custom bindings No sockets

Accessing Services

XboxLive

Mapping

Location Service

NotificationServices

Your Hosted Service

Windows Azure

Search

Existing Hosted Service

Page 15: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Phone Concepts

Page 16: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

(Silverlight) Phone apps are navigation apps

Navigation

System.Windows.Application

Microsoft.Phone.Controls.PhoneApplicationFrame

RootVisual

Microsoft.Phone.Controls.PhoneApplicationPage

Page2

Microsoft.Phone.Controls.PhoneApplicationPage

Page1

Microsoft.Phone.Controls.PhoneApplicationPage

MainPage

Navig

atio

nServi

ce

MyApp

Page 17: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

App Lifecycle & Tombstoning

Not Starte

d

Launching

ClosingTerminat

edRunnin

g

Deactivated

Tombstoned

Activated

ApplicationBack-Stack

Page 18: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Demo

Page 19: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Push Notifications

Raw Live Tile Toast

Page 20: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Push Notification Architecture

MicrosoftPush

NotificationServices

CloudApplicatio

n

Push Client

Push Library

Phone Applicatio

n

Request PNs

Unique Channel URI

Channel URI

HTTP POSTXML Payload

Push Notification

Page 21: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Push Notifications

Page 22: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Input

Touch

Soft Input PanelApplicati

on BarHardwareButtons

Accelerometer

Page 23: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Demo

Page 24: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Building Phone Applications

Page 25: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Where am I?

Location services

WiFi

+ Accuracy- Power- Speed- Indoors

- Accuracy+ Power+ Speed- Wilderness

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

GPS

Towers

Page 26: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Location

Managed Layer

Native Layer

GPS WiFi Cellular Radio

Cloud Servic

e

Page 27: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Demo

Page 28: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Hubs

Page 29: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Panorama & Pivot

Page 30: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Demo

Page 31: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Windows Phone

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

CameraCaptureTask EmailAddressChooserTask PhoneNumberChooserTask PhotoChooserTask SaveEmailAddressTask SavePhoneNumberTask

Page 32: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Demo

Page 33: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Orientation

Page 34: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Themes

Purple

Magenta

Teal

Lime

Brown

Pink

Orange

Blue

Red

Green

Page 35: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Demo

Page 36: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

Windows Phone

Where next?

http://bit.ly/wp7resources

http://developer.windowsphone.com

@MikeOrmond

http://bit.ly/mikeormond

[email protected]

http://wpug.net

Page 37: Mike Ormond: Windows Phone 7 Development (DDD Guathon)

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