Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 50 lines (34 sloc) 2.229 kb

Apache Cordova for Windows Phone 7

Apache Cordova WP7 is a .net application library that lets you create Apache Cordova applications targeting Windows Phone 7 devices. Apache Cordova based applications are, at the core, an application written with web technology: HTML, CSS and JavaScript.

Requires

Getting Started

  • copy the file templates/CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates\
    • if you have just installed VisualStudio, you should launch it once to create this folder
    • if you prefer, you may add the project instead to the "Silverlight for Windows Phone" subfolder of "Visual C#". This is up to you, and only affects where the project template is shown when creating a new project. Also, You may need to create this folder.
  • Launch Visual Studio 2010 and select to create a new project
    • CordovaStarter should be listed as an option, give your new project a name
    • Note: The description will let you know the version of Cordova you are targetting, if you have multiple templates.
    • If you do not see it, you may have to select the top level 'Visual C#' to see it
  • Build and Run it!

Important!!!

When you add or remove files/folders in the www folder you will need to do the following :

  • ensure the new item is included in the project ( Content ) This includes ALL images/css/html/js/* and anything that you want available at runtime.
  • Do not modify the CordovaSourceDictionary.xml file which is included in the project, it is auto-generated for you when you build.

Known Problem Areas

Many of the Media APIs will not function as expected when debugging while connect to the device with the Zune software. To get around this, you need to use the Windows Phone Connect tool. For details, please check out this MSDN blog article.

BUGS?

File them at Apache Incubator https://issues.apache.org/jira/browse/CB

Further Reading

Something went wrong with that request. Please try again.