Sie sind auf Seite 1von 106

DONG NAI UNIVERSITY OF TECHNOLOGY

1
6. Getting Started Windows phone 8
5. WP SDK & Tool Development
3. Windows Phone OS vs Another
2. New Features Windows Phone 8
1. History WINDOWS PHONE OS
7. Application LifeCycle
8. Taking Your App to Market
4. Windows phone architecture
DONG NAI UNIVERSITY OF TECHNOLOGY
2
1. History WINDOWS PHONE OS
Windows phone 7.0 (oct, 2010)
Windows phone 7.5 Mango (may, 2011)
Windows phone 7.5 Refresh (March, 2012)
Windows phone 7.5 Tango (June, 2012)
Windows phone 7.8 (January 2013)
Windows phone 8 (October 29, 2012)
Windows phone 7.1 Mango(may, 2011)
DONG NAI UNIVERSITY OF TECHNOLOGY
3
1. History WINDOWS PHONE OS
Windows phone 7.0 (oct, 2010)
Initial version of the Windows Phone 7 OS
DONG NAI UNIVERSITY OF TECHNOLOGY
4
1. History WINDOWS PHONE OS
Windows phone 7.1 Mango (may, 2011)
People Hub such as Facebook, Hotmail, and Gmail,
Microsoft has gone ahead and added LinkedIn and
Twitter.
Mango will also bring with it a Groups feature, allowing
multiple people to communicate across a multiple
platforms
Mango also upgrades all the different Windows Phone
Hubs, most significantly Pictures, Office, and Xbox Live.
Internet Explorer 9
and more
DONG NAI UNIVERSITY OF TECHNOLOGY
5
1. History WINDOWS PHONE OS
Windows phone 7.5 Mango (may, 2011)
"NoDo" added CDMA support, Copy and Paste, fast
application startup, and deeper Facebook Integration
revoke of fraudulent certificates
intermediate update required for updating to Mango
DONG NAI UNIVERSITY OF TECHNOLOGY
6
1. History WINDOWS PHONE OS
Windows phone 7.5 Refresh (March, 2012)
LTE support
Fixed keyboard disappearing bug
Fixed location access issue
Initial release for AT&T Nokia Lumia 900 & HTC Titan II.
Other bugfixes

and more
DONG NAI UNIVERSITY OF TECHNOLOGY
7
1. History WINDOWS PHONE OS
Windows phone 7.5 Tango (June, 2012)
Better media messaging
Ability to send ringtones via MMS
Export and manage contacts to SIM card
Fixes an issue with app purchases in some regions.
Provides support for phones without physical camera
buttons.
and more

