Développez pour Windows Phone 7 Daniel Tizon Semior Consultant, Microsoft Regional Director ANURA-SOLSTEAM Agenda Windows Phone Platform Overview Development tools APIs Hardware Integration Data Access & Cloud Le déploiement.
Download ReportTranscript Développez pour Windows Phone 7 Daniel Tizon Semior Consultant, Microsoft Regional Director ANURA-SOLSTEAM Agenda Windows Phone Platform Overview Development tools APIs Hardware Integration Data Access & Cloud Le déploiement.
Développez pour Windows Phone 7 Daniel Tizon Semior Consultant, Microsoft Regional Director ANURA-SOLSTEAM Agenda Windows Phone Platform Overview Development tools APIs Hardware Integration Data Access & Cloud Le déploiement Two Flavors of Applications Modern XAML/event-driven application UI framework Rapid creation of visually stunning apps Metro-themed UI controls 500,000 developers spanning Windows and web 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 Hardware Consistent set of hardware capabilities defined by Microsoft 800 x 480 4 point cap touch Consistent processor & GPU Same memory baseline requirements Optional keyboard Development tools http://create.msdn.com Tools Phone Emulator Samples Documentation Guides Community Packaging and Verification Tools Windows Phone device myapp.xap Windows Phone Emulator Demo Developments Tools APIs Silverlight 3 Running on .NET Compact Framework Out of process Sandbox is restricted by API set No interop or native access Limited OS integration Private storage, working space No cross-application communication Launchers and Choosers? Launcher Launches one of the built-in applications through which a user completes a task No data is returned to calling application Example: PhoneCallTask Chooser Launches one of the built-in applications through which a user completes a task Returns some data to calling application When caller completes, calling application is reactivated and supplied with the Chooser result Note, user can cancel the launcher, resulting in an empty return value Example: PhotoChooserTask Launchers ¬ Choosers Launchers PhoneCallTask SearchTask SMSComposeTask WebBrowserTask EmailComposeTask MarketplaceDetailTask MarketplaceHubTask MarketplaceReviewTask MarketplaceSearchTask MediaPlayerLauncher Chosers CameraCaptureTask EmailAddressChooserTask PhoneNumberChooserTask PhotoChooserTask SaveEmailAddressTask SavePhoneNumberTask Demo Application Bar, Launchers and Choosers Hardware Integration Accelerometer Audio Input FM Radio Vibration Location Touch Hardware Integration Accelerometer Measures acceleration in X, Y, and Z axes Values are normalized -1 to +1 in each axis 0 == flat +Y -Z -X +Z +X -Y Hardware Integration Vibration Vibrates the phone for a given duration Useful for haptic feedback Notifying users of updates VibrateController vc = VibrateController.Default; vc.Start(TimeSpan.FromSeconds(2)); // vc.Stop (); //to stop it before the timespan Hardware Integration Audio Input Gives access to raw PCM WAV data Measures acceleration in X, Y, and Z axes Values are normalized -1 to +1 in each axis 0 == flat +Y -Z -X +Z +X -Y Harrware Integration + Accuracy - Power - Speed - Indoors - Accuracy + Power + Speed - Wilderness Location services +/- Accuracy +/- Power +/- Speed +/- Urban areas Demo Hardware Integration Database ¬ data access services Odata client for Windows phone http://odata.codeplex.com SQL Sync http://www.microsoft.com/downloads/en/details.aspx?FamilyI D=afd89099-d589-423c-9762-78096aa95ac2 LINQ Plenty of 3rd party databases Demo Odata, Linq Marketplace Develop & Debug Submit & Validate Windows Phone Application Deployment Service Certify & Sign Marketplace Demo MarketPlace © 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.