Windows phone day in Bangalore (Enabling Speech in your Windows Phone Apps)
Windows Phone 7 Architecture Overview
-
Upload
bhavya-siddappa -
Category
Technology
-
view
3.250 -
download
0
description
Transcript of Windows Phone 7 Architecture Overview
Building Windows Phone 7 Applications with Silverlight (Part 1)
Developer EvangelistWP7 Architecture overviewGowtham Prasad K [email protected] Partner Technical ConsultantAmar [email protected] Microsoft |Microsoft Windows 7 | Presenter ModeMonday, April 11, 2011Microsoft Confidential1Agenda Application Platform + Framework & Tools Strategy & Philosophy Architecture at glance Q & AHands-On: Building LBS App on WP7 WP7 Architecture overview + Tools and IDE's for WP7 Microsoft
DESIGN: END USER COMES FIRSTPLATFORM: RICHER, DEEPER, EASIER APPSHARDWARE:FASTER TO MARKET, LESS HEAVY LIFTINGChanging our GameA new approach with WP7Microsoft 3INTEGRATED EXPERIENCESSMART DESIGN
Microsoft 4
Microsoft 5
Integrated Experiences
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.Microsoft 6
Microsoft |Microsoft 7
Microsoft |Microsoft 8DEMO
Windows Phone Microsoft confidential. Microsoft 9APPLICATION PLATFORMMicrosoft Platform goals
A wide variety of thousands of compelling apps and gamesOne stack of frameworks that can be leveraged across multiple devices, tied via cloudFinancial and otherwise
End User CustomizationCloud enablementDeveloper profitWindows Phone Microsoft confidential. Microsoft Platform componentsCode that executes on the clientTools used locallyCode that executes in the cloudTools in the cloudClientServerMicrosoft Platform componentsClientServerSensorsMediaDataXbox LIVENotifications.NET Framework managed code sandbox
LocationPhone
Phone EmulatorSamplesDocumentationGuidesCommunityPackaging and Verification ToolsRuntimeToolsCloudPortalNotificationsLocationIdentityFeedsMapsSocialApp Deployment
RegistrationValidationCertificationPublishingMarketplaceMO and CC BillingBusiness IntelligenceUpdate ManagementMicrosoft Client runtime & frameworks
14Silverlight 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 15XNA Framework Rapid creation of multiscreen 2D and 3D games High performance game framework Rich content pipeline Traditional update/draw/present frame loop model
Microsoft 16Common capabilitiesInputTouchHardware buttonsMediaDigital media capture & playbackMedia library accessDataIsolated storageLINQ (Objects & XML)Windows Communication FoundationSOAP & REST servicesPhone accessSensorsLaunchers & choosersCloud servicesNotificationsLocation & mappingXbox LIVEWindows Phone Microsoft confidential. WP7 ArchitectureMicrosoft
Software ArchitectureApp ModelCloud Integration ServicesHardware FoundationUI ModelWP7 Architecture snapshotMicrosoft Windows 7 | Presenter ModeMonday, April 11, 2011Microsoft Confidential19Consistent 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 Accelerated800 QVGA480 HVGA480 QVGA320 HVGA
Microsoft 20
Software ArchitectureApp ModelCloud Integration ServicesHardware FoundationUI ModelWindows Phone Microsoft confidential. 21KernelHardware BSPApp ModelUI ModelCloud IntegrationApplicationsApp managementLicensingChamber isolationSoftware updatesShell frame Session managerDirect3DCompositorXbox LIVEBingLocationPush notificationsWindows Live IDYour App UI and logicA-GPSAccelerometerCompassLightProximityMediaWi-FiRadioGraphicsSecurityNetworkingStorageFrameworksSilverlightXNAHTML/JavaScriptCLRHardware FoundationSoftware ArchitectureWindows Phone Microsoft confidential. Windows 7 | Presenter ModeMonday, April 11, 2011Microsoft Confidential22Windows Phone 7 SeriesFrameworks DetailsCommon Base Class LibraryCollectionsComponentModelConfigurationDiagnosticsReflectionIOSecurityThreadingRuntimeResourcesGlobalizationTextLocationNetServiceModelLinqApplication ObjectSilverlight Presentation and MediaXNA Frameworks for GamesWindows Phone FrameworksNavigationShapesMarkupMediaControlsDrawingIsolatedStorageAudioMediaGraphicsInputDrawingGamerServicesContentPhoneApplicationPagePushNotificationWebBrowserControlSensorsPhoneApplicationFrameCameraDevice IntegrationLaunchers & ChoosersWindows Phone ControlsWindows Phone Microsoft confidential. Windows 7 | Presenter ModeMonday, April 11, 2011Microsoft Confidential23
Software ArchitectureApp ModelCloud Integration ServicesHardware FoundationUI ModelMicrosoft 24App 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
Microsoft 25App Development & TestingPackaging & Verification Tools
myapp.xap
Windows Phone device
Windows PhoneEmulator
Phone EmulatorSamplesDocumentationGuidesCommunityPackaging and Verification ToolsToolsMicrosoft Windows Mobile 7 Bootcamp4/11/2011 2009 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.26App & game deploymentDevelop & Debug
Submit& ValidateCertify & Sign
Windows Phone Application Deployment ServiceMarketplace
Windows Phone Microsoft confidential. Microsoft App Lifecycle
+
Windows Phone MarketplacePhone only installs .xap packages signed by marketplacePhone handles all aspects of .xap installation based on the manifestIndividual apps cannot make arbitrary changes to the phone during installationUsers control install, update and uninstall, while the marketplace controls revocationIndividual apps do not control their own lifecycle on the phone
Microsoft 28 2009 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.Philosophy: 3 Screens and Cloud Common Base Class LibrarySilverlight Presentation and MediaSilverlight Presentation and MediaXNA FrameworksWindows Phone 7 Series FrameworksXNA FrameworksXNA FrameworksCloud
Notification Service
Location Service
Windows PhoneWindows DesktopXboxMicrosoft 29The Windows Phone Application PlatformDEMO
Basic Application DevelopmentWindows Phone Microsoft confidential. Microsoft 30
Software ArchitectureApp ModelCloud Integration ServicesHardware FoundationUI ModelMicrosoft UI Model: ConceptsApplicationUI and logic for functionality exposed through pagesPageA single screen of user interaction elementsSessionAn ordered workflow of user interactions spanning applications
Microsoft 32
Active sessions
PicturesTake a look at recent photosPeopleLook up the status for a contactPicturesContinue looking at recent photos
UI Navigation: Example
Microsoft Windows 7 | Presenter ModeMonday, April 11, 2011Microsoft Confidential33Retained in shell frame to support resuming paused sessionsDiscarded while the session is paused
UI and State Management: Concepts
Page UIDescribes the visual appearance of a pagePage StateContains data that describes an instance of a page, analogous to browser cookieMicrosoft 34The Windows Phone Application PlatformApps restarted and UI rehydrated as the user navigates thru the phone
UI and State Management: Example
Running ApplicationsDehydrated and rehydrated on demand from saved stateShell FrameMonitors resource usage to decide when to pause sessions
Microsoft 35The Windows Phone Application PlatformGraphics Composition
App BarSIPApp PageStart Experience
Incoming Call
System Tray
Notification
VolumeDirect3D SurfaceShell frame composes all UI into a single screenCentral page management enables cross app UI transitions and other effectsMicrosoft Windows 7 | Presenter ModeMonday, April 11, 2011Microsoft Confidential36DEMO
Navigation + TombstoningWindows Phone Microsoft confidential. Microsoft 37
Software ArchitectureApp ModelCloud Integration ServicesHardware FoundationUI ModelMicrosoft Cloud services
AppCloud client servicesFrameworksYour web serviceCustom web serviceExisting web serviceMicrosoft web services
PushLocate
Microsoft 39Location & maps
AppLocation client serviceFrameworks
RadioWi-FiA-GPSMicrosoft 40Push Notification ServiceBuilt-in support for efficient, battery-aware mobile push notificationsManaged APIs for notification-driven interaction with existing Web 2.0 sitesWindows PhoneYour Web ServiceCustom Web ServiceExisting Web Services
Microsoft Services
Push client serviceMicrosoft.Phone.Notification
Notification Service
Microsoft Raw Notification
Seattle, WA: Sunny and 85 degreesNew photos online!
14
Push notification serviceTile NotificationToast notificationMicrosoft 42The Windows Phone Application PlatformAuthenticated Xbox LIVE callsGame specific web requestsWindows Phone
XBOX LiveGame Foundation handles auth, caching, & partial connectivity for Xbox LIVEThird party token allows secure integration with game-specific servicesYour Web ServiceCustom Web ServiceMicrosoft Services
Gamer Services APIs for Xbox LIVE Profiles, Achievements, and LeaderboardsGame FoundationXNA
Microsoft 43The Windows Phone Application PlatformCall to ActionGet 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 phoneDesigned for life in motion
So you can build integrated experiences & profit from itMicrosoft 45Q & AMicrosoft 46The Windows Phone Application Platform 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.Microsoft Windows 7 | Presenter ModeMonday, April 11, 2011Microsoft Confidential47