Go to file
Joe Bowser 6cf6e20d2e Merge branch 'master' into StudioProjectCompat, fixing conflicts, need
to re-add previous PR fix on the branch
2017-10-18 11:04:44 -07:00
.github CB-11921 - Add github pull request template 2016-10-04 21:49:55 -07:00
bin Merge branch 'master' into StudioProjectCompat, fixing conflicts, need 2017-10-18 11:04:44 -07:00
cordova-js-src CB-11880 android: Fail-safe for cordova.exec() 2016-10-12 15:20:40 -07:00
framework Merge branch 'master' into StudioProjectCompat 2017-09-28 10:21:49 -07:00
node_modules CB-13323 Updated checked-in node_modules 2017-09-25 11:17:24 -07:00
spec Merge branch 'master' into StudioProjectCompat, fixing conflicts, need 2017-10-18 11:04:44 -07:00
test Add a node and npm package.json script for running java unit tests. Include them in the top-level npm test script. Run java unit tests in travis. Small refactor in gradlebuilder to support building gradle wrapper more easily. Don't explicitly build gradlew on appveyor CI as now npm test will do it for you. 2017-09-14 09:57:37 -07:00
.eslintignore CB-12895 : eslint ignoring cordova.js 2017-09-26 17:15:30 -07:00
.eslintrc.yml CB-12895 : added eslint and removed jshint 2017-06-23 08:07:07 -07:00
.gitattributes CB-9836 Add .gitattributes to prevent CRLF line endings in repos 2015-11-12 18:34:41 +03:00
.gitignore CB-12950: lots of tweaks for end-to-end test runs, especially on CI: 2017-06-27 15:59:16 -05:00
.ratignore CB-12609: added missing license headers 2017-03-28 15:03:47 -07:00
.reviewboardrc Add a .reviewboardrc file to make using post-review easier. 2013-05-21 12:35:47 -04:00
.travis.yml Add a node and npm package.json script for running java unit tests. Include them in the top-level npm test script. Run java unit tests in travis. Small refactor in gradlebuilder to support building gradle wrapper more easily. Don't explicitly build gradlew on appveyor CI as now npm test will do it for you. 2017-09-14 09:57:37 -07:00
appveyor.yml Add a node and npm package.json script for running java unit tests. Include them in the top-level npm test script. Run java unit tests in travis. Small refactor in gradlebuilder to support building gradle wrapper more easily. Don't explicitly build gradlew on appveyor CI as now npm test will do it for you. 2017-09-14 09:57:37 -07: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 CB-13404: add android-versions to bundledDependencies. Ignore best emulator selection when parsed AVD information does not include API level in the target 2017-10-05 15:17:31 -05:00
README.md CB-12423: make explicit JDK 1.8 or greater is needed in the README. 2017-07-14 11:13:52 -05:00
RELEASENOTES.md CB-13323 Updated RELEASENOTES and Version for release 6.3.0 2017-09-25 11:35:59 -07:00
VERSION Set VERSION to 6.4.0-dev (via coho) 2017-09-25 11:37:51 -07:00

Build status Build Status codecov.io

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).

⚠️ Report issues on the Apache Cordova issue tracker

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"

Running the Native Tests

The test/ directory in this project contains an Android test project that can be used to run different kinds of native tests. Check out the README contained therein for more details!