Phonegap (Cordova) 3.4 + Android Environment setup

Source: Internet
Author: User

PhoneGap is a fast-developing platform for creating mobile cross-platform mobile applications using HTML,CSS and JavaScript. It enables developers to take advantage of the core features of a variety of smartphones such as iphone,android,wp7, including geolocation, accelerators, contacts, sounds and vibrations, and PhoneGap has a rich plug-in that can extend unlimited functionality.PhoneGap was originally developed by Nitobi, after it was acquired by Adobe, the PhoneGap project was also contributed to the Apache Software Foundation and renamed Apache Cordova. Current Latest Version: 3.4.1. PhoneGap since 2.9.0, do not provide direct download, need to use node. js to install. There are many articles on the network that are configured for the development environment, which can be referred to here. here is my own way of setting up an environment, the steps are as follows:

1) Download Cordova Development Kit:http://cordova.apache.org/

Click the Download button in the lower right corner, as shown in:

Click on the source zip to download the cordova-3.4.0-src.zip.

2) Download ant, Address: http://ant.apache.org/bindownload.cgi, and configure the environment variables.

3) Download node. js, Address: http://nodejs.org/download/, select Windows Installer (. msi) to download the installation.

4) Unzip the Cordova-3.4.0-src.zip, find the Cordova-android.zip, and extract to the root of the D drive.

5) from the command line into the bin directory of Cordova-android, execute create d:\htmlApp cn.com.html Htmlapp, such as:

6) Open Eclipse, Import > Android > Existing android Code into Workspace.

7) Run, display the following interface is successful.

Phonegap (Cordova) 3.4 + Android Environment setup

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.