This document outlines a two-day training on developing applications for Windows Phone 7. Day 1 covers why to develop for the Windows Phone platform, an overview of Windows Phone 7 and 8, and an introduction to Visual Studio and the application lifecycle. Trainees build a simple "Hello World" application. Day 2 focuses on additional controls, designing apps, and the submission process. The document provides background details on Windows Phone 7 versions and hardware, and discusses monetizing apps through paid, in-app purchase, and advertising models.
1. Windows phone 7
application development
MANNU MALHOTRA
MICROSOFT STUDENT PARTNER
MICROSOFT CERTIFIED SOLUTION DEVELOPER
2. 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
3. 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.
4. 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.
5. 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.
6. 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
7. Time To Code-
Hello World!
private void button1_Click(object sender,
RoutedEventArgs e)
{
MessageBox.Show("Hello " +
textBox1.Text + " Welcome to
HMRvillage!")
}
10. 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.