Go to file
Jan Piotrowski 5f44af3757
improve test readme (#582)
<!--
Please make sure the checklist boxes are all checked before submitting the PR. The checklist
is intended as a quick reference, for complete details please see our Contributor Guidelines:

http://cordova.apache.org/contribute/contribute_guidelines.html

Thanks!
-->

### Platforms affected


### What does this PR do?


### What testing has been done on this change?


### Checklist
- [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database
- [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
- [ ] Added automated test coverage as appropriate for this change.
2018-12-04 20:38:31 +01:00
.github CB-11921 - Add github pull request template 2016-10-04 21:49:55 -07:00
bin Rewrite install dir resolution for legacy plugins (#589) 2018-11-28 06:46:45 -05:00
cordova-js-src Remove obsolete check for JellyBean (GH-534) (#544) 2018-11-12 12:06:45 -05:00
framework Silence some deprecation linter warnings 2018-11-20 21:13:02 -08:00
spec Rewrite install dir resolution for legacy plugins (#589) 2018-11-28 06:46:45 -05:00
test improve test readme (#582) 2018-12-04 20:38:31 +01:00
.eslintignore Improve ESLint script 2018-05-19 23:15:15 +02: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 Ignore the whole node_modules folder 2018-09-11 21:20:47 +02:00
.ratignore CB-13912: updated .ratignore to include build diectory 2018-02-20 11:36:55 -08:00
.reviewboardrc Add a .reviewboardrc file to make using post-review easier. 2013-05-21 12:35:47 -04:00
.travis.yml Updates for latest gradle/build tools 2018-11-20 21:12:59 -08:00
appveyor.yml Updates for latest gradle/build tools 2018-11-20 21:12:59 -08:00
CONTRIBUTING.md Remove mention of ICLA from contribution guidelines (#460) 2018-06-29 08:47:34 +08: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 eslint ignore version file (#559) 2018-11-14 20:35:47 -05:00
README.md remove JIRA link 2018-10-04 01:12:02 +02:00
RELEASENOTES.md CB-13912 Updated RELEASENOTES and Version for release 7.1.0 2018-02-21 10:50:50 -08:00
VERSION Set version & VERSION to 8.0.0-dev (coho) 2018-11-14 15:37:22 -05: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).

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!