Windows Phone 7 Programming Introduction

2,414 views
2,365 views

Published on

Introduction to Windows Phone 7 programming. http://codingadventure.com

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

  • Be the first to like this

No Downloads
Views
Total views
2,414
On SlideShare
0
From Embeds
0
Number of Embeds
1,027
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Windows Phone 7 Programming Introduction

  1. 1. Windows Phone 7 Dan Merino dan.merino@usask.ca CodingAdventure.com
  2. 2. Windows Phone 7 Demo
  3. 3. What is a Windows Phone? • Back, Start and Search • 1GHz minimum • Graphics Hardware Acceleration • Multi-Touch • Resolution of WVGA (480x800) or HVGA(320x480) • 5-megapixel camera minimum
  4. 4. Metro • Design Paradigm o Clean, Light, Open, Fast o World class motion o Integrated hardware and software o Content, not chrome o Soulful and alive
  5. 5. Extensible Application Markup Language • Extensible Application Markup Language = XAML • Original from WPF • If you have worked with XML you have a good idea about formatting XAML • Used for UI • Rendering vector driven • Uses Controls • Namespaces
  6. 6. Example XAML
  7. 7. No need to learn XAML by heart
  8. 8. Pages
  9. 9. Controls
  10. 10. Events
  11. 11. Control States • Unfocused • Focused • Pressed • Disabled • Normal • MouseOver
  12. 12. Panoramic Control http://phone.codeplex.com/
  13. 13. Pivot Control http://phone.codeplex.com/
  14. 14. MVVM • “The Model View ViewModel (MVVM) is an architectural pattern used in software engineering that originated from Microsoft as a specialization of the Presentation Model design pattern introduced by Martin Fowler.[1] Largely based on the Model-view-controller pattern (MVC), MVVM is targeted at modern UI development platforms (Windows Presentation Foundation and Silverlight) in which there is a User Experience (UX) developer who has different requirements than a more “traditional” developer (i.e. oriented toward business logic and back end development).” – Wiki entry on MVVM
  15. 15. Pipe to UI
  16. 16. Multiple Pages Step 1) Step 2)
  17. 17. REST Option 1) Option 2)
  18. 18. Isolated Storage
  19. 19. Accelerometer
  20. 20. Launcher Tasks • EmailComposeTask • PhoneCallTask • SmsComposeTask • WebBrowserTask • MarketplaceDetailTask • MarketplaceHubTask • MarketplaceReviewTask • MarketPlaceSearchTask • MediaPlayerLauncher
  21. 21. Browser Launcher Task
  22. 22. Questions? • dan.merino@usask.ca • CodingAdventure.com

×