Go to file
goffioul 01ab11644c
Don't request focus explicitly if not needed
Requesting the focus explicitly actually makes the child WebView to move the focus to the first visible focusable element on the page. This makes it impossible to simply let the WebView restore the focus to the last focused element, before the activity was paused. To prevent this problem on devices other that the Samsung Galaxy Note 3, only request the focus if necessary (it might as well be possible that the original fix is not needed anymore on newer versions of Android and/or WebView).
2019-06-20 15:28:08 -04:00
.github Add or update GitHub pull request and issue template 2019-02-11 18:36:02 +01:00
bin Do not explicitly require modules from project directory (#713) 2019-04-13 17:34:59 +02:00
cordova-js-src Remove obsolete check for JellyBean (GH-534) (#544) 2018-11-12 12:06:45 -05:00
framework Don't request focus explicitly if not needed 2019-06-20 15:28:08 -04:00
spec Improve Gradle Build Arguments (#699) 2019-04-06 13:28:25 +09:00
test Added Missing License Headers (#669) 2019-02-13 11:35:43 +09: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 .gitignore add package-lock.json (#626) 2019-01-17 19:23:55 -05: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 Improve Gradle Build Arguments (#699) 2019-04-06 13:28:25 +09:00
README.md remove JIRA link 2018-10-04 01:12:02 +02:00
RELEASENOTES.md GH-10 Updated version and RELEASENOTES.md for release 8.0.0 2019-02-13 15:19:45 +09:00
VERSION Set VERSION to 8.1.0-dev (via coho) 2019-02-13 15:22:06 +09: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!