Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Phone

Deploying the Application to the Windows Phone 7 Emulator

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/28/2011 11:27:17 AM

1. Problem

You have developed your application and want to run it, but you don't have the physical device.

2. Solution

From Visual Studio 2010—with your phone project loaded—select Windows Phone 7 Emulator from the target combo box (see Figure 1).

Figure 1. The target combo box set to Windows Phone 7 Emulator

3. Usage

Press Ctrl+F5 or choose Debug => Start Without Debugging. If your code builds correctly, you will see your application running in the Windows Phone 7 Emulator (see Figure 2).

Figure 2. Windows Phone 7 Emulator

This emulator is very powerful. It supports multi-touch capabilities if your PC monitor supports touching. It supports graphics acceleration if your graphical device supports DirectX 9 or higher. Obviously, it doesn't support phone sensors such as the accelerator, compass, or A-GPS. When you run the code that uses phone sensors, you will always get the same result. For example, when running the code to retrieve a user's geographical location, you will always receive the same position.

NOTE

The Multi-Touch Vista library from CodePlex enables users to use multiple mice to simulate fingers. After installing this multi-touch driver, you can test your multi-touch Windows Phone application in the emulator. Download the driver from http://multitouchvista.codeplex.com.

After launching the emulator for the first time, it is convenient to not close it. Every change you make to your code and deploy to the opened emulator will then be visible and testable. With no need to rerun the emulator, the deployment is much faster.

The emulator contains the working version of Internet Explorer plus the Settings application used to change the phone background and styles.

In Figure 2, you can see next to the emulator a little floating rectangle with some icons. These buttons are used to close the emulator, minimize it, rotate it, and zoom it. If you choose a 100% zoom level, you will see a large Windows Phone emulator on your monitor. That's because the Windows operating system assumes that your monitor is 96 dpi, while the Windows Phone display has 262 DPI. To enable you to see all the pixels in your monitor, the emulator shows a very large screen.

Other -----------------
- Creating a Simple XNA Windows Phone 7 Application
- Creating a Simple Silverlight Windows Phone 7 Application
- Developing for Windows Phone 7 and Xbox 360 : Lighting (part 5) - Point Lights
- Developing for Windows Phone 7 and Xbox 360 : Lighting (part 4) - Fog
- Developing for Windows Phone 7 and Xbox 360 : Lighting (part 3) - Emissive Lighting & Specular Lighting
- Developing for Windows Phone 7 and Xbox 360 : Lighting (part 2) - Triangle Normals & Diffuse Lighting
- Developing for Windows Phone 7 and Xbox 360 : Lighting (part 1) - Ambient Lighting
- Developing for Windows Phone 7 and Xbox 360 : Introduction to Custom Effects - Vertex Color & Texturing
- Developing for Windows Phone 7 and Xbox 360 : Drawing with a Custom Effect
- Developing for Windows Phone 7 and Xbox 360 : Creating Your First Custom Effect & Parts of an Effect File
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server