Mirror of Apache Cordova Android
Java JavaScript HTML Batchfile CSS
Permalink
Failed to load latest commit information.
.github CB-11921 - Add github pull request template Oct 5, 2016
bin Update JS snapshot to version 6.3.0-dev (via coho) Mar 28, 2017
cordova-js-src CB-11880 android: Fail-safe for cordova.exec() Oct 12, 2016
framework Update JS snapshot to version 6.3.0-dev (via coho) Mar 28, 2017
node_modules CB-12609: checking in updated node_modules Mar 28, 2017
spec CB-12546: more specs for android_sdk and check_reqs. added fixtures f… Mar 20, 2017
test CB-12609: added missing license headers Mar 28, 2017
.gitattributes CB-9836 Add .gitattributes to prevent CRLF line endings in repos Nov 12, 2015
.gitignore CB:12018 : added dev dependencies to gitignore Jan 17, 2017
.jshintignore CB-10729 Move plugin handlers tests for into platform's repo Mar 1, 2016
.jshintrc CB-8410 Enable jshint for Android platform Feb 3, 2015
.ratignore CB-12609: added missing license headers Mar 28, 2017
.reviewboardrc Add a .reviewboardrc file to make using post-review easier. May 21, 2013
.travis.yml CB-12524: Workaround for obsolete gradle on integration servers Mar 13, 2017
CONTRIBUTING.md CB-9800 Fixing contribute link. Oct 23, 2015
LICENSE Fixed line endings Oct 20, 2015
NOTICE Checked the notice file, updating to 2015 Oct 26, 2015
README.md CB-10888 Enable coverage reports collection via codecov Mar 16, 2016
RELEASENOTES.md CB-12609 Updated RELEASENOTES and Version for release 6.2.0 Mar 28, 2017
VERSION Set VERSION to 6.3.0-dev (via coho) Mar 28, 2017
appveyor.yml CB-11726 - Update appveyor node versions to 4 and 6, so they will alw… Aug 19, 2016
package.json Set VERSION to 6.3.0-dev (via coho) Mar 28, 2017

README.md

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"