Windows Phone Mango - 28/10/2011

63
Windows Phone Mango

description

Author: Trịnh Minh Cường - Nguyễn Quang Trung

Transcript of Windows Phone Mango - 28/10/2011

Windows Phone Mango

Giới thiệu Windows Phone

Dự án Windows Phone khởi động năm

2008

Nền tảng OS mobile hoàn toàn mới

10/2010 ra mắt

vs.People Icons

High Level Architecture

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Architecture

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

800

480

Consistent Platform

Windows Phone

Hardware

Common Hardware Elements

Quality Focus

Microsoft chuẩn hoá yêu cầu phần

cứng:

1- Tăng chất lượng ứng dụng

2- Giảm tối đa lỗi không tương thích

và thời gian kiểm thử

Capacitive 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 accelerationCPUARMv7 Cortex/Scorpion or better

80

0 o

r 4

80

480 or 320

Hardware buttons | Back, Start, Search

Hardware Foundation

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Software Architecture

Kernel Hardware BSP

App Model UI Model Cloud Integration

Applications

App managementLicensingChamber isolationSoftware updates

Shell frame Session managerDirect3DCompositor

Xbox LIVEBingLocationPush notificationsWindows Live ID

Your App UI and logic

A-GPS Accelerometer Compass Light ProximityMedia Wi-Fi Radio Graphics

SecurityNetworkingStorage

FrameworksSilverlight XNA

HTML/JavaScriptCLR

Hardware Foundation

Windows Phone 7 Frameworks Details

Common Base Class Library

Collections ComponentModel Configuration

DiagnosticsReflection IO

Security Threading

Runtime Resources Globalization TextLocation Net

ServiceModel Linq

Application Object

Silverlight Presentation and Media

XNA Frameworks for Games

Windows Phone Frameworks

NavigationShapes Markup Media

Controls Drawing IsolatedStorage

AudioMedia GraphicsInput

Drawing GamerServices

Content

PhoneApplicationPage

PushNotification WebBrowserControl SensorsPhoneApplicationFra

me

CameraDevice

IntegrationLaunchers &

ChoosersWindows Phone

Controls

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

App Model: ConceptsApplicationUniquely identifiable, licensable and serviceable software product packaged as a XAPApplication DeploymentSteps include Ingestion, Certification and SigningApplication licenseCrypto-verifiable object issued to grant rights to

an application

Windows Phone

Marketplace

Windows Phone

Marketplace

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

UI Model: ConceptsApplicationUI and logic for functionality exposed through pages

PageA single screen of user interaction elements

SessionAn ordered workflow of user interactions spanning applications

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Cloud Integration: Concepts

Built-in user experiences and APIs integrated with key Microsoft services

Familiar API frameworks for interacting with existing Web 2.0 services

Rich support for incorporating custom web services into app-specific experiences

Windows Phone

Cloud integration client services

Frameworks

Windows Phone

Application

Your Web ServiceCustom Web Service

Existing Web Services

Microsoft Services

Notification ServiceLocation Service

Location Client Architecture

Location client service

App UI and logic

RadioWi-FiA-GPS

Micro

soft S

erv

ices

Security

Win

dow

s Ph

on

e Lo

catio

n

Serv

ice

Push Notification Service

Built-in support for efficient, battery-aware mobile push notifications

Managed APIs for notification-driven interaction with existing Web 2.0 sites

Windows Phone Your Web ServiceCustom Web Service

Existing Web Services

Microsoft Services

Push client service

Microsoft.Phone.Notification Notification Service

Push Client ArchitectureM

icroso

ft Serv

ices

Micro

soft P

ush

Notifi

catio

n

Serv

ice

Push client service

Microsoft.Phone.Notification

Download Manager

Live Tiles service

Networking RadioWi-Fi

App UI and logic

XBOX Live

Authenticated Xbox LIVE calls

Game specific web requests

Windows Phone

Game Foundation handles auth, caching, & partial connectivity for Xbox LIVE

Third party token allows secure integration with game-specific services

Your Web ServiceCustom Web Service

Microsoft Services

Gamer Services APIs for Xbox LIVE Profiles, Achievements, and Leaderboards

Game Foundation

XNA

Windows Phone Developer Tools

myapp.xap

Windows Phone device

Windows PhoneEmulator

Phone EmulatorSamples DocumentationGuides Community

Packaging and Verification Tools

Tools

Development Tools

Windows Phone Mango

Windows Phone Mango

3/2011 Update Nodo

10/2011 Windows Phone 7.1 Mango

Nét mới trong Mango Cung cấp API lập trình cho các cảm biến: gia tốc, la bàn …

Phục hồi trạng thái chương trình nhanh Hỗ trợ đa nhiệm Cho phép tạo nhiều tile cho ứng dụng Cung cấp API truy cập Camera Hỗ trợ viết các ứng dụng sử dụng giao thức TCP,UDP

Hỗ trợ lập trình trên VB Hỗ trợ cơ sở dữ liệu SQL , LINQ Cung cấp API lấy thông tin của thiết bị: phần cứng, bộ nhớ ...

Truy cập thông tin danh bạ, lịch làm việc. Truy cập vào Cookie của trình duyệt Và rất rất nhiều các tính năng khác..

Cơ hội phát triển

Acrobat Reader

– Steve Lohr

Top Search Engine?

32434 Apps/11 months

Windows Phone Microsoft confidential.

Windows Phone and Nokia• 11/2/2011: Nokia trở thành đối tác về windows phone của Microsoft • Windows Phone sẽ trở thành OS chính trong dòng smartphone của

Nokia• Cơ hội phát triển tăng

MADE IN VIETNAMWP 7.1 apps

MADE IN VIETNAMMADE BY FELIX

STUDIO

MADE IN VIETNAMMADE BY ZENDIOS

MADE IN VIETNAMMADE BY HVTSoft

Tim BooksAnd the story begins

HỖ TRỢ ĐA NỘI DUNG

Text books: 5000 booksAudio books: 200 audio

ỨNG DỤNG ĐỌC SÁCH SỐ 1 VIỆT NAM

HỖ TRỢ ĐA NỀN TẢNG

iOS, Android, Bada, Windows

Phone, BlackBerry

Hơn 20.000 lượt download sau 3

tháng

PHẢN HỒI

“Rất cám ơn nhóm phát triển. Đang sử dụng, rất hay.Chúc nhóm phát triển sức khỏe, thành công và hạnh phúc”Tuyệt vời. Thanks .Ủng hộ ứng dụng Việt

Lập trình trên Windows Phone

Demo

Hello World

Demo

ExpressionBlend

Demo

Local Database

Các bước làm việc với Local Database1. Tạo file DataContext

2. Tạo mới Database

3. Thao tác dữ liệu

Demo

Device Information

Microsoft.Phone.Info.DeviceStatus ApplicationCurrentMemoryUsage ApplicationMemoryUsageLimit ApplicationPeakMemoryUsage DeviceFirmwareVersion DeviceHardwareVersion DeviceManufacturer DeviceName DeviceTotalMemory IsKeyboardDeployed IsKeyboardPresent PowerSource

Lấy và hiển thị các thông tin chung

Lấy và hiển thị các thông tin mạng Microsoft.Phone.Net.NetworkInformation

CellularMobileOperator IsCellularDataEnabled IsCellularDataRoamingEnabled IsNetworkAvailable IsWiFiEnabled

Lấy và hiển thị khả năng cảm biến Microsoft.Devices.Sensors

Accelerometer Compass Motion Gyroscope

Demo

Music Player

Tài liệu TrainingKit của Microsoft Ebook Video Techmastervn

[email protected]

Q&A