developer conference 2011
DESCRIPTION
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 - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/1.jpg)
Developer Conference 2011
MICROSOFT USER GROUP KOLKATA
![Page 2: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/2.jpg)
Developing Application in Windows Phone 7
- Kunal Chowdhury
![Page 3: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/3.jpg)
Application Flavors
![Page 4: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/4.jpg)
Phone Application Development
DemoApp.xap
Windows Phone device
Windows PhoneEmulator
Phone EmulatorSamples DocumentationGuides Community
Packaging and Verification Tools
Tools
![Page 5: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/5.jpg)
Application Deployment Process
![Page 6: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/6.jpg)
![Page 7: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/7.jpg)
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">
![Page 8: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/8.jpg)
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.
![Page 9: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/9.jpg)
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.
![Page 10: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/10.jpg)
![Page 11: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/11.jpg)
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
![Page 12: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/12.jpg)
Application Life Cycle
![Page 13: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/13.jpg)
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.
![Page 14: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/14.jpg)
![Page 15: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/15.jpg)
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.
Launchers & Choosers
![Page 16: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/16.jpg)
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
![Page 17: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/17.jpg)
![Page 18: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/18.jpg)
Resources
http://www.kunal-chowdhury.com http://www.silverlight-zone.com
WP7 Tutorial: http://tinyurl.com/31DaysWithWP7
![Page 19: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/19.jpg)
Contact
http://twitter.com/kunal2383 http://facebook.com/blog.kunal2383
Discussion Forum: http://tinyurl.com/TechTalkWithKunal
Email Me: [email protected]
![Page 20: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/20.jpg)
![Page 21: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/21.jpg)
![Page 22: Developer Conference 2011](https://reader035.vdocuments.net/reader035/viewer/2022062300/56812c3a550346895d90c171/html5/thumbnails/22.jpg)