(original) First knowledge of Cordova (I.)

Source: Internet
Author: User

In the company to do projects, found that someone in large projects using Cordova technology. Do is the project of Kunshan. Before I heard of PhoneGap, but also tested, but the sense of efficiency is not very good, not how to study, and then see that they do the project is good, so want to try.

Build the development environment:

1. Before using Cordova, you need to install node. js http://www.nodejs.org/, then add the installation directory to the environment variable path, and cmd input npm-v see if the installation was successful.

2. cmd input NPM install-g Cordova install Cordova.

3. Create a new folder, and then cmd the CD into that folder.

4. New Cordova Project , Cordova create Testcordova Com.honghe.testCordova Testcordova. A new Cordova project was created under this folder.

5. Add Android app , cmd into CD Testcordova, enter Cordova platform add Android. This adds an Android version.

7. Import the built-in Android project into eclipse

After the import we can see two items, run the Testcordova on it.

We can look at the directory, is actually the web of the set of things (I have also done Web,o (∩_∩) o haha)

Run the program to see the interface:

OK, the development environment configuration is not very simple, if you have any questions can contact me.

The code has been uploaded to GitHub.

My github Address: https://github.com/dongweiq/study

Welcome attention, Welcome to star O (∩_∩) O. What's the problem please contact [email protected] qq714094450

(original) First knowledge of Cordova (I.)

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.