1 / 22

Developer Conference 2011

Developer Conference 2011. MICROSOFT USER GROUP KOLKATA. Developing Application in Windows Phone 7. - Kunal Chowdhury. Application Flavors. Framework mainly targeted for Web XAML/event-driven application UI Rapid creation of visually stunning apps Metro-themed UI controls

Download Presentation

Developer Conference 2011

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. Developer Conference 2011 MICROSOFT USER GROUP KOLKATA

  2. Developing Application in Windows Phone 7 - Kunal Chowdhury

  3. Application Flavors • Framework mainly targeted for Web • XAML/event-driven application UI • Rapid creation of visually stunning apps • Metro-themed UI controls • spanning Windows and web • High performance game framework • Rapid creation of multi-screen 2D and 3D games • Widely adopted robust technology

  4. Phone Application Development Tools Phone Emulator Windows Phone device Samples Documentation Packaging & Verification Tools Guides Community Packaging and Verification Tools DemoApp.xap Windows Phone Emulator

  5. Application Deployment Process

  6. Basics of Phone Programming

  7. Phone Application Page • PhoneApplicationPage is the root of any WP7 XAML page. • If you already worked on Silverlight, you must be aware of that by default "UserControl" is the root of any Silverlight XAML page. Similarly, Phone 7 XAML has the root named "PhoneApplicationPage". <phone:PhoneApplicationPage x:Class="HelloWorldDemo.MainPage“ . . . SupportedOrientations="Portrait“ Orientation="Portrait“ shell:SystemTray.IsVisible="True">

  8. Application Bar • Application Bar is a set of icon buttons and/or menu items, which provides easy access to application's most common tasks. • It resides at the bottom of the phone screen. • It can contain a row of 1-4 icon buttons for common tasks, a set of menu items to provide user easy access to the other specific actions.

  9. Application Bar Design Guidelines • Use image of White color with Transparent background. • Use 48 x 48 pixel icon images. • Never draw circle for the icons. • Use icons for most commonly used commands. • Place only 1 - 4 icon buttons in the panel. • Don't place more than 5 menu items in the application bar. • Don't add more than 20 characters in the menu items. • Data Binding is not supported in Application Bar. • Properly use Opacity to overlay the Application Bar. • All text items will be converted to lower case while running.

  10. demo Hello Windows Phone 7

  11. Application Life Cycle (Terms) There are some terminologies available to describe the Application Lifecycle of a Windows Phone 7. It consists of the following things: • Launch • Running State • Closed State • Deactivated State • Reactivated State

  12. Application Life Cycle

  13. Page State & Application State • Page state stores the current state of the page while switching to a different page or application and retrieve it back once you return to the same page. • Application State stores and retrieve values in order to access them from different pages across the whole application. • Tombstoning saves the current data and then moves the app to the background or closes the app after saving all the data.

  14. demo Windows Phone 7 States

  15. Launchers & Choosers • Enable applications to provide a set of common phone tasks to users • Launchers let you fire and forget • SMS, Email, Dialer, Search etc. • Choosers let you fire and pick the results back • Picture, Camera, Contact etc.

  16. Location Services • The service obtains location data from multiple sources such as GPS, Wi-Fi, and cellular • Applications can access location information • Allows you to create location-aware applications

  17. demo Location Services

  18. Resources • http://www.kunal-chowdhury.com • http://www.silverlight-zone.com • WP7 Tutorial: http://tinyurl.com/31DaysWithWP7

  19. Contact • http://twitter.com/kunal2383 • http://facebook.com/blog.kunal2383 • Discussion Forum: http://tinyurl.com/TechTalkWithKunal • Email Me: webmaster@kunal-chowdhury.com

  20. Questions & Quiz

  21. Thank you

More Related