Windows phone 7 application development

12
Windows phone 7 application development MANNU MALHOTRA MICROSOFT STUDENT PARTNER MICROSOFT CERTIFIED SOLUTION DEVELOPER

Transcript of Windows phone 7 application development

Page 1: Windows phone 7 application development

Windows phone 7 application development

MANNU MALHOTRAMICROSOFT STUDENT PARTNERMICROSOFT CERTIFIED SOLUTION DEVELOPER

Page 2: Windows phone 7 application development

Layout

Day 1 Why develop for windows phone 7? About Windows phone 7 Welcome to visual studio Coding time- HelloWorld App Life cycle Monetizing through your app

Day 2 More controls. Coding time – BMI calculator App designing App submission Application submission and app submission

Page 3: Windows phone 7 application development

Why develop for windows phone 7 ?

Android and apple own 80% of the market.Than why Windows

phone.Free developer account at dev. windowsphone.com

“Visual Studio” the best IDE.It makes development easier compare to android and IOS.Windows phone 8 is

changing the scenario.

Use of markup language – XAML.

Sandboxed environment.

When your app is running in a sandbox, it’ll be

functioning in an isolated area with no ability to affect other sandboxes

(areas).

It is easier to develop for sandboxed

environment.

Why not for windows phone 8, when windows

phone 7 is dead?Apps you develop for

windows phone 7 can run on window phone 8 but not

vice versa.

Single resolution, only two hardware options.

SDK requirement.

Page 4: Windows phone 7 application development

About windows phone 7…

7• Windows phone 7 OS was launched on 8 November 2010 in US.

7.5• In may 2011 Microsoft released an update know as Mango.

7.5• In 2012 “Tango” update was released with more functionalities

and bug fixes.

7.8• In January 2013, Windows Phone 7.8 was released. It added

some features from Windows Phone 8.

Page 5: Windows phone 7 application development

About Windows phone 7 continued

7 Hardware Buttons:- (Power/Lock, Search/Bing, Windows, Camera, 2* Volume, Back)

Windows phone 7 OS is based on Windows CE(compact edition). Launchers and Choosers. Live Tiles instead of widgets.

Page 6: Windows phone 7 application development

Welcome to visual Studio !

Introduction to visual studio Two languages:- C# and xaml Hello world App- Button, TextBox, MessageBox Features of Visual studio Introduction to Emulator

Page 7: Windows phone 7 application development

Time To Code-Hello World!

private void button1_Click(object sender, RoutedEventArgs e){MessageBox.Show("Hello " + textBox1.Text + " Welcome to HMRvillage!")}

Page 8: Windows phone 7 application development

Hello World 2.0 !

private void button1_Click(object sender, RoutedEventArgs e){ textBlock1.Text = "Hello "+ textBox1.Text + " Welcome to HMR!";}

Page 9: Windows phone 7 application development

Hello World 3.0!

private void button1_Click(object sender, RoutedEventArgs e){ image1.Visibility = Visibility.Visible;}

Page 10: Windows phone 7 application development

App Lifecycle Events and States together make

up for an application’s life cycle. In Mango, there are 4 application life cycle events

Launching Deactivated Activated Closing

And 3 application states Running Dormant Terminated

Events lead to change the application’s state.

Page 11: Windows phone 7 application development

Monetizing

Three Options:1. Paid apps2. In app purchases3. Ads

ECPM Pubcenter.Microsoft.com Threshold

Page 12: Windows phone 7 application development

Lets meet Tomorrow for more coding