getting started with wp7 development

26
Getting Started with Windows Phone 7 Development 13 January 2011 Jeff Bramwell Enterprise Applications Architect [email protected] twitter.com/jbramwell devmatter.blogspot.com

Upload: jeff-bramwell

Post on 28-Jan-2015

109 views

Category:

Technology


0 download

DESCRIPTION

Provides an overview of developing for Windows Phone 7.

TRANSCRIPT

Getting Started withWindows Phone 7 Development

13 January 2011

Jeff BramwellEnterprise Applications [email protected]/jbramwell devmatter.blogspot.com

Agenda

What is Windows Phone 7? The Run Down Developing for WP7 Marketing Your Application Resources and Links Demo

What is Windows Phone 7?

Latest Mobile OS from Microsoft Successor to Windows Mobile 6.5 A complete “reboot”

Aimed at consumer market UI based on Metro

Focus on text and content – not eye candy Standard across all platforms/carriers

Uses Hubs to group related information/features Games Marketplace Music + Videos

Office People Pictures

What is Windows Phone 7? (cont’d)

Live Tiles to display dynamic information Integrates with Xbox Live

Turn-by-turn play against Xbox or PC now Head-to-head play against Xbox or PC in the works

Integrates with Zune Pass But, first and foremost…

It’s a Phone

Standardized Hardware Foundation

Capacitive touch4 or more contact points

SensorsA-GPS, Accelerometer, Compass, Light, Proximity

Camera5 mega pixels or more, flash required, camera button required

MultimediaCommon detailed specs, Codec acceleration

Memory256MB RAM or more, 8GB Flash or more

GPUDirectX 9 acceleration

CPUARMv7 Cortex/Scorpion or better

800

WV

GA

/ 4

80 H

VG

A

480 WVGA / 320 HVGA

Hardware buttons | Start, Search, Back

Agenda

What is Windows Phone 7? The Run Down Developing for WP7 Marketing Your Application Resources and Links Demo

Windows Phone 7 Myths

Nobody is buying WP7 devices… > 1.5 million phones sold in the first six weeks1

Developers aren’t creating WP7 apps… > 20,000 developers registered in the marketplace2

≈ 2,800 developers currently published in the marketplace3

There are no apps in the WP7 Marketplace… > 6,100 apps after ≈ two months (in line with other app

stores)3

Averaging ≈ 100+ new applications each day

Total Applications (13 Jan 11)

Source: wp7applist.com

Applications by Category (13 Jan 11)

Source: wp7applist.com

Paid vs. Free (13 Jan 11)

Source: wp7applist.com

1.5 million Windows Phone 7 handsets sold to carriers

Windows Phone 7 Released in North America

Windows Phone 7 Released in Saudi Arabia

A Quick Timeline

Windows Phone 7 Series Officially Unveiled

Feb. 15th,2010

MIX 2010:• Additional

Details Released

• CTP of WP7 Dev. Tools Released

March

15th,2010

Windows Phone 7 Released in Europe, Singapore, and Australia

Oct.21st,2010

Rumored “Mango” Release to Windows Phone 7.5:• Silverlight in Browser• HTML 5

Fall2011

Nov.8th,

2010

• “Series” dropped from name

• CTP of WP7 Tools Refreshed

April2nd,

2010

Windows Phone 7 Released in Mexico

Nov.24th,2010

Dec.21st,2010

Windows Phone 7 Released in Thailand

“NoDo”:• Copy/Paste• Performance Updates• Better Marketplace Search

Rumored Updates:• CDMA Release• Enhanced Dev. Controls• New APIs (e.g. multi-task)• New Bing features

Dec.22nd,2010

“Apollo” - Windows Phone 8

TBD…

Q12011

Agenda

What is Windows Phone 7? The Run Down Developing for WP7 Marketing Your Application Resources and Links Demo

Two Flavors of Applications

High performance game framework

Rapid creation of multi-screen

2D and 3D games Rich content pipeline Mature, robust, widely

adopted technology spanning Xbox 360, Windows, and Zune

Modern XAML/event-driven application UI framework

Rapid creation of visually stunning apps

Metro-themed UI controls

HTML/JavaScript 500,000 developers

spanning Windows and web

CLOUD

SCREEN

Elements of the Application Platform

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

Notifications

Location Identity Feeds

MapsSocial

App Deployment

Cloud Services

Sensors Media Data

Xbox LIVE Notifications

.NET Framework managed code sandbox

Location

Phone

Runtime – On “Screen”

So Much to Learn

Silverlight (3’ish) and/or XNA Model-View-ViewModel (MVVM) Expression Blend and/or Visual Studio Tombstoning Navigation Windows Phone 7 APIs

Notifications Location Services (e.g. GPS, Wi-Fi, cellular) Sensors (e.g. accelerometer) Launchers and Choosers Camera And more…

Prepare Yourself

Download the FREE Tools1

Visual Studio 2010 Express XNA Game Studio 4.0 (if desired) Windows Phone Emulator Microsoft Expression Blend for Windows Phone Silverlight .NET Framework 4.0

Windows Phone Developer Tools October 2010 Update2

Unlock your Windows Phone – if you have one

The “Windows 2008” Dilemma

Windows Phone Developer Tools does NOT support Windows Server 2008 R2

So, what to do? As always, there are hacks…

Windows Server 2008 R2

Windows Phone 7 Developers Tools

1. Download the Windows Phone Developer Tools1

2. Extract the contents of the setup package by running vm_web.exe /x and choosing a path to extract to

3. Go to the folder you extracted to in step 2 and open the file baseline.dat in notepad

4. Look for the section named [gencomp7788]

5. Change the value InstallOnLHS from 1 to 06. Change the value InstallOnWin7Server from 1 to 07. Save and close baseline.dat8. Run setup.exe /web from the path you extracted to in

step 2

Full Instructions Here: http://bit.ly/WP7Tools4WS2008

Windows Server 2008 R2

Zune Client – use to Deploy/Test on WP7 Device

1. Download the Zune client1

2. Run ZuneSetupPkg.exe /x from an elevated command prompt

3. Run .\x64\PACKAGES\zune-x64.exe to complete the installation

Full Instructions Here: http://bit.ly/ZuneClient4WS2008

Agenda

What is Windows Phone 7? The Run Down Developing for WP7 Marketing Your Application Resources and Links Demo

Marketing Your Application

Register with the APP HUB at create.msdn.com $99/year – or – FREE for DreamSpark students1

Read the WP7 Application Certification Requirements2

Use the Windows Phone Capability Detection Tool3

Ensure application is tested/proofread Test on physical hardware – not just emulator

Submit for validation and testing via APP HUB About three days (based on my experience)

Promote your application via Twitter, Facebook, etc.

Sit back and watch the $$$ roll in!

Deployment Process

Develop & Debug

Submit& Validate

Certify & Sign

Windows Phone Application Deployment Service

Marketplace

Monitor Your Progress

Agenda

What is Windows Phone 7? The Run Down Developing for WP7 Marketing Your Application Resources and Links Demo

Resources and Links

Windows Phone 7 Training Kit http://bit.ly/WindowsPhone7TrainingKit

Windows Phone Developer Guidance Map v2.0 http://bit.ly/WP7DevGuidanceMapV2

APP HUB http://create.msdn.com

APP HUB Content Catalog (tons of examples) http://create.msdn.com/en-US/education/catalog/

Books Available on Amazon http://amzn.to/WP7Books

On-line Application Catalog http://wp7applist.com/

DEMO