Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Developing windows phone 7 application with silverlight

423 views

Published on

Introduction to develop windows phone 7 application with Silverlight. My presentation at Vietnam Mobile Day 2012

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Developing windows phone 7 application with silverlight

  1. 1. Building Windows Phone Applications with Silverlight Nguyen Thanh Tung Project Manager - MISA JSC
  2. 2. Nguyen Thanh Tung • Project Manager at MISA JSC • Mostly working with Microsoft tech: • XAML • Silverlight • Entity Framework • ASP.NET • Windows Phone • Windows 8 and more • http://tungnt.net • https://www.facebook.com/tungnt185
  3. 3. Agenda 1. Introduction to Windows Phone 7 2. Silverlight and XNA framework 3. Developing Windows Phone 7 Application with Silverlight
  4. 4. Different, For Good Reasons Smart Design Integrated Experiences
  5. 5. Integrated Experiences PEOPLE OFFICE PICTURES MUSIC+VIDEO MARKETPLACE GAMES
  6. 6. Platform Goals Help end users personalize their phones Help developers be profitable Enable cloud powered experiences
  7. 7. Agenda 1. Introduction to Windows Phone 7 2. Silverlight and XNA framework 3. Developing Windows Phone 7 Application with Silverlight
  8. 8. SCREEN CLOUD Elements of the Application Platform Runtime – On “Screen” Code you write on the client Cloud Services Code you write on the server Tools & Support Tools you use to design & develop Developer Portal Services Tools you use to ship & sell
  9. 9. SCREEN CLOUD Elements of the Application Platform Phone Emulator Samples Documentation Guides Community Packaging and Verification Tools Runtime – On “Screen” Sensors Media Data Location Phone .NET Framework managed code sandbox Notifications Xbox LIVE Notifications App Deployment Registration Location Identity Feeds Social Maps Validation Certification Publishing Marketplace MO and CC Billing Business Intelligence Update Management Tools Cloud Services Portal Services
  10. 10. Two Flavors of Applications
  11. 11. Common Capabilities Input • Touch • Hardware buttons Media • Digital media capture & playback • Media library access Data • Isolated Storage • LINQ (Objects and XML) .NET • Superset of Silverlight 3.0 • Windows Communication Foundation • SOAP and REST services Phone Access • Integrated access to phone UI • Sensors • Picker for contacts and photos Integrated With Cloud Services • App Deployment & Updates • Notifications • Location • Xbox LIVE
  12. 12. Agenda 1. Introduction to Windows Phone 7 2. Silverlight and XNA framework 3. Developing Windows Phone 7 Application with Silverlight
  13. 13. Demo develop WP7 app in simulator  HelloWorld Application  Navigation and Controls  Push notifications  Launchers and Choosers  Application Lifecycle  Bing Maps  Pivot and Panorama Controls  Windows Phone 7 Devices
  14. 14. Demo HelloWorld Application
  15. 15. Navigation and Controls  PhoneApplicationFrame  PhoneApplicationPage  Using navigation services  Handling the back button  Control phone orientation  Application bar – System tray  ListBox  WebBrowser  Hyperlink buttons  Media
  16. 16. Push notifications
  17. 17. Launchers and choosers Launchers Choosers - A “fire and forget” action, where a specific Windows Phone functionality is launched - No data is returned to the calling application - An “open file dialog” action, where information is selected from a specific phone application’s storage area - Returns some kind of data to the calling application • EmailComposeTask • MediaPlayerLauncher • PhoneCallTask • SaveEmailAddressTask • SavePhoneNumberTask • SearchTask • SmsComposeTask • WebBrowserTask • MarketplaceDetailTask • … • EmailAddressChooserTask • CameraCaptureTask • PhoneNumberChooserTask • PhotoChooserTask
  18. 18. Application lifecycle  Only a single application can run in the foreground  No 3rd party applications are allowed to run in the background  The procedure in which the operating system terminates an application’s process when the user navigates away from the application is called tombstoning  Application state information is maintained for next launching
  19. 19. Pivot and panorama control Pivot Panorama - Shows multiple different pages - Presents a single page divided to sub-pages that we can scroll - Has a background image that stretches across all the sub-pages giving the feel of a wide screen More services:  Bing map  Location service  …
  20. 20. Further Information  http://tungnt.net  http://blogs.msdn.com/mharsh  http://www.globalnerdy.com/2010/03/21/windows-phone- 7-session-videos-and-slides-organized-and-explained/
  21. 21. Q & A

×