Developer Conference 2011

22
Developer Conference 2011 MICROSOFT USER GROUP KOLKATA

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 Presentation

Transcript of Developer Conference 2011

Page 1: Developer Conference 2011

Developer Conference 2011

MICROSOFT USER GROUP KOLKATA

Page 2: Developer Conference 2011

Developing Application in Windows Phone 7

- Kunal Chowdhury

Page 3: Developer Conference 2011

Application Flavors

Page 4: Developer Conference 2011

Phone Application Development

DemoApp.xap

Windows Phone device

Windows PhoneEmulator

Phone EmulatorSamples DocumentationGuides Community

Packaging and Verification Tools

Tools

Page 5: Developer Conference 2011

Application Deployment Process

Page 6: Developer Conference 2011
Page 7: Developer Conference 2011

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

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

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
Page 11: Developer Conference 2011

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

Application Life Cycle

Page 13: Developer Conference 2011

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
Page 15: Developer Conference 2011

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

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
Page 18: Developer Conference 2011

Resources

http://www.kunal-chowdhury.com http://www.silverlight-zone.com

WP7 Tutorial: http://tinyurl.com/31DaysWithWP7

Page 19: Developer Conference 2011

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
Page 21: Developer Conference 2011
Page 22: Developer Conference 2011