01 wp7 introduction

Preview:

DESCRIPTION

 

Citation preview

Windows Phone 7

Li Jingnan / Wang Tao2011-7-15

1

Windows Phone Microsoft Corporation.

2 days 9:00 Introduction Anytao

10:30 Build a Silverlight Application Jason

13:00 Application Bar Anytao

14:30 Panorama and Pivots Jason

16:00 Launcher and Chooser Jason

9:00 Isolation Storage Anytao

10:30 Application Lifecycle Jason

13:00 Push Notification Anytao

14:30 Multitasking Jason

16:00 Local Database Anytao

9:00 Design Apps Using Expression Blend and Metro Jason

10:30 Marketing your Windows Phone Application Jason

13:00 Working with Azure Anytao

2

Windows Phone Microsoft Corporation.

about

anytao | Ethos

<ethos:Member id = “Wang Tao” msn = anytao@live.com weibo = http://weibo.com/anytao runat = “Senior System Architect”/>

Jason | Ethos

<ethos:Member id = “Li Jingnan” msn = zengnami@hotmail.com weibo = http://weibo.com/jn1981 runat = “SE”/>

Windows Phone Microsoft Corporation.

abouthttp://book.anytao.net

01 introduction

Wang Tao / 2011-07-15

Windows Phone Microsoft Corporation.

session outlineoverview

overview 90s for your first app architecture

developer marketplace development options becoming a developer

silverlight

setting up your system

overview Visual Studio emulator

creating WP applications querying contacts querying appointments

What’s new?

Windows Phone Microsoft Corporation.7

三分天下

Windows Phone Microsoft Corporation.8

Windows phone 7

Windows Phone Microsoft Corporation.9

who you are?

.net siverlight

phone developeriOS, Andriod wp7programmer

Windows Phone Microsoft Corporation.10

Click to add picture90s for your first wp7 app

Windows Phone Microsoft Corporation.11

Hardware Foundation

Same touch inputUnified CPU/GPUSame RAMKeyboard optional

PlatformWindows

PhoneHardware

Hardware Quality

480 or 320

80

0 o

r 48

0

Defined hardware by Microsoft:

Windows Phone Microsoft Corporation.

Hardware

12

Display480x800 QVGAOther resolutions in the futureCapacitive touch4+ contact points

Camera5+ megapixels

Hardware buttonsStart, Search, Back

GPUDirectX 9 acceleration

CPUARMv7

Memory256MB RAM or more8GB Flash or more

MultimediaCodec acceleration

SensorsA-GPS, Accelerometer, Compass, Light

Windows Phone Microsoft Corporation.

13

CLOUD

SCREEN

Phone Emulator

Samples Documentation

Guides Community

Packaging and Verification Tools

Notifications

Location Identity Feeds

MapsSocial

App Deployment Registration

Validation

Certification

Publishing

Marketplace

MO and CC Billing

Business Intelligence

Update Management

Tools

Portal ServicesCloud Services

Sensors Media Data

Xbox LIVE Notifications

.NET Framework managed code sandbox

Location

Phone

Runtime – On “Screen”

Windows Phone Microsoft Corporation.

XNA & Silverlight

Using XNA Shared Graphics

in the same app…14

Windows Phone Microsoft Corporation.

two favors of apps

15

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

Windows Phone Microsoft Corporation.16

architecture

Windows Phone Microsoft Corporation.

common platform capabilities

17

Input

Touch

Hardware buttons

Media

Digital media capture & playback

Media library access

Data

Isolated storage

LINQ

SQL CE

.NET

Support of Silvelight 3.0

Support XNA Game Studio 4.0

WCF(SOAP & RESTful)

Phone Access

Integrated access to phone UI

Sensors

Launcher and Chooser

Cloud

App deployment & update

Notification

Location

Xbox LIVE

Windows Phone Microsoft Corporation.

tools investments

18

.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

Windows Phone Microsoft Corporation.

integrating with the phone

Camera

Access to the pipeline

No need to capture the image to flash

19

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

Windows Phone Microsoft Corporation.

expanding the phone framework

20

Push Notifications

Deep Toast

More control over notifications

Phone Extras

Search

Music

Photos

Tiles

Signature user experience for Windows Phone

Complete Framework

Multiple Tiles

Windows Phone Microsoft Corporation.21

developer tools

Windows Phone Microsoft Corporation.22

marketplace

Enhanced discovery easy to find great applications, games, and so on fun to browse the marketplace

Simple, reliable try before you buy payment flexibility easy app update

Windows Phone Microsoft Corporation.23

development options

silverlight developer game developer Windows Mobile developer .net developer

Windows Phone Microsoft Corporation.24

becoming a developer

get developer tools build silverlight/XNA framework app register and publish in zune distribute your app

Windows Phone Microsoft Corporation.

build WP app by Visual Studio

create solution solution structure files in WP project

25

Windows Phone Microsoft Corporation.

Silverlight for Windows Phone files

27

Windows Phone Microsoft Corporation.

compile and debug

compile Output window Error List window run emulator end debugging

28

Windows Phone Microsoft Corporation.

UI design

design view layout control UI effect

29

control desc

Grid

Canvas

StackPanel

Windows Phone Microsoft Corporation.

UI event

click event handle event

BannerTextBlock.Text = MessageTextBox.Text;MessageTextBox.Text = String.Empty;

30

Windows Phone Microsoft Corporation.

debug

set break point emulator

quick key skills

check variables

31

Windows Phone Microsoft Corporation.32

developer tools

VS 2010 for WP WP emulator Expression blend for WP XNA game studio 4.0

single free download

Windows Phone Microsoft Corporation.33

demo01 dev WP app by visual studio

/ first app/ visual studio / emulator/ design / debug / expression blend / marketplace/ zune/ query contact & appointments

Windows Phone Microsoft Corporation.34

what’s new?

Windows Phone Microsoft Corporation.35

develop for phone

UXdesign

performance

data

storage

service

game

network

xna

MVVM

Windows Phone Microsoft Corporation.36

develop for phone

Windows Phone Microsoft Corporation.37

practiceyour first wp7 app

Windows Phone Microsoft Corporation.38

Click to add picturethank youwww.anytao.com

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.

39