DONG NAI UNIVERSITY OF TECHNOLOGY
8
1. History WINDOWS PHONE OS
Windows phone 7.8 (January 2013)
Windows Phone 7.8 is an upcoming (and perhaps final)
OS upgrade to the Windows Phone 7.x
platform. Windows Phone 7.x is based off of the CE
kernel while Windows Phone 8 allowed Microsoft to
transition over to the much more robust NT kernel.
Because of this, current Windows Phone 7.x users (Nokia
Lumia 710, 800 900, HTC Titan II, Radar, etc.) cannot
upgrade to Windows Phone 8.
New start screen UI with customizable sizes of the tiles, as
found in Windows Phone 8
Enabled Tethering Wi-Fi in Samsung Omnia GT-I8350
and more
DONG NAI UNIVERSITY OF TECHNOLOGY
9
1. History WINDOWS PHONE OS
Windows phone 8 (October 29, 2012)
Transitions to core components from Windows 8, including
kernel, file system, drivers, network stack, security
components, media and graphics support
Support for multi-core CPUs of up to 64 cores (system is
currently optimized for Snapdragon S4 dual and quad core
processors)
Support for WXGA (1280720, 1280768) resolutions
Support for MicroSD cards
Internet Explorer 10
Support for up to 6" displays
1080p screen resolution support
and more
DONG NAI UNIVERSITY OF TECHNOLOGY
10
2. New Features Windows Phone 8
http://www.windowsphone.com/en-us/how-to/wp8/start/whats-new-in-windows-phone
New features that bring you closer to the people, places, and
things you care about.
Phone
People + social networking
Email + messaging
Browsing + maps
Photos + camera
Music + videos
Office Mobile
Networking
For your business
Windows Phone online
DONG NAI UNIVERSITY OF TECHNOLOGY
11
2. New Features Windows Phone 8
Phone Kid's Corner
Data Sense
Quad core support
Eyes on the road
Wallet
Screen rotation lock
Microsoft account
Back up your stuff
Start screen
Tap + send
DONG NAI UNIVERSITY OF TECHNOLOGY
12
2. New Features Windows Phone 8
People + social networking
Rooms: Rooms are an
invitation-only place on
your phone where you
can privately share a
calendar, photo album,
group chat, and notes
with other room
members.
Contact sharing: Quickly share a contact card via email, text
message, or NFC (Tap + Send).
Groups sync: Groups now sync to your Microsoft account,
so you'll see them in your People list on Outlook.com.
DONG NAI UNIVERSITY OF TECHNOLOGY
13
2. New Features Windows Phone 8
Email + messaging
Email by voice
Text tones
Attach more
Word Flow Keyboard.
Power texting
Skype app
Bulk delete for messaging
DONG NAI UNIVERSITY OF TECHNOLOGY
14
2. New Features Windows Phone 8
Browsing + maps
Just for you
Better browser
Delete one or many
DONG NAI UNIVERSITY OF TECHNOLOGY
15
2. New Features Windows Phone 8
Photos + camera
Lenses
Photo fixes
Back 'em up
Tap to record
DONG NAI UNIVERSITY OF TECHNOLOGY
16
2. New Features Windows Phone 8
Music + videos
Xbox Music
FM radio
Do more with playlists
DONG NAI UNIVERSITY OF TECHNOLOGY
17
2. New Features Windows Phone 8
Office Mobile
Handier notes
New notes from Start
New Office Hub
Improved Office apps
DONG NAI UNIVERSITY OF TECHNOLOGY
18
2. New Features Windows Phone 8
Apps + Games
The Store More Live Apps Even smarter apps
DONG NAI UNIVERSITY OF TECHNOLOGY
19
2. New Features Windows Phone 8
Networking
Wi-Fi options
Bluetooth sharing
DONG NAI UNIVERSITY OF TECHNOLOGY
20
2. New Features Windows Phone 8
For your business
Enterprise power
Works with Windows
Office enhancements
Designed to meet the needs of
businesses large and small,
Windows Phone 8 closes the gap
between what organizations need
and what employees want from a
smartphone.
DONG NAI UNIVERSITY OF TECHNOLOGY
21
2. New Features Windows Phone 8
Windows Phone online
My Family: Set up My Family on the Windows Phone website to
allow and manage app downloads and game ratings for kids.
http://www.windowsphone.com/en-us/how-to/wp8/apps/my-family-on-the-
windows-phone-website
DONG NAI UNIVERSITY OF TECHNOLOGY
22
2. New Features Windows Phone 8
Programming:
Speech
The Wallet
Monetizing your app
Enterprise apps
DONG NAI UNIVERSITY OF TECHNOLOGY
23
3. Windows Phone OS vs Another
Mobile
Symbian
Ubuntu
BlackBerry
Windows
Phone

Bada
MeeGo
IOS
WebOS
Android
DONG NAI UNIVERSITY OF TECHNOLOGY
24
Bada
Samsung
Closed source
http://developer.bada.com
DONG NAI UNIVERSITY OF TECHNOLOGY
25
C/C++ J2EM
http://www.developer.nokia.com/
DONG NAI UNIVERSITY OF TECHNOLOGY
26
Windows
Phone
http://dev.windowsphone.com
C#
VB.net
XAML
DONG NAI UNIVERSITY OF TECHNOLOGY
27
WebOS
from HP
open sourced
running on the Linux kernel
Visual Studio
https://developer.palm.com/
C/C++

