Windows Phone Garage - Application Jumpstart


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Windows Phone Garage - Application Jumpstart

  1. 1. Windows Phone Jumpstart<br />Glen Gordon<br />Developer Evangelist<br /><br />@glengordon<br /><br />
  2. 2. Agenda<br />Design Considerations<br />Templates<br />Services<br />
  3. 3. Design considerations<br />
  4. 4. Theming<br />Enables user to personalize their phone<br />Dark and light themes, each with several accent colors<br />Built-in controls are automatically themed<br />Applications can take advantage of theme values<br />4<br />
  5. 5. Tasks - Launchers and Choosers<br />Launcher<br />Launches one of the built-in applications through which a user completes a task<br />No data is returned to calling application<br />Example: PhoneCallTask<br />Chooser<br />Launches one of the built-in applications through which a user completes a task, and which returns some data to calling application<br />When caller completes, calling application is activated and supplied with the Chooser result<br />Example: PhotoChooserTask<br />5<br />
  6. 6. Launchers & Choosers<br />Launchers<br />EmailComposeTask<br />MarketplaceDetailTask<br />MarketplaceHubTask<br />MarketplaceReviewTask<br />MarketplaceSearchTask<br />MediaPlayerLauncher<br />PhoneCallTask<br />SearchTask<br />SMSComposeTask<br />WebBrowserTask<br />Choosers<br />CameraCaptureTask<br />EmailAddressChooserTask<br />PhoneNumberChooserTask<br />PhotoChooserTask<br />SaveEmailAddressTask<br />SavePhoneNumberTask<br />
  7. 7. UI and State Management: Concepts<br />Page UI<br />Describes the visual appearance of a page<br />Retained in shell frame to support resuming paused sessions<br />Discarded while the session is paused<br />Page State<br />Contains data that describes an instance of a page, analogous to browser cookie<br />
  8. 8. App Lifecycle - Tombstoning<br />Happens when your application loses focus<br />Start Button<br />Task started<br />Incoming phone call<br />Application can be resumed<br />User will be returned to most recent page<br />8<br />
  9. 9. App Lifecycle - Coding<br />Save & restore page state<br />OnNavigatedTo and OnNavigatedFrom event<br />Save & restore application state<br />Application_Launching, Application_Activated, Application_Deactivated, Application_Closing<br />Found in app.xaml.cs<br />9<br />
  10. 10. Storage<br />Isolated Storage<br />Settings and custom data<br />Secure and sandboxed<br />Logical folder structure via APIs<br />No quota currently<br />Be responsible and inform/empower user<br />Session State<br />PhoneApplicationService.Current.State<br />Goes away on app closing<br />10<br />
  11. 11. AppBar<br />Up to 4 icons<br />48 x 48 pixels<br />Black/white versions<br />Can set transparency level<br />Slide up Menu can display more items<br />Can declare in code or XAML<br />Found under Program FilesMicrosoft SDKsWindows Phonev7.0Icons<br />11<br />
  12. 12. Hub Integration<br />Music<br />Photos<br />Configured via XML in app manifest<br />12<br />
  13. 13. Templates<br />
  14. 14. Templates<br />Built in<br />Databound, Panorama and Pivot<br />Social viewer<br />Windows Azure Toolkit<br />14<br />
  15. 15. Services<br />
  16. 16. Services<br />RSS feeds (blogs, news, photos, video…)<br />Popular APIs (Facebook, Twitter, Flickr, Foursquare…)<br />Bing<br /><br />Programmable Web<br /><br />Windows Azure Marketplace<br /><br />16<br />
  17. 17. Windows Phone Jumpstart<br />Glen Gordon<br />Developer Evangelist<br /><br />@glengordon<br /><br />
  18. 18. © 2010 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.<br />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. <br />MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.<br />