1 / 23

Développez pour Windows Phone 7

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.

shadi
Download Presentation

Développez pour Windows Phone 7

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Développez pourWindows Phone 7 Daniel Tizon Semior Consultant, Microsoft Regional Director ANURA-SOLSTEAM

  2. Agenda • Windows Phone Platform Overview • Developmenttools • APIs • Hardware Integration • Data Access & Cloud • Le déploiement

  3. TwoFlavors 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

  4. 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

  5. Developmenttools http://create.msdn.com Tools Phone Emulator • Windows Phone • Emulator Samples Documentation Packaging & Verification Tools Guides Community Packaging and Verification Tools • Windows Phone device myapp.xap

  6. Demo Developments Tools Let’sstartour WP7 Phone Application

  7. 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

  8. 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

  9. Launchers ¬ Choosers Launchers Chosers • PhoneCallTask • SearchTask • SMSComposeTask • WebBrowserTask • EmailComposeTask • MarketplaceDetailTask • MarketplaceHubTask • MarketplaceReviewTask • MarketplaceSearchTask • MediaPlayerLauncher • CameraCaptureTask • EmailAddressChooserTask • PhoneNumberChooserTask • PhotoChooserTask • SaveEmailAddressTask • SavePhoneNumberTask

  10. Demo Application Bar,Launchers and Choosers

  11. Hardware Integration • Accelerometer • Audio Input • FM Radio • Vibration • Location • Touch

  12. Hardware Integration +Y • Accelerometer • Measures acceleration in X, Y, and Z axes • Values are normalized • -1 to +1 in each axis • 0 == flat -Z -X +X +Z -Y

  13. Hardware Integration • Vibration • Vibrates the phone for a given duration • Useful for haptic feedback • Notifying users of updates VibrateControllervc = VibrateController.Default; vc.Start(TimeSpan.FromSeconds(2)); // vc.Stop (); //to stop it before the timespan

  14. Hardware Integration +Y • 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 -Z -X +X +Z -Y

  15. HarrwareIntegrationLocation + Accuracy - Power - Speed - Indoors - Accuracy + Power + Speed - Wilderness WiFi +/- Accuracy +/- Power +/- Speed +/- Urban areas Cell towers Location services

  16. Demo Hardware Integration

  17. Database ¬ data access services • Odata client for Windows phone • http://odata.codeplex.com • SQL Sync • http://www.microsoft.com/downloads/en/details.aspx?FamilyID=afd89099-d589-423c-9762-78096aa95ac2 • LINQ • Plenty of 3rd party databases

  18. Demo Odata, Linq

  19. Marketplace Develop & Debug Submit& Validate Certify & Sign Windows Phone Application Deployment Service Marketplace

  20. Demo MarketPlace

  21. Q&A

  22. © 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.

More Related