Developing windows phone 7 applications with silverlight

4,173 views

Published on

The slides for my presentation/demo on "Developing Windows Phone7 Applications with Silverlight". It was part of the Visual Studio 2010 Community launch event held in Dhaka, Bangladesh on the 8th of May, 2010.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,173
On SlideShare
0
From Embeds
0
Number of Embeds
165
Actions
Shares
0
Downloads
270
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Developing windows phone 7 applications with silverlight

  1. 1. Developing Windows Phone 7 Applications with Silverlight<br />AsifHuquetwitter.com/ahuque<br />
  2. 2. Smartphone market<br />
  3. 3. Windows Phone 7<br />
  4. 4. Windows Phone7 Microsoft’s answer to Iphone and Android<br />Metro<br />Real time updates<br />Contacts, Photo, music, Games, Maps<br />Social media<br />Applications<br />Hubs & Tiles<br />Multi-touch (capacitive)<br />Accelerometer<br />Local and online content<br />
  5. 5. Windows Phone7 Capabilites<br />Input (multi-touch, hardware buttons, SIP)<br />Media (digital media playback and capture)<br />Phone sensors and APIs (accelerometer, contact, sms)<br />.NET (Silverlight, .NET Base Class Library)<br />Web (webservices, WCF)<br />Data (XML, Isolated storage, LINQ, LINQ to XML)<br />Cloud services (notifications, updates, location, xbox)<br />
  6. 6. Application Development<br />Silverlighthttp://www.silverlight.net/<br />XNA http://creators.xna.com<br />.NET Framework<br />
  7. 7. The Application Platform<br />Tools for Development<br />Runtime – On “Screen”<br />Phone Emulator<br />Sensors<br />Media<br />Data<br />Location<br />Samples<br />Documentation<br />Xbox LIVE<br />Notifications<br />Phone<br />Guides<br />Community<br />.NET Framework managed code sandbox<br />Packaging and Verification Tools<br />SCREEN<br />CLOUD<br />Portal Services<br />Cloud Services<br />Notifications<br />App Deployment<br />Registration<br />Marketplace<br />Validation<br />MO and CC Billing<br />Location<br />Identity<br />Feeds<br />Certification<br />Business Intelligence<br />Maps<br />Social<br />Publishing<br />Update Management<br />
  8. 8. Silverlight<br />Application framework (rich functionalities: multimedia, graphics, animation and interactivity all in a single runtime environment)<br />User interfaces are declared in Extensible Application Markup Language (XAML) and programmed using.NET Framework<br />Event driven<br />Programming logic can be written in any .NET languages (C#, VB.NET)<br />
  9. 9. Tools<br />Windows Phone Developer Tools (CTP)<br />Visual Studio 2010 / Express (free version)<br />Expression Blend<br />Testing: Windows Phone7 Emulator<br />
  10. 10. Basic solution structure<br />App.xaml /xaml.cs<br />MainPage.xaml /xaml.cs<br />ApplicationIcon.png<br />Background.png<br />PropertiesAppManifest.xml<br />PropertiesAssemblyInfo.cs<br />PropertiesWMAppManifest.xml<br />References folder<br />
  11. 11. Concepts<br />Basic UI (Application -> Frame -> Pages. UI Layout elements (canvas, grid, stackpanel), Controls, Application bar)<br />Navigation<br />APIs, Launchers, Choosers<br />Animation<br />Webservices<br />Cloud services (push notifications)<br />Storage<br />
  12. 12. Demo (WP7 app 101)<br />Hello world?<br />
  13. 13. Snippets from the demo<br />RootVisual pointsto start xaml page<br />
  14. 14. Snippets from the demo… (cont.)<br />Use NavigationService tojump to another xaml page<br />Defining InputScope allows Standard input panel to showappropriate layout<br />Button click event handler<br />Playing videos<br />
  15. 15. Snippets from the demo… (cont.)<br />Add reference Microsoft.Phone.Shell, then add xml namespace to App.xaml<br />Define the application barunder Application.Resource<br />Click event handlers onApp.xaml.cs<br />Adding the App bar defined in App.xamlto any mobile page easily<br />
  16. 16. Opportunities<br />Windows Phone Marketplace ($$$)<br />Outsourcing<br />Open source - working with the community<br />Knowledge of silverlight will be useful for web, mobile and desktop application development. <br />
  17. 17. Resources<br />Some links to further resources on the web:<br />http://developer.windowsphone.com/http://twitter.com/wp7dev<br />http://developer.windowsphone.com/windows-phone-7-series/<br />http://live.visitmix.com/<br />http://www.silverlight.net/getstarted/devices/windows-phone/http://go.microsoft.com/?linkid=9713252 – Design Guidelines!!!<br />http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series<br />http://channel9.msdn.com/learn/courses/WP7TrainingKit/<br />Blogs<br />http://timheuer.com<br />http://shawnoster.com/ <br />
  18. 18. Questions… <br />
  19. 19. Thank you<br />Have fun developing <br />cool WP7 Apps!!! <br />

×