Getting Started with Windows Phone 7

Getting Started with Windows Phone 7

This guide describes how to set up your development environment for Cordova and run a sample application. Note that Cordova used to be called PhoneGap, so some of the sites still use the old PhoneGap name.

Video Tutorials:

1. Requirements

Note: Running in VM has issues, if you are on a Mac, you will need to setup a bootcamp partition with Windows 7 or Vista

Necessary for Installing on Device and Submitting to Market Place:

2. Install SDK + Cordova

2.1. Building the template

( note, this step may not be required. If the lib\windows-phone directory already contains a file CordovaStarter-x.x.x.zip then you may skip this step ) - Open the file lib\windows-phone\templates\standalone\CordovaSolution.sln in Visual Studio Express for Windows Phone - From the file menu, select 'Export Template...' - Choose template type 'Project template' - Give the exported template a name, ex. CordovaStarter-2.1.0 will produce CordovaStarter-2.1.0.zip - Optionally, you may add a description, icon image, and Preview image. These are what is displayed in Visual Studio in the 'New Project' dialog.- - Note: If you select ( 'Automatically import the template ... ') then you will not need to copy the .zip file over as outlined in step 2. - Press 'Finish'

3. Setup New Project

4. Review the project structure

5. Build and Deploy to Emulator

6. Build your project for the device

In order to test your application on a device, the device must be registered. Click here to read documentation on deploying and testing on your Windows Phone.

Done!

You can also checkout more detailed version of this guide here.