Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Remove WP7 from readme, and tooling
  • Loading branch information
purplecabbage committed May 6, 2014
1 parent e6fdbae commit 1f52b135fdcf81b7f3019c4589c4c2b0e750db66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 24 deletions.
@@ -20,14 +20,11 @@
-->


Apache Cordova for Windows Phone 8 ( and Windows Phone 7.1)
Apache Cordova for Windows Phone 8
===

> **Windows Phone 7 is deprecated as a target platform. Support will be removed in version 3.6.0, approx. May 2014.**
> **3.5.0 will be the last official release to support Windows Phone 7 **
====

This repo includes code to build Apache Cordova applications that target either Windows Phone SDK (WP7.1 && WP8).
This repo includes code to build Apache Cordova applications that target Windows Phone 8 SDK.

An Apache Cordova based applications is, at the core, an application written with web technology: HTML, CSS and JavaScript.

@@ -36,23 +33,19 @@ An Apache Cordova based applications is, at the core, an application written wit
Requires
---

- [Windows Phone SDK 7.1][]
-- to target Windows Phone 7 devices. (WP7 apps will also run on WP8 devices, in compatibility mode)

- [Windows Phone SDK 8][]
-- to target Windows Phone 8 devices
-- Windows Phone 8 development requires Windows 8 Professional, and Visual Studio 2012 ( express works )


Getting Started
---

There are 2 ways to go about creating a new Apache Cordova WP7 or WP8 application.
There are 2 ways to go about creating a new Apache Cordova WP8 application.

### Run the batch file to create and install the templates.


- The root of the repo contains a file createTemplates.bat. Double clicking this file will generate 2 .zip files. (CordovaWP7_x_x_x.zip + CordovaWP8_x_x_x.zip where x.x.x is the current version number) To easily use these files in Visual Studio, copy them to
- The root of the repo contains a file createTemplates.bat. Double clicking this file will generate a .zip template file. (CordovaWP8_x_x_x.zip where x.x.x is the current version number) To easily use these files in Visual Studio, copy them to
"My Documents\Visual Studio 2012\Templates\ProjectTemplates\" You will then be able to create new Apache Cordova Windows Phone apps from the Visual Studio File->New Project menu.
- If you run the batch file from the command line, you can also call with a parameter to install automatically

@@ -65,15 +58,13 @@ Run the script :
Gettings Started from command line
---

>.\wp7\bin\create PathToNewProject [ PackageName ] [ AppName ]
>.\wp8\bin\create PathToNewProject [ PackageName ] [ AppName ]
>PathToNewProject : The path to where you wish to create the project
>PackageName : The namespace for the project (default is Cordova.Example)
>AppName : The name of the application (default is CordovaWP8AppProj or CordovaWP7AppProj)
>examples:
>.\wp7\bin\create C:\Users\anonymous\Desktop\MyWP7Project
>example:
>.\wp8\bin\create C:\Users\anonymous\Desktop\MyWP8Proj io.cordova.example CordovaWP8App
Launch Visual Studio and open Solution file (.sln) in (C:\Users\anonymous\Desktop\MyWP7Project)
@@ -86,13 +77,6 @@ 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.
- For WP7 Projects, 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
---

- Some 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][Tips for debugging WP7 media apps with WPConnect].


BUGS?
@@ -107,9 +91,7 @@ Further Reading
- [Apache Cordova Documentation][]
- [Apache Cordova Wiki][]

[Windows Phone SDK 7.1]: http://www.microsoft.com/en-us/download/details.aspx?id=27570 "Download Windows Phone SDK 7"
[Windows Phone SDK 8]: http://www.microsoft.com/en-us/download/details.aspx?id=35471 "Download Windows Phone SDK 8"
[Tips for debugging WP7 media apps with WPConnect]: http://blogs.msdn.com/b/jaimer/archive/2010/11/03/tips-for-debugging-wp7-media-apps-with-wpconnect.aspx "Tips for debugging WP7 media apps with WPConnect"

[Apache Cordova]: http://cordova.io "Apache Cordova"
[Apache Cordova Issue Tracker]: https://issues.apache.org/jira/browse/CB "Apache Cordova Issue Tracker"
@@ -1,3 +1,2 @@

call wp7/tooling/scripts/createTemplates %1
call wp8/tooling/scripts/createTemplates %1

0 comments on commit 1f52b13

Please sign in to comment.