Cordova installation deployment for Windows Phone 8 platform

Source: Internet
Author: User
Tags install node

Cordova is an open source mobile development framework. It allows you to use standard Web technologies such as HTML5, CSS3, and JavaScript for Cross-platform development, avoiding the native development language of each mobile platform. Applications are executed in a targeted package for each platform and rely on compliant API bindings to access the camera, microphone, sensor, data, and network status of each device.

Cordova Official website: http://cordova.apache.org/, currently the latest version is 3.4.0, document description: http://cordova.apache.org/docs/en/3.4.0/.

Cordova Installation Steps

Command-line Installation

Download and install Node.js, address: http://nodejs.org/.

The administrator opens a command prompt and enters: NPM install-g Cordova, as shown in the following illustration:

The execution may be slow, please be patient, if there is a problem in the middle, you can perform a new installation command until the installation is successful. After the installation is successful, the command prompt line prints out the directory of Cordova related resources, referring to the above figure.

Execute the following command to add the platform.

>cordova Create Test Com.example Testcordova

>CD Test

>cordova Platform Add WP8

The figure below is a screenshot of the command execution.

Open the project directory of platforms, there will be a WP8 directory, this directory is the WP8 project. I am using the Cordova 3.4 version, some of the project files at the beginning of garbled, it seems that there is a BOM head, and temporarily did not find an effective treatment scheme, can only be directly modified by the file.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.