Download nodejs from here:

http://nodejs.org/

$ npm install -g cordova

Go to workspace folder:

$ cordova create [project-folder-name] [package-name] [application-name]

Go to project folder (add/list/remove) platform:

$ cordova platform add android
$ cordova platforms ls
$ cordova platform rm android

In the android platform:

$ cordova build

Import the project to eclipse.
Create virtual device.
Run our application in android app.

Posted in Uncategorized.