SESSION CODE WPH 313 Soumitra Sengupta Principal Software

  • Slides: 45
Download presentation
SESSION CODE: WPH 313 Soumitra Sengupta Principal Software Development Engineering Lead Windows Phone soumitrs@microsoft.

SESSION CODE: WPH 313 Soumitra Sengupta Principal Software Development Engineering Lead Windows Phone soumitrs@microsoft. com

A new approach with WP 7 DESIGN: END USER COMES FIRST PLATFORM: RICHER, DEEPER,

A new approach with WP 7 DESIGN: END USER COMES FIRST PLATFORM: RICHER, DEEPER, EASIER APPS HARDWARE: FASTER TO MARKET, LESS HEAVY LIFTING

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Capacitive touch 4 or more contact points Sensors A-GPS, Accelerometer, Compass, Light, Proximity Camera

Capacitive touch 4 or more contact points Sensors A-GPS, Accelerometer, Compass, Light, Proximity Camera 800 or 480 5 mega pixels or more Multimedia Common detailed specs, Codec acceleration Memory 256 MB RAM or more, 8 GB Flash or more GPU Direct. X 9 acceleration CPU ARMv 7 Cortex/Scorpion or better Hardware buttons | Back, Start, Search 480 or 320

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Software Architecture Applications Your App UI and logic Silverlight App Model App management Licensing

Software Architecture Applications Your App UI and logic Silverlight App Model App management Licensing Chamber isolation Software updates Frameworks XNA CLR UI Model Cloud Integration Shell frame Session manager Direct 3 D Compositor Xbox LIVE Bing Location Push notifications Windows Live ID Kernel Security Networking Storage HTML/Java. Script Hardware BSP A-GPS Media Accelerometer Wi-Fi Compass Light Proximity Radio Graphics Hardware Foundation

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

App Model: Concepts Application Uniquely identifiable, licensable and serviceable software product packaged as a

App Model: Concepts Application Uniquely identifiable, licensable and serviceable software product packaged as a XAP Application Deployment Steps include Ingestion, Certification and Signing Windows Phone Marketplace Application License Crypto-verifiable object issued to grant rights to an application Windows Phone Marketplace

App Lifecycle Windows Phone Marketplace + Phone only installs. xap packages signed by marketplace

App Lifecycle Windows Phone Marketplace + Phone only installs. xap packages signed by marketplace Phone handles all aspects of. xap installation based on the manifest Individual apps cannot make arbitrary changes to the phone during installation Users control install, update and uninstall, while the marketplace controls revocation Individual apps do not control their own lifecycle on the phone

App Isolation and Execution Applications and licenses Application install folders Running applications Phone only

App Isolation and Execution Applications and licenses Application install folders Running applications Phone only runs apps that have a valid marketplace license Apps are sandboxed into separate security accounts while installed and at runtime Resource allocation policy keeps the foreground app responsive Resource management policy ensures the user can always use Start to run a new app

App Hosting and Runtime App Domain Silverlight Application Object XNA Game Object Frameworks Silverlight

App Hosting and Runtime App Domain Silverlight Application Object XNA Game Object Frameworks Silverlight CLR System provides host process for app code App Model Host App Model App management Licensing Chamber isolation Software updates Sandbox enforced for host process based on declared capabilities HTML/Java. Script XNA UI Model Shell frame Session manager Direct 3 D Compositor Cloud Integration Xbox LIVE Bing Location Push notifications Windows Live ID Location Push Notifications Kernel Security Networking Storage A-GPS Accelerometer. Compass Light Proximity A-GPS Media Wi-Fi Radio Graphics Hardware Foundation Each app executes inside an isolated, least-privileged host process All app code is transparent and CLS-verifiable, mitigating impact of common attacks Frameworks enable app code to interact with app model, UI model, phone functionality Hardware BSP

At-a-glance

At-a-glance