Java
DONG NAI UNIVERSITY OF TECHNOLOGY
28
IOS
Apple
derived from Mac OS X.
Objective C iPhone SDk
https://developer.apple.com
DONG NAI UNIVERSITY OF TECHNOLOGY
29
BlackBerry
https://developer.blackberry.com/
DONG NAI UNIVERSITY OF TECHNOLOGY
30
Android
Google Inc
free and open source
Linux-derived OS
Java (Android SDK)
http://developer.android.com/
DONG NAI UNIVERSITY OF TECHNOLOGY
31
Ubuntu
http://www.ubuntu.com/devices/android
Professional Ubuntu
Mobile Development
DONG NAI UNIVERSITY OF TECHNOLOGY
32
MeeGo
open source
Nokia + Intel
https://meego.com/developers
C++
DONG NAI UNIVERSITY OF TECHNOLOGY
33
All Mobiles Characterized
Limited resources
Screen
CPU
RAM (no virtual)
No harddisk
Battery
Input data: many ways
Compact
Not much room
Reuse of common component is impotant
Phone functionality always highest priority
Always on
3. Windows Phone OS vs Another
DONG NAI UNIVERSITY OF TECHNOLOGY
34
4. Windows phone architecture
Platform stack
DONG NAI UNIVERSITY OF TECHNOLOGY
35
4. Windows phone architecture
Platform stack
The box labeled TaskHost
represents the XAML app
model, which has been the
primary model since the
launch of Windows Phone 7
The box labeled CoreApplication,
a new app model for Windows
Phone, which is a subset of the
new Windows 8 app model. In the
Windows Phone 8 release, this app
model only supports pure native
apps using Direct3D for UI
DONG NAI UNIVERSITY OF TECHNOLOGY
36
4. Windows phone architecture
Platform stack
Package Manager : The Package Manager is responsible for
installing/uninstalling apps and maintaining all of their
metadata throughout the app lifecycle.
Execution Manager : The Execution Manager controls all of
the logic associated with an apps execution lifetime.
Navigation Server : The Navigation Server manages all of
the movement between foreground apps on the phone.
Resource Manager : The Resource Manager is responsible
for ensuring that the phone is always quick and responsive
by monitoring the use of system resources by all active
processes and enforcing a set of constraints on them.
DONG NAI UNIVERSITY OF TECHNOLOGY
37
4. Windows phone architecture
Platform stack
Networking : Manage networking resource.
Storage : Mange Data resource.
Media : Manage Media camera.
Sensor : Manage Sensor, depend hardware.
DONG NAI UNIVERSITY OF TECHNOLOGY
38
4. Windows phone architecture
App types
DONG NAI UNIVERSITY OF TECHNOLOGY
39
4. Windows phone architecture
App types
Managed Code:
Code write in .net framework environment is
call Managed code, they will be executed direct
from CLR(Common Language Runtime). CLR
will manage memory, security problem,
debuggingand other useful features
DONG NAI UNIVERSITY OF TECHNOLOGY
40
4. Windows phone architecture
App types
Unmanaged Code:
Not in .net framework, that is not controlled
by CLR, Unmanaged Code will bee execute
with 2 wrapper class support:
CCW (COM Callable Wrapper)
and
RCW (Runtime Callable Wrapper).
DONG NAI UNIVERSITY OF TECHNOLOGY
41
4. Windows phone architecture
App types
CCW (COM Callable Wrapper)
DONG NAI UNIVERSITY OF TECHNOLOGY
42
4. Windows phone architecture
App types
RCW (Runtime Callable Wrapper)
DONG NAI UNIVERSITY OF TECHNOLOGY
43
4. Windows phone architecture
Background OS services
Windows Phone offers a set of background services that can
perform common tasks on behalf of apps.
Background transfer service : The Background Transfer
Service (BTS) makes it possible for apps to perform HTTP
transfers by using the same robust infrastructure that the OS
uses to perform operations such as downloading music.
Alarms : With the Alarms API, apps can create scenario-
specific reminders that provide deep links back into the
apps UX
DONG NAI UNIVERSITY OF TECHNOLOGY
44
4. Windows phone architecture
Background audio agents
Background audio playback is a classic example of scenario-
based background processing. The simplest solution to
permitting Windows Phone apps to play audio from the
background would be to allow those apps to continue
running even when the user navigates away.
DONG NAI UNIVERSITY OF TECHNOLOGY
45
4. Windows phone architecture
Scheduled tasks
Scheduled tasks offer the most generic solution for background
processing in Windows Phone apps, but they are still
ultimately driven by scenarios.
Periodic tasks : Periodic tasks run for a brief amount of
time on a regular intervalthe current configuration is 25
seconds approximately every 30 minutes (as long as the
phone is not in Battery Saver mode).
Resource-intensive tasks : Resource-intensive tasks can
run for a longer period, but they do not run on a
predictable schedule.
DONG NAI UNIVERSITY OF TECHNOLOGY
46
4. Windows phone architecture
Security model
The Windows Phone security
model is based on the notion of
security chambers, which are
isolated containers in which
processes are created and
executed.
The chamber is the security
principal to which access rights
are granted in the system.
DONG NAI UNIVERSITY OF TECHNOLOGY
47
4. Windows phone architecture
Windows and Windows Phone
Shared core
DONG NAI UNIVERSITY OF TECHNOLOGY
48
5. WP SDK & Tool Development
PC Hardware Requirements
Phone Hardware Requirements
Operating system requirements
The Windows Phone 8 SDK
Visual Studio
DONG NAI UNIVERSITY OF TECHNOLOGY
49
5. WP SDK & Tool Development
PC Hardware Requirements
Your PC must have Hyper V and SLAT support. Hyper V is
required to run virtual machines, namely the Windows Phone
8 emulator. SLAT (Second Level Address Translation) is used
by Hyper V to translate virtualized guest addresses to real
physical addresses.
DONG NAI UNIVERSITY OF TECHNOLOGY
50
5. WP SDK & Tool Development
Phone Hardware Requirements
Windows Phone 8 development does not actually require
a phone. You can get by using the Emulator.
Legacy phones intended for Windows Phone 7.x are not
upgradable to Windows Phone 8
Nokia 92x
HTC Windows Phone 8x
Samsung ATIV S
DONG NAI UNIVERSITY OF TECHNOLOGY
51
5. WP SDK & Tool Development
Operating system requirements
Windows Phone 8
development requires
the 64-bit version of
Windows 8 Pro or
greater.
You can still install and
run using only
Windows 8, but the
emulator will not
work.
DONG NAI UNIVERSITY OF TECHNOLOGY
52
5. WP SDK & Tool Development
The Windows Phone 8 SDK
Link download WP 8 SDK :
http://www.microsoft.com/en-us/download/details.aspx?id=35471
The Windows Phone 8 SDK allows you to create Windows
Phone 8 applications in Visual Studio and to test your
applications on your PC using an emulator.
https://dev.windowsphone.com
https://www.dreamspark.com/Student/App-Development.aspx
Using Microsoft DreamSpark from DNTU (register with
Dong Nai University Of Technology):
Learn more:
DONG NAI UNIVERSITY OF TECHNOLOGY
53
5. WP SDK & Tool Development
The Windows Phone 8 SDK
The download consists of Wpexpress_full.exe that installs to
the \Program Files (x86)\Windows Phone Kits\8.0 directory.
Here are some of the goodies that are installed:
SDK Windows Phone 8 Assemblies
Windows Phone 8 Emulator
Visual Studio Express 2012 for Windows Phone
Adds project and item templates to Visual Studio 2012
Development Kit Tools for Windows Store Apps
MS C++ 2012 Compilers and Core Libraries for WP 8
Direct X Libraries
XNA Game Studio 40
Windows Phone 7.1 Support
Blend SDK for Windows Phone 8 and 7.1
Microsoft Advertising SDK
DONG NAI UNIVERSITY OF TECHNOLOGY
54
5. WP SDK & Tool Development
Visual Studio
A stand-alone version of
Visual Studio Express
2012 for Windows
Phone is included as
part of the Windows
Phone 8 SDK install.



