Go to file
Serge Huijben 1aaba440b5 CB-8768 Fix onActivityResult called before plugins are loaded (after MainActivity gets killed)
situation: one of the plugins launches startActivityForResult and the Android OS decides to kill our MainActivity.
once the launched activity is fulfilled it comes back to our MainActivity, which has to be recreated first.
unfortunately Android calls onActivityResult before our Activity has fully loaded our installed plugins.

close #171
2015-03-31 13:58:22 -04:00
bin CB-8735: Adding link as per Ian's suggestion 2015-03-23 15:54:05 -07:00
cordova-js-src CB-8417 renamed platform_modules into cordova-js-src 2015-02-06 17:35:35 -08:00
framework CB-8768 Fix onActivityResult called before plugins are loaded (after MainActivity gets killed) 2015-03-31 13:58:22 -04:00
spec Fix lint errors breaking travis CI 2015-03-31 10:07:27 -04:00
test CB-8702 Add API for plugins to override shouldInterceptRequest with a stream 2015-03-18 11:02:27 -04:00
.gitignore Add gradlew.bat to .gitignore 2015-02-10 20:14:05 -05:00
.jshintignore CB-8410 Enable jshint for Android platform 2015-02-03 15:21:56 -05:00
.jshintrc CB-8410 Enable jshint for Android platform 2015-02-03 15:21:56 -05:00
.reviewboardrc Add a .reviewboardrc file to make using post-review easier. 2013-05-21 12:35:47 -04:00
.travis.yml CB-8314 Speed up Travis CI (close #148) 2015-01-15 20:36:30 -05:00
CONTRIBUTING.md Close #126 (not-a-problem) 2014-12-10 21:02:57 -05:00
LICENSE Add node_module licenses to LICENSE 2014-07-09 16:08:18 -04:00
NOTICE CB-6630 Delete bundled (and outdated) copy of OkHttp 2014-12-30 23:00:18 -05:00
package.json Fix lint errors breaking travis CI 2015-03-31 10:07:27 -04:00
README.md Remove stale info from README.md (close #156) 2015-02-18 21:37:59 -05:00
RELEASENOTES.md CB-8717 Add note to releasenotes about removal of hidekeyboard and showkeyboard events 2015-03-30 10:33:29 -04:00
VERSION Revert "Delete VERSION file (superseded by package.json)" 2015-01-13 15:35:25 -05:00

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"