Frameworks Details Windows Phone Frameworks Camera Phone. Application. Frame Device Integration Phone. Application. Page

Frameworks Details Windows Phone Frameworks Camera Phone. Application. Frame Device Integration Phone. Application. Page Launchers & Choosers Push. Notification Silverlight Presentation and Media Controls Drawing Isolated. Storage Shapes Markup Media Windows Phone Controls Web. Browser. Control XNA Frameworks for Games Drawing Navigation Sensors Media Input Gamer. Services Graphics Audio Content Application Object Common Base Class Library Runtime Resources Globalization Security Threading Collections Reflection Location Component. Model Text Configuration IO Net Diagnostics Service. Model Linq

3 Screens and Cloud Windows Phone Windows Desktop Xbox XNA Frameworks Silverlight Presentation and

3 Screens and Cloud Windows Phone Windows Desktop Xbox XNA Frameworks Silverlight Presentation and Media Windows Phone 7 Series Frameworks Cloud Location Service Notification Service Common Base Class Library

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

UI Model: Concepts Application UI and logic for functionality exposed through pages Page A

UI Model: Concepts Application UI and logic for functionality exposed through pages Page A single screen of user interaction elements Session An ordered workflow of user interactions spanning applications

Phone application Provides UI represented as XAML pages connected into cross-app flows by URI’s

Phone application Provides UI represented as XAML pages connected into cross-app flows by URI’s Shell frame Web application Provide media represented as HTTP resources linked by URL’s Web browser Requests pages, renders UI, and handles navigation across apps Requests HTTP resources, renders them, and handles navigation across sites Sessions and back stack History and tabs Groups together sequences of pages corresponding to a user’s activity across apps Groups together sequences of HTTP resources corresponding to a user’s activity across sites

UI Navigation: Example Pictures Take a look at recent photos People Look up the

UI Navigation: Example Pictures Take a look at recent photos People Look up the status for a contact Pictures Continue looking at recent photos Active sessions

UI and State Management: Example Discarded while the session is paused Page UI Describes

UI and State Management: Example Discarded while the session is paused Page UI Describes the visual appearance of a page Page State Contains data that describes an instance of a page, analogous to browser cookie Retained in shell frame to support resuming paused sessions

Start Direct 3 D Surface. Experience App Page System Tray Notification Volume SIP App

Start Direct 3 D Surface. Experience App Page System Tray Notification Volume SIP App Bar Incoming Call Shell frame composes all UI into a single screen Central page management enables cross app UI transitions and other effects System wide Z order enforcement emphasizes core phone functionality

App UI and logic Silverlight XNA HTML/Java. Script Shell frame Compositor Direct 3 D

App UI and logic Silverlight XNA HTML/Java. Script Shell frame Compositor Direct 3 D Window manager Graphics driver

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Cloud Integration Services App Model UI Model Software Architecture Hardware Foundation

Your Web Service Windows Phone Custom Web Service Existing Web Services Windows Phone Application

Your Web Service Windows Phone Custom Web Service Existing Web Services Windows Phone Application Microsoft Services Frameworks Cloud integration client services Location Service 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 Notification Service

Windows Phone Existing Web Services Microsoft Services System. Device. Location client service Built-in support

Windows Phone Existing Web Services Microsoft Services System. Device. Location client service Built-in support for consuming GPS, AGPS and Wi-Fi- based location data Managed APIs for location-based interaction Microsoft managed Wi-Fi access point data as part of Windows Phone Services Location Service

Security A-GPS Wi-Fi Radio Microsoft Services Location client service Windows Phone Location Service App

Security A-GPS Wi-Fi Radio Microsoft Services Location client service Windows Phone Location Service App UI and logic

Windows Phone Your Web Service Custom Web Service Existing Web Services Microsoft. Phone. Notification

Windows Phone Your Web Service Custom Web Service Existing Web Services Microsoft. Phone. Notification Service Push client service Built-in support for efficient, battery-aware mobile push notifications Managed APIs for notification-driven interaction with existing Web 2. 0 sites

Live Tiles service Download Manager Networking Push client service Wi-Fi Radio Microsoft Services Microsoft.

Live Tiles service Download Manager Networking Push client service Wi-Fi Radio Microsoft Services Microsoft. Phone. Notification Microsoft Push Notification Service App UI and logic

Windows Phone Game specific web requests Your Web Service Custom Web Service Microsoft Services

Windows Phone Game specific web requests Your Web Service Custom Web Service Microsoft Services XNA Game Foundation Authenticated Xbox LIVE calls Gamer Services APIs for Xbox LIVE Profiles, Achievements, and Leaderboards Game Foundation handles auth, caching, & partial connectivity for Xbox LIVE Third party token allows secure integration with game-specific services

Download Manager Networking Storage Live ID client service Windows Live ID Game Foundation Xbox

Download Manager Networking Storage Live ID client service Windows Live ID Game Foundation Xbox LIVE XNA Gamer Services APIs Microsoft Services App UI and logic

A different kind of phone So you can build Designed for life in motion

A different kind of phone So you can build Designed for life in motion integrated experiences & profit from it

Download the Windows Phone Developer Tools http: //developer. windowsphone. com Create awesome apps and

Download the Windows Phone Developer Tools http: //developer. windowsphone. com Create awesome apps and games!

Questions? Demos? The Latest phones? www. windowsphone. com/business developer. windowsphone. com www. windowsphone 7.

Questions? Demos? The Latest phones? www. windowsphone. com/business developer. windowsphone. com www. windowsphone 7. com

Hat Contest* Session Contest* Questions? * Restrictions apply please see contest rules for eligibility

Hat Contest* Session Contest* Questions? * Restrictions apply please see contest rules for eligibility and restrictions. Contest rules are displayed in the Technical Learning Center at the WPH info counter.

– Breakout Sessions Mon &Tue Monday WPH 301 WPH 202 WP 7: Deploy Microsoft

– Breakout Sessions Mon &Tue Monday WPH 301 WPH 202 WP 7: Deploy Microsoft Forefront Unified Access Gateway for Access Control to Share. Point, Exchange and more. Deploying Windows Phone 7 with Exchange Server and Share. Point Server Tuesday WPH 203 WPH 313 WPH 304 WPH 305 WPH 306 Overview of the Windows Phone 7 Application Platform Windows Phone 7 Architecture Deep Dive An In-Depth view at Building Applications for WP 7 with Silverlight (Part 1) An In-Depth view at Building Applications for WP 7 with Silverlight (Part 2) Developing Occasionally Connected Applications for Windows Phone 7

– Breakout Sessions Wed &Thu Wednesday WPH 310 WPH 311 WPH 309 WPH 307

– Breakout Sessions Wed &Thu Wednesday WPH 310 WPH 311 WPH 309 WPH 307 WPH 308 Designing and Developing for the Rich Mobile Web Developing Mobile Code Today that will run on WP 7 Tomorrow Silverlight performance on Windows Phone Building Windows Phone Games with XNA Building a High Performance 3 D Game for Windows Phone Thursday WPH 303 WPH 314 WPH 312 Understanding the Windows Phone 7 Development Tools Learn Windows Phone 7 Development by Creating a Robotic T-Shirt Cannon Understanding Marketplace and Making Money with WP 7 Applications

– Interactive Session & HOL Windows Phone Interactive Sessions Windows Phone Hands On Labs

– Interactive Session & HOL Windows Phone Interactive Sessions Windows Phone Hands On Labs

www. microsoft. com/teched www. microsoft. com/learning http: //microsoft. com/technet http: //microsoft. com/msdn

www. microsoft. com/teched www. microsoft. com/learning http: //microsoft. com/technet http: //microsoft. com/msdn

Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31

Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31 st http: //northamerica. msteched. com/registration You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year