Go to file
2017-06-14 09:57:28 -07:00
.github CB-11921 - Add github pull request template 2016-10-04 21:49:55 -07:00
bin This is probably a bad idea, but we need to split the gradle files into legacy and new style 2017-06-14 09:57:28 -07:00
cordova-js-src CB-11880 android: Fail-safe for cordova.exec() 2016-10-12 15:20:40 -07:00
framework Adding conditional code into Gradle, this is a bit dirty since we can't explicitly test it but we'll just have to rely on jasmine 2017-06-14 09:57:28 -07:00
node_modules CB-12697 Updated checked-in node_modules 2017-04-24 21:56:28 -07:00
spec Start of GradleBuilder.js specs - puts it on the code coverage radar. 2017-05-02 15:31:26 -07:00
test CB-12859: document how to run the native tests. add a README to the test/ project. 2017-06-06 14:37:57 -05:00
.gitattributes CB-9836 Add .gitattributes to prevent CRLF line endings in repos 2015-11-12 18:34:41 +03:00
.gitignore CB:12018 : added dev dependencies to gitignore 2017-01-17 09:38:14 -08:00
.jshintignore CB-10729 Move plugin handlers tests for into platform's repo 2016-03-01 11:31:14 +03:00
.jshintrc CB-8410 Enable jshint for Android platform 2015-02-03 15:21:56 -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 CB-12524: Workaround for obsolete gradle on integration servers 2017-03-13 13:51:37 -07:00
appveyor.yml CB-12617 : removed node0.x support for platforms and added engineStrict 2017-05-25 14:09:55 -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-12762 : pointed package.json repo items to github mirrors instead of apache repos site 2017-06-07 09:28:22 -07:00
README.md CB-12859: document how to run the native tests. add a README to the test/ project. 2017-06-06 14:37:57 -05:00
RELEASENOTES.md CB-12746: updated release notes for impending 6.2.3 release, since some of the reported changes did not make it into 6.2.2. 2017-05-02 16:04:20 -07:00
VERSION Set VERSION to 6.3.0-dev (via coho) 2017-03-28 15:18:35 -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!