The presentation covered topics such as:
- Developing applications using tools like the Windows Phone Emulator and SDK
- Common application elements like the PhoneApplicationPage root and Application Bar
- The application lifecycle states including launch, running, deactivated, and closed
- Using launchers and choosers to integrate with phone features
- Accessing location services to create location-aware apps
- Resources for learning Windows Phone 7 development
4. Phone Application Development
Tools
Phone Emulator Windows Phone
Samples Documentation device
Guides Community
Packaging and Verification Tools
DemoApp.xap
Windows Phone
Emulator
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.
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
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.
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