Go to file
riknoll 7233931681 CB-10510: Add an optional timeout to emu start script
The script used to wait forever for the emulator to boot.
If the emulator got stuck, it would never terminate.
This timeout is being added to support cordova-medic and
the CI.
2016-02-11 13:37:00 -08:00
bin CB-10510: Add an optional timeout to emu start script 2016-02-11 13:37:00 -08:00
cordova-js-src CB-10498: Resume event should be sticky if it has a plugin result 2016-02-03 13:25:56 -08:00
framework CB-10472 NullPointerException: org.apache.cordova.PluginManager.onSaveInstanceState 2016-01-29 13:19:00 -05:00
node_modules updated .gitignore 2016-01-22 11:59:43 -08:00
spec CB-9831 CB-9835 CB-9932 Added e2e tests 2015-11-11 14:06:43 +03:00
test fix HtmlNotFoundTest so that it passes when file not found is handled correctly 2016-02-01 16:11:17 -05:00
.gitattributes CB-9836 Add .gitattributes to prevent CRLF line endings in repos 2015-11-12 18:34:41 +03:00
.gitignore updated .gitignore 2016-01-22 11:59:43 -08:00
.jshintignore CB-8410 Enable jshint for Android platform 2015-02-03 15:21:56 -05:00
.jshintrc CB-8410 Enable jshint for Android platform 2015-02-03 15:21:56 -05:00
.ratignore Adding .ratignore file. 2015-06-16 21:30:59 -07:00
.reviewboardrc Add a .reviewboardrc file to make using post-review easier. 2013-05-21 12:35:47 -04:00
.travis.yml CB-9831 CB-9835 CB-9932 Added e2e tests 2015-11-11 14:06:43 +03:00
CONTRIBUTING.md CB-9800 Fixing contribute link. 2015-10-23 15:16:41 -07:00
LICENSE Fixed line endings 2015-10-20 16:15:57 -07:00
NOTICE Checked the notice file, updating to 2015 2015-10-26 16:42:06 -07:00
package.json Set VERSION to 5.2.0-dev (via coho) 2016-01-20 16:18:52 -08:00
README.md Remove stale info from README.md (close #156) 2015-02-18 21:37:59 -05:00
RELEASENOTES.md Updated RELEASENOTES and Version for release 5.1.0 2016-01-20 15:49:00 -08:00
VERSION Set VERSION to 5.2.0-dev (via coho) 2016-01-20 16:18:52 -08:00

Cordova Android

Cordova Android is an Android application library that allows for Cordova-based projects to be built for the Android Platform. Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.

Apache Cordova is a project of The Apache Software Foundation (ASF).

Requires

Cordova Android Developer Tools

We recommend using the Cordova command-line tool to create projects and be able to easily install plugins.

However, the following scripts can be used instead:

./bin/create [path package activity] ... creates the ./example app or a cordova android project
./bin/check_reqs ....................... checks that your environment is set up for cordova-android development
./bin/update [path] .................... updates an existing cordova-android project to the version of the framework

These commands live in a generated Cordova Android project. Any interactions with the emulator require you to have an AVD defined.

./cordova/clean ........................ cleans the project
./cordova/build ........................ calls `clean` then compiles the project
./cordova/log   ........................ streams device or emulator logs to STDOUT
./cordova/run   ........................ calls `build` then deploys to a connected Android device. If no Android device is detected, will launch an emulator and deploy to it.
./cordova/version ...................... returns the cordova-android version of the current project

Using Android Studio

  1. Create a project
  2. Import it via "Non-Android Studio Project"