wp7 architecture overview

Post on 13-Jan-2015

4.377 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

WP7 Architecture overview presented at Mobile Monday Bangalore March 2011 event.

TRANSCRIPT

Microsoft |

Developer Evangelist

WP7 Architecture overview

Gowtham Prasad K N

Partner Technical Consultant

Amar Nityananda

Microsoft

Agenda

Application Platform + Framework & Tools

Strategy & Philosophy

Architecture at glance

Q & A

Hands-On: Building LBS App on WP7

WP7 Architecture overview + Tools and IDE's for WP7

Microsoft

DESIGN: END USER COMES FIRST

PLATFORM: RICHER, DEEPER, EASIER APPS

HARDWARE:FASTER TO MARKET, LESS HEAVY LIFTING

Changing our GameA new approach with WP7

Microsoft

INTEGRATED EXPERIENCES

SMART DESIGN

Microsoft

Microsoft

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Integrated Experiences

Microsoft |

Microsoft |

Microsoft Windows Phone Microsoft confidential.

DEMO

Microsoft

APPLICATION PLATFORM

Microsoft Windows Phone Microsoft confidential.

Platform goals

A wide variety of thousands of compelling apps and games

One stack of frameworks that can be leveraged across multiple devices, tied via cloud

Financial and otherwise

End User Customization Cloud enablementDeveloper profit

Microsoft

Platform components

Code that executes on the client

Tools used locally

Code that executes in the cloud

Tools in the cloud

Clie

ntSe

rver

Microsoft

Platform componentsClie

ntSe

rver

Sensors Media Data

Xbox LIVE Notifications

.NET Framework managed code sandbox

Location

Phone

Phone Emulator

Samples Documentation

Guides Community

Packaging and Verification Tools

Runtime Tools

Cloud PortalNotifications

Location Identity Feeds

MapsSocial

App Deployment Registration

Validation

Certification

Publishing

Marketplace

MO and CC Billing

Business Intelligence

Update Management

Client runtime & frameworks

Microsoft

Silverlight

Rapid creation of visually stunning

apps

Modern application UI framework &

runtime

METRO themed UI controls, defined in XAML

XAML, C#, HTML & JavaScript

Rich media support

500,000 developers spanning Windows and Web

Microsoft

XNA Framework

Rapid creation of multiscreen 2D and 3D games

High performance game

framework

Rich content pipeline

Traditional update/draw/present frame loop model

Windows Phone Microsoft confidential.

Common capabilities Input

Touch Hardware buttons

Media Digital media

capture & playback Media library access

Data Isolated storage LINQ (Objects &

XML)

Windows Communication Foundation SOAP & REST

services Phone access

Sensors Launchers &

choosers Cloud services

Notifications Location & mapping Xbox LIVE

Microsoft

WP7 Architecture

Microsoft

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

WP7 Architecture snapshot

Microsoft

Consistent hardware foundation

SensorsA-GPS, Accelerometer, Compass, Light

Proximity

Capacitive Touch4 or more touch points

Camera5 Megapixels or more

MultimediaCommonly detailed specs, hardware

accelerated CODECs

CPUARM v7, Cortex/Scorpion required

GPUDirectX 9 Hardware Accelerated

80

0 Q

VG

A4

80

HV

GA

480 QVGA320 HVGA

Windows Phone Microsoft confidential.

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Windows Phone Microsoft confidential.

KernelHardware 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

Frameworks

Silverlight XNAHTML/

JavaScriptCLR

Hardware Foundation

Software Architecture

Windows Phone Microsoft confidential.

Windows Phone 7 SeriesFrameworks 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

Microsoft

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Microsoft

App Model: ConceptsApplicationUniquely identifiable, licensable and serviceable software product packaged as a XAP

Application DeploymentSteps include Ingestion, Certification and Signing

Application licenseCrypto-verifiable object issued to grant rights to

an application

Windows Phone

Marketplace

Windows Phone

Marketplace

Microsoft

App Development & Testing

Packaging & Verification Toolsmyapp.xap

Windows Phone device

Windows PhoneEmulator

Phone EmulatorSamples DocumentationGuides Community

Packaging and Verification Tools

Tools

Microsoft Windows Phone Microsoft confidential.

App & game deployment

Develop & Debug

Submit& Validate

Certify & Sign

Windows Phone Application Deployment Service

Marketplace

Microsoft

App Lifecycle

+Windows

Phone Marketplace

Phone only installs .xap packages signed by marketplace

Phone handles all aspects of .xap installation based on the manifestIndividual apps cannot make arbitrary changes to the phone during installation

Users control install, update and uninstall, while the marketplace controls revocationIndividual apps do not control their own lifecycle on the phone

Microsoft

Philosophy: 3 Screens and Cloud

Common Base Class Library

Silverlight Presentation and Media

Silverlight Presentation and Media

XNA Frameworks

Windows Phone 7 Series

Frameworks

XNA Frameworks

XNA Frameworks

Cloud

Notification Service

Location Service

Windows Phone

Windows Desktop

Xbox

Microsoft Windows Phone Microsoft confidential.

DEMOBasic Application Development

Microsoft

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Microsoft

UI Model: Concepts

ApplicationUI and logic for functionality exposed through pages

PageA single screen of user interaction elements

SessionAn ordered workflow of user interactions spanning applications

Microsoft

Active sessions

PicturesTake a look at recent photos

PeopleLook up the status

for a contact

PicturesContinue looking at recent photos

UI Navigation: Example

Microsoft

Retained in shell frame to support resuming paused

sessions

Discarded while the session is paused

UI and State Management: Concepts

Page UIDescribes the visual

appearance of a page

Page StateContains data that

describes an instance of a page,

analogous to browser cookie

Microsoft

Apps restarted and UI rehydrated as the user

navigates thru the phone

UI and State Management: Example

Running Applications

Dehydrated and rehydrated on

demand from saved state

Shell FrameMonitors resource

usage to decide when to pause

sessions

Microsoft

Graphics Composition

App Bar

SIP

App PageStart

Experience

Incoming Call

System TrayNotification

Volume

Direct3D Surface

Shell frame composes all UI into a single screen

Central page management enables cross app UI transitions and other effects

Microsoft Windows Phone Microsoft confidential.

DEMONavigation + Tombstoning

Microsoft

Software Architecture

App Model

Cloud Integration

Services

Hardware Foundation

UI Model

Microsoft

Cloud services

App

Cloud client

services

Frameworks

Your web service

Custom web serviceExisting web serviceMicrosoft web services

Push Locate

Microsoft

Location & maps

App

Location client

service

Frameworks

Radio

Wi-Fi A-GPS

Microsoft

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

Microsoft

Raw Notification

Seattle, WA: Sunny and 85 degrees

New photos online!

14

Push notification serviceTile Notification

Toast notification

Microsoft

Authenticated Xbox LIVE calls

Game specific web requests

Windows Phone

XBOX Live

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

Microsoft

Call to Action

Get started!! Download the tools! Read and understand the design guidelines

Start developing Apps!

Resources: http://create.msdn.com/en-US/ Team blog:

http://windowsteamblog.com/blog/wpdev

Microsoft

A different kind of phone

Designed for life in motion

So you can build integrated experiences

& profit from it

Microsoft

Q & A

Microsoft

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

top related