Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How-To: Use Application Deployment Tool in Windows Phone

DZone's Guide to

How-To: Use Application Deployment Tool in Windows Phone

Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

In this tutorial we are going to see how to use the Application Deployment tool with Windows Phone Application Development. With this tool we can deploy our application to test it with the registered windows phone device or as well with the Windows Emulators in 512MB ram emulator and also with a 256MB ram emulator. This tool is mainly used to test the application which we develop on to the Emulators and also with the real device which is registered before deploying it to the market place which can avoid the certification failure while deploying the application to the market place.

Application deployment tool is installed by default while we install the Windows Phone SDK on to the development machine and it will be available in one of the following paths as per the installation on to the respective servers.

  • Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\XAP Deployment
  • Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\XAP Deployment

image

We can use this application deployment tool to load upto 10 application on to the registered developers device which basically will not reduce the installed application performances. If we are going to deploy the application on to the device then we need to have a registered Zune account which basically will start the Zune Client. Now let us use this tool to deploy the application which we developed to the emulators instead of the real device, in future we will see how to deploy it to the device. Navigate to the respective path and open the application deployment tool which looks like below.

SNAGHTML3b6062d

If we can see we can select the Target which is basically where our application need to be deployed. If we select the combo box we can see different options like Windows Phone Device, Windows Phone Emulator – 512MB Ram and Windows Phone Emulator – 256 MB Ram as shown in the screen below.

SNAGHTML3b76918

Since we are going to deploy our application to the Emulator we will select the Windows Phone Emulator – 512 MB option and next is to take the packaged application (basically the .XAP file) which will be generated once we are done with the application with building and executing. We can find the developed applications .XAP file in the bin folder as shown in the screen below.

image

Now we are done with selecting the required options and we can see the screen looks like below. Click on Deploy to proceed further which deploys the application to the Emulator.

SNAGHTML3bb361e

Clicking on Deploy will open the Windows Phone Emulator and we can see the application as well as the status of the deployment one by one as shown in the screen’s below.

SNAGHTML3bc2919SNAGHTML3bc6547image

So we are done with our deployment, now we are good to go to test the application completely on this instance of the Windows Phone Emulator. Similarly we can change the emulator target the 256 MB ram device as well and test it completely. That’s it from this tutorial on Windows Phone see you all in the next tutorial soon. Mean while Happy Programming!!!

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda

Topics:

Published at DZone with permission of Karthikeyan Anbarasan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}