If you already have Visual Studio Professional, Premium, or
Ultimate installed, the SDK will install as an add-in to your
existing version.
DONG NAI UNIVERSITY OF TECHNOLOGY
55
6. Getting Started Windows phone 8
Creating a Windows Phone 8 Project
Windows Phone 8 Solution Anatomy
Running Applications from Visual Studio
Using the Emulator
Register real phone for development
DONG NAI UNIVERSITY OF TECHNOLOGY
56
6. Getting Started Windows phone 8
Creating a Windows Phone 8 Project
Run Microsoft Visual Studio Express 2012 for Window Phone

File New Project to create a windows phone project
DONG NAI UNIVERSITY OF TECHNOLOGY
57
6. Getting Started Windows phone 8
Creating a Windows Phone 8 Project
Choose as the same configuration, and then click OK button
DONG NAI UNIVERSITY OF TECHNOLOGY
58
6. Getting Started Windows phone 8
Creating a Windows Phone 8 Project
Choose Windows phone OS 8.0, click OK
The Target Windows Phone OS version is popup:
DONG NAI UNIVERSITY OF TECHNOLOGY
59
6. Getting Started Windows phone 8
Creating a Windows Phone 8 Project
Please wait some minutes. Creating project
DONG NAI UNIVERSITY OF TECHNOLOGY
60
6. Getting Started Windows phone 8
F5 to display the application
and page titles in the emulator
DONG NAI UNIVERSITY OF TECHNOLOGY
61
6. Getting Started Windows phone 8
Windows Phone 8 Solution Anatomy
DONG NAI UNIVERSITY OF TECHNOLOGY
62
6. Getting Started Windows phone 8
Windows Phone 8 Solution Anatomy
Solution Explorer
Properties
Editor development
XAML designer
Emulator designer
Toolbox
Output
Document Outline
DONG NAI UNIVERSITY OF TECHNOLOGY
63
6. Getting Started Windows phone 8
Windows Phone 8 Solution Anatomy
Project folder explorer
.xap format
DONG NAI UNIVERSITY OF TECHNOLOGY
64
6. Getting Started Windows phone 8
Windows Phone 8 Solution Anatomy
AppManifest.xml lists resources
to include when deploying the
application. Visual Studio takes
care of maintaining this file for you.
This file is located in the Properties
folder of the project.
WMAppManifest.xml describes
the application in more detail
including the Display Name,
starting Navigation Page, App Icon,
a list of Capabilities and hardware
Requirements. This file is located in
the Properties folder of the project.
DONG NAI UNIVERSITY OF TECHNOLOGY
65
6. Getting Started Windows phone 8
Properties of
WMAppManifest.xml
Application UI
Capabilities
Requirements
Packaging
DONG NAI UNIVERSITY OF TECHNOLOGY
66
6. Getting Started Windows phone 8
Properties of
WMAppManifest.xml
Application UI
Capabilities
Requirements
Packaging
DONG NAI UNIVERSITY OF TECHNOLOGY
67
6. Getting Started Windows phone 8
Properties of
WMAppManifest.xml
Application UI
Capabilities
Requirements
Packaging
DONG NAI UNIVERSITY OF TECHNOLOGY
68
6. Getting Started Windows phone 8
Properties of
WMAppManifest.xml
Application UI
Capabilities
Requirements
Packaging
DONG NAI UNIVERSITY OF TECHNOLOGY
69
6. Getting Started Windows phone 8
Windows Phone 8 Solution Anatomy
The Assets folder: contains the
images for the application icon and
the tile images that display in the
Windows Phone 8 Start screen.
The Resources folder: allows your
application to be localized for
particular languages and cultures.
The LocalizedStrings class:
provides access to language
resources and can be referenced in
your applications user interface.
The App class : Is defined in files
App.xaml and App.xaml.cs located in
the root directory of the project.
DONG NAI UNIVERSITY OF TECHNOLOGY
70
6. Getting Started Windows phone 8
App class
DONG NAI UNIVERSITY OF TECHNOLOGY
71
6. Getting Started Windows phone 8
The initial main page is created
automatically and contains a
.XAML (Extensible Application
Markup Language) file to describe
the user interface and a .XAML.CS
code-behind file to define client
logic.
Windows Phone 8 Solution Anatomy
DONG NAI UNIVERSITY OF TECHNOLOGY
72
6. Getting Started Windows phone 8
Main page
Designer
area
Code Behind
area
XAML Page
area
DONG NAI UNIVERSITY OF TECHNOLOGY
73
6. Getting Started Windows phone 8
The XAP file is simply a compressed file, like a ZIP file, that contains
all the files needed to execute the application. This file is created
automatically by Visual Studio and placed under the \bin directory.
DONG NAI UNIVERSITY OF TECHNOLOGY
74
6. Getting Started Windows phone 8
Running Applications from Visual Studio
By default, you run your
Windows Phone 8 application in
Visual Studio using the emulator.
The emulator lets you run an
application directly from your PC
desktop without a physical
device.
If you have a Windows Phone 8
device plugged in to your
computer via USB cable, you can
run the application directly on
the device.
DONG NAI UNIVERSITY OF TECHNOLOGY
75
6. Getting Started Windows phone 8
Using the Emulator
The emulator simulates Windows 8 Phone applications
running in three screen sizes:
WVGA- 800 480pixels. An additional 512MB RAM
version of WVGA allows you to emulate memory-
constrained devices.
WXGA- 1280 768pixels.
720p- 1280 720pixels.
DONG NAI UNIVERSITY OF TECHNOLOGY
76
6. Getting Started Windows phone 8
Using the Emulator
DONG NAI UNIVERSITY OF TECHNOLOGY
77
6. Getting Started Windows phone 8
Using the Emulator
Additional Tools
Accelerometer tab
DONG NAI UNIVERSITY OF TECHNOLOGY
78
6. Getting Started Windows phone 8
Using the Emulator
Additional Tools
Location tab
DONG NAI UNIVERSITY OF TECHNOLOGY
79
6. Getting Started Windows phone 8
Using the Emulator
Additional Tools
Screenshot tab
DONG NAI UNIVERSITY OF TECHNOLOGY
80
6. Getting Started Windows phone 8
Using the Emulator
Additional Tools
Network tab
DONG NAI UNIVERSITY OF TECHNOLOGY
81
6. Getting Started Windows phone 8
Register real phone for development
Prerequisites
The first is registering as a developer at
http://dev.windowsphone.com
Next, register your phone device to unlock the phone for
development. The phone must have a cell or Wi-Fi
connection. The USB connection alone is not enough.
DONG NAI UNIVERSITY OF TECHNOLOGY
82
6. Getting Started Windows phone 8
Prerequisites
1. Turn on the phone and unlock the screen.
2. Verify the date and time on the phone. The Settings app
lets you configure the date and time for the phone. Typically,
this will be synced automatically with the correct date and
time.
3. Connect the phone device USB to the development PC.
4. On the development PC, navigate to the Startscreen, type
Windows Phone Developer Registration to search for the
registration application, and click the entry in the Apps list
to run it
DONG NAI UNIVERSITY OF TECHNOLOGY
83
6. Getting Started Windows phone 8
Prerequisites
5. In the Windows Phone Developer Registration screen,
verify the Status message. The Status will indicate if the
phone is ready to be registered and will flag any problems,
such as your device is unconnected, before continuing.
6. Click the Register button
DONG NAI UNIVERSITY OF TECHNOLOGY
84
6. Getting Started Windows phone 8
Prerequisites
DONG NAI UNIVERSITY OF TECHNOLOGY
85
6. Getting Started Windows phone 8
Prerequisites
7. Sign in with your Windows Live ID connected to your
registered developers account.

8. Check the Statusagain to verify you have successfully
unlocked your Windows Phone
Well done, now you can deploy Windows Phone 8
applications directly onto the phone!
DONG NAI UNIVERSITY OF TECHNOLOGY
86
7. Application LifeCycle
DONG NAI UNIVERSITY OF TECHNOLOGY
87
7. Application LifeCycle
Not running
Running
Launching
DONG NAI UNIVERSITY OF TECHNOLOGY
88
7. Application LifeCycle
Not running
Running
Launching Closing
Deactivating
Dormant
Exit
Application_Closing
Deactivate
Application_Deactivated
Dormant
DONG NAI UNIVERSITY OF TECHNOLOGY
89
7. Application LifeCycle
Not running
Running
Launching Closing
Deactivating
Activating
Dormant
DONG NAI UNIVERSITY OF TECHNOLOGY
90
7. Application LifeCycle
Tombstoned
Not running
Running
Launching Closing
Deactivating
Activating
Dormant
DONG NAI UNIVERSITY OF TECHNOLOGY
91
7. Application LifeCycle
Tombstoned
Not running
Running
Launching Closing
Deactivating
Activating
Dormant
private void Application_Activated(object sender,
ActivatedEventArgs e)
{
if (e.IsApplicationInstancePreserved)
{
// Dormant - objects in memory intact
}
else
{
// Tombstoned - need to reload
}
}
DONG NAI UNIVERSITY OF TECHNOLOGY
92
7. Application LifeCycle
Tombstoned
Not running
Running
Launching Closing
Deactivating
Activating
Dormant
DONG NAI UNIVERSITY OF TECHNOLOGY
93
7. Application LifeCycle












<Tasks>
<DefaultTask Name ="_default" NavigationPage="MainPage.xaml">
<BackgroundExecution>
<ExecutionType Name="LocationTracking" />
</BackgroundExecution>
</DefaultTask>
</Tasks>
<Tasks>
<DefaultTask Name ="_default" NavigationPage="MainPage.xaml" />
</Tasks>
DONG NAI UNIVERSITY OF TECHNOLOGY
94
7. Application LifeCycle
Launch
from
Start
Page 1 Page 2
Launch
from
Start
Page 2
deep link
DONG NAI UNIVERSITY OF TECHNOLOGY
95
7. Application LifeCycle
Launch
from
Start
Page 1 Page 2
Launch
from
Start
Page 2
FAR Page 1
DONG NAI UNIVERSITY OF TECHNOLOGY
96
7. Application LifeCycle
DONG NAI UNIVERSITY OF TECHNOLOGY
97
7. Application LifeCycle
// Code to execute when the application is launching (eg, from Start)
// This code will not execute when the application is reactivated
private void Application_Launching(object sender, LaunchingEventArgs e)
{ }
// Code to execute when the application is activated (brought to foreground)
// This code will not execute when the application is first launched
private void Application_Activated(object sender, ActivatedEventArgs e)
{ }
// Code to execute when the application is deactivated (sent to background)
// This code will not execute when the application is closing
private void Application_Deactivated(object sender, DeactivatedEventArgs e)
{ }
// Code to execute when the application is closing (eg, user hit Back)
// This code will not execute when the application is deactivated
private void Application_Closing(object sender, ClosingEventArgs e)
{ }
DONG NAI UNIVERSITY OF TECHNOLOGY
98
8. Taking Your App to Market
Certification Requirements for Windows Phone Store
Using the Store Test Kit
Submitting Your App to the Windows Phone Store
DONG NAI UNIVERSITY OF TECHNOLOGY
99
8. Taking Your App to Market
Certification Requirements for Windows Phone Store
The requirements listed at the App certification requirements
for Windows Phonepage (http://msdn.microsoft.com/en-
us/library/windowsphone/develop/hh184843(v=vs.105).aspx )
App policies for Windows Phone
(http://msdn.microsoft.com/en-
us/library/windowsphone/develop/hh184841(v=vs.105).aspx )
Content policies for Windows Phone
(http://msdn.microsoft.com/en-
us/library/windowsphone/develop/hh184842(v=vs.105).aspx )
DONG NAI UNIVERSITY OF TECHNOLOGY
100
8. Taking Your App to Market
Certification Requirements for Windows Phone Store
App submission requirements for Windows Phone
(http://msdn.microsoft.com/en-
us/library/windowsphone/develop/hh184844(v=vs.105).aspx )
Technical certification requirements for Windows Phone
(http://msdn.microsoft.com/-en-
us/library/windowsphone/develop/hh184840(v=vs.105).aspx )
Additional requirements for specific app types for Windows
Phone (http://msdn.microsoft.com/en-
us/library/windowsphone/develop/hh184838(v=vs.105).aspx )
DONG NAI UNIVERSITY OF TECHNOLOGY
101
8. Taking Your App to Market
Using the Store Test Kit
In the Visual Studio Solution Explorer, right-click the project
node to execute the Open Store Test Kit option from the
context menu
DONG NAI UNIVERSITY OF TECHNOLOGY
102
8. Taking Your App to Market
DONG NAI UNIVERSITY OF TECHNOLOGY
103
8. Taking Your App to Market
Automated Tests
DONG NAI UNIVERSITY OF TECHNOLOGY
104
8. Taking Your App to Market
Manual Tests
DONG NAI UNIVERSITY OF TECHNOLOGY
105
8. Taking Your App to Market
Submitting Your App to the Windows Phone Store
Please see the link: http://msdn.microsoft.com/en-
us/library/windowsphone/help/jj206724(v=vs.105).aspx
DONG NAI UNIVERSITY OF TECHNOLOGY
END
106

Das könnte Ihnen auch gefallen