38
Windows Phone 7 Li Jingnan / Wang Tao 2011-7-15 1

01 wp7 introduction

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: 01 wp7   introduction

Windows Phone 7

Li Jingnan / Wang Tao2011-7-15

1

Page 2: 01 wp7   introduction

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

Page 3: 01 wp7   introduction

Windows Phone Microsoft Corporation.

about

anytao | Ethos

<ethos:Member id = “Wang Tao” msn = [email protected] weibo = http://weibo.com/anytao runat = “Senior System Architect”/>

Jason | Ethos

<ethos:Member id = “Li Jingnan” msn = [email protected] weibo = http://weibo.com/jn1981 runat = “SE”/>

Page 4: 01 wp7   introduction

Windows Phone Microsoft Corporation.

abouthttp://book.anytao.net

Page 5: 01 wp7   introduction

01 introduction

Wang Tao / 2011-07-15

Page 6: 01 wp7   introduction

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?

Page 7: 01 wp7   introduction

Windows Phone Microsoft Corporation.7

三分天下

Page 8: 01 wp7   introduction

Windows Phone Microsoft Corporation.8

Windows phone 7

Page 9: 01 wp7   introduction

Windows Phone Microsoft Corporation.9

who you are?

.net siverlight

phone developeriOS, Andriod wp7programmer

Page 10: 01 wp7   introduction

Windows Phone Microsoft Corporation.10

Click to add picture90s for your first wp7 app

Page 11: 01 wp7   introduction

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:

Page 12: 01 wp7   introduction

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

Page 13: 01 wp7   introduction

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”

Page 14: 01 wp7   introduction

Windows Phone Microsoft Corporation.

XNA & Silverlight

Using XNA Shared Graphics

in the same app…14

Page 15: 01 wp7   introduction

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

Page 16: 01 wp7   introduction

Windows Phone Microsoft Corporation.16

architecture

Page 17: 01 wp7   introduction

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

Page 18: 01 wp7   introduction

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

Page 19: 01 wp7   introduction

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

Page 20: 01 wp7   introduction

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

Page 21: 01 wp7   introduction

Windows Phone Microsoft Corporation.21

developer tools

Page 22: 01 wp7   introduction

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

Page 23: 01 wp7   introduction

Windows Phone Microsoft Corporation.23

development options

silverlight developer game developer Windows Mobile developer .net developer

Page 24: 01 wp7   introduction

Windows Phone Microsoft Corporation.24

becoming a developer

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

Page 25: 01 wp7   introduction

Windows Phone Microsoft Corporation.

build WP app by Visual Studio

create solution solution structure files in WP project

25

Page 26: 01 wp7   introduction

Windows Phone Microsoft Corporation.

Silverlight for Windows Phone files

27

Page 27: 01 wp7   introduction

Windows Phone Microsoft Corporation.

compile and debug

compile Output window Error List window run emulator end debugging

28

Page 28: 01 wp7   introduction

Windows Phone Microsoft Corporation.

UI design

design view layout control UI effect

29

control desc

Grid

Canvas

StackPanel

Page 29: 01 wp7   introduction

Windows Phone Microsoft Corporation.

UI event

click event handle event

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

30

Page 30: 01 wp7   introduction

Windows Phone Microsoft Corporation.

debug

set break point emulator

quick key skills

check variables

31

Page 31: 01 wp7   introduction

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

Page 32: 01 wp7   introduction

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

Page 33: 01 wp7   introduction

Windows Phone Microsoft Corporation.34

what’s new?

Page 34: 01 wp7   introduction

Windows Phone Microsoft Corporation.35

develop for phone

UXdesign

performance

data

storage

service

game

network

xna

MVVM

Page 35: 01 wp7   introduction

Windows Phone Microsoft Corporation.36

develop for phone

Page 36: 01 wp7   introduction

Windows Phone Microsoft Corporation.37

practiceyour first wp7 app

Page 37: 01 wp7   introduction

Windows Phone Microsoft Corporation.38

Click to add picturethank youwww.anytao.com

Page 38: 01 wp7   introduction

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