Download - Developer Conference 2011
Developer Conference 2011
MICROSOFT USER GROUP KOLKATA
Developing Application in Windows Phone 7
- Kunal Chowdhury
Application Flavors
Phone Application Development
DemoApp.xap
Windows Phone device
Windows PhoneEmulator
Phone EmulatorSamples DocumentationGuides Community
Packaging and Verification Tools
Tools
Application Deployment Process
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">
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.
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.
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
Application Life Cycle
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.
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
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
Resources
http://www.kunal-chowdhury.com http://www.silverlight-zone.com
WP7 Tutorial: http://tinyurl.com/31DaysWithWP7
Contact
http://twitter.com/kunal2383 http://facebook.com/blog.kunal2383
Discussion Forum: http://tinyurl.com/TechTalkWithKunal
Email Me: [email protected]