Joe Bowser
021c9c19e8
CB-12895: Temporarily disabling eslint since cordova-js does not have eslint yet.
2017-09-25 14:01:16 -07:00
Joe Bowser
0c475b5ec4
Set VERSION to 6.3.0 (via coho)
2017-09-25 11:37:50 -07:00
Joe Bowser
2a2a11a729
Update JS snapshot to version 6.3.0 (via coho)
2017-09-25 11:37:50 -07:00
Joe Bowser
7203b740fd
CB-13323 Updated RELEASENOTES and Version for release 6.3.0
2017-09-25 11:35:59 -07:00
Joe Bowser
97aab900da
CB-13323 Updated checked-in node_modules
2017-09-25 11:17:24 -07:00
Joe Bowser
dddb2837dd
CB-6936: Merge pull request #304 from uareurapid/master
...
CB-6936: fix crash when calling methods on a destroyed webview
2017-09-15 13:26:21 -07:00
filmaj
1637937664
CB-12981: handle SDK 26.0.2 slightly different AVD list output for Android 8+ AVDs. Would cause "cannot read property replace of undefined" errors when trying to deploy an Android 8 emulator.
2017-09-14 11:26:18 -07:00
filmaj
03144eb160
Add a node and npm package.json script for running java unit tests. Include them in the top-level npm test script. Run java unit tests in travis. Small refactor in gradlebuilder to support building gradle wrapper more easily. Don't explicitly build gradlew on appveyor CI as now npm test will do it for you.
2017-09-14 09:57:37 -07:00
Joe Bowser
53210710ba
Merge pull request #404 from mediathand/maven-repo-fix
...
Update maven repo to include most recent lib versions
2017-09-11 10:04:48 -07:00
Steve Gill
e7a972df77
updated bundled node_modules
2017-09-05 11:04:12 -07:00
Gil Pedersen
cb2f396e33
Update maven repo to include most recent lib versions
2017-08-29 17:27:02 +02:00
Joe Bowser
2377aa7ac2
Merge pull request #403 from infil00p/api26
...
CB-13177: Updating to API Level 26
2017-08-15 14:17:09 -07:00
Joe Bowser
dce3b7ed6c
Merge pull request #402 from macdonst/master
...
Revert CB-12015: initial-scale values less than 1.0 are ignored on Android
2017-08-15 13:22:22 -07:00
Simon MacDonald
5bda4df7fa
Revert CB-12015: initial-scale values less than 1.0 are ignored on Android
2017-08-14 20:57:44 -04:00
Joe Bowser
1a8e36ccd3
CB-13177: Updating to API Level 26
2017-08-14 11:41:46 -07:00
Simon MacDonald
14816c7c81
Merge pull request #399 from macdonst/CB-12730
...
CB-12730: Compat - INTEGRATE
2017-08-11 10:38:06 -04:00
Simon MacDonald
d364f46baa
CB-12730: Compat - INTEGRATE
2017-07-28 08:56:19 -04:00
Nikita Matrosov
2b53c98cf5
CB-12453: Remove unnecessary double quotes from .bat files which are the causes of crash if project path contains spaces
...
this closes #362
2017-07-28 14:23:53 +03:00
Nikita Matrosov
36d07d7a15
CB-13031: Fix bug with case-sensitivity of android-packageName
...
this closes #397
2017-07-28 14:05:53 +03:00
filmaj
458e479681
Trying AppVeyor-supplied workaround for current appveyor time out issues. See http://help.appveyor.com/discussions/problems/7159-builds-timing-out-after-an-hour
2017-07-27 14:33:16 -07:00
filmaj
c3ce2f8a07
Closes #398
2017-07-24 10:11:21 -07:00
Joe Bowser
893356abcd
CB-13034: Fixing eslint error
2017-07-18 14:13:53 -07:00
Darryl Pogue
22645d9158
[CB-10916] Support display name for Android
2017-07-14 17:37:15 -02:30
filmaj
76dd8613ca
CB-12423: make explicit JDK 1.8 or greater is needed in the README.
2017-07-14 11:13:52 -05:00
filmaj
5917d4ef0b
CB-13006: removed create and update end-to-end tests, and instead added more unit test coverage. tweaked code coverage invocation so that we get coverage details on the create.js module. slight changes to the create.js module so that it is slightly easier to test.
2017-07-11 12:54:15 -05:00
filmaj
90053eb9df
CB-12950: lots of tweaks for end-to-end test runs, especially on CI:
...
- rename npm tasks to reflect what they do (npm run unit-tests, npm run e2e-tests). main `npm test` runs linter, unit tests and e2e tests now.
- locked jasmine down to ~2.6.0.
- consolidate gitignores.
- updated travis to run `npm test`. add android sdk installation to appveyor ci run.align android dpendencies across travis and appveyor. have appveyor install gradle. force gradle to version 3.4.1 in appveyor, as that seems to be the only version choco has. explicitly invoke sdkmanager to move license accepting process along.
2017-06-27 15:59:16 -05:00
Nikita Matrosov
540929c6a0
CB-9971: Suppressed unwanted java stderr output when running gradle wrapper
...
this closes #388
2017-06-26 21:17:58 +03:00
filmaj
3ff32092a3
CB-12954 🔪 remove jshint leftovers
2017-06-26 12:26:53 -05:00
Audrey So
55d7cf3865
CB-12895 : updated .eslintrc file in spec dir and set jasmine true and removed root is true
2017-06-23 08:44:08 -07:00
Audrey So
ac4ac935f6
CB-12895 : added .eslintrc files to set up jasmine environment
2017-06-23 08:07:08 -07:00
Audrey So
d83d49d83b
CB-12895 : fixed eslint errors
2017-06-23 08:07:08 -07:00
Audrey So
e36158a0da
CB-12895 : added eslint and removed jshint
2017-06-23 08:07:07 -07:00
Jesse MacFadyen
5cc14b8031
CB-12605 In Windows get Android studio path from the registry
...
This closes #387
2017-06-22 10:55:39 -07:00
Audrey So
3a6e898b12
CB-12762 : pointed package.json repo items to github mirrors instead of apache repos site
...
This closes #383
2017-06-07 09:28:22 -07:00
filmaj
0cc3df3747
CB-12859: document how to run the native tests. add a README to the test/ project.
2017-06-06 14:37:57 -05:00
Joe Bowser
2bc842a2b3
This commit should exist on the Crosswalk Plugin, Close #357
2017-05-29 13:04:17 -07:00
Joe Bowser
1c6f640026
Commit already merged, Close #378
2017-05-29 13:02:35 -07:00
Joe Bowser
6daad829cc
Close #283
2017-05-29 09:53:49 -07:00
Darryl Pogue
7d926822ed
CB-8980: Ensure copied resource-files are cleaned
...
This closes #377
2017-05-25 16:11:20 -07:00
Audrey So
d4dcbb13fc
CB-12617 : removed node0.x support for platforms and added engineStrict
...
This closes #372
2017-05-25 14:09:55 -07:00
filmaj
f396712f59
CB-12847: added bugs entry to package.json.
2017-05-24 00:54:03 +02:00
filmaj
d97250f968
Update JS snapshot to version 6.3.0-dev (via coho)
2017-05-02 16:19:21 -07:00
filmaj
e7e8e95242
Set VERSION to 6.3.0-dev (via coho)
2017-05-02 16:19:19 -07:00
filmaj
d518a655a8
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
filmaj
b6a5844027
CB-12746: decrement working dev version on master to 6.2.4-dev, to align with impending patch release.
2017-05-02 16:04:20 -07:00
filmaj
9d9abea157
Start of GradleBuilder.js specs - puts it on the code coverage radar.
2017-05-02 15:31:26 -07:00
Simon MacDonald
ee1165ea33
CB-12015: initial-scale values less than 1.0 are ignored on Android
...
This closes #376
2017-05-01 11:20:25 -07:00
Joe Bowser
2704ee54cf
This closes #374
2017-05-01 10:51:50 -07:00
Steve Gill
ad01d28351
Set VERSION to 6.3.0-dev (via coho)
2017-04-24 22:05:43 -07:00
Steve Gill
a215c1cf30
CB-12697 Updated RELEASENOTES and Version for release 6.2.2
2017-04-24 22:04:56 -07:00
Steve Gill
cadea2f6c3
CB-12697 Updated checked-in node_modules
2017-04-24 21:56:28 -07:00
filmaj
e13e15d3e9
CB-12640: better handling of unrecognized commands on windows. removed error checking in emulator image listing when shelling out, as we already defensively dont shell out if the program is not on the PATH / not recognized. added additional test for windows unrecognized command errors for target listing. fixed up spying in a test.
2017-04-10 12:12:46 -07:00
filmaj
6ef2f67ae8
CB-12640: flipped avd parsing logic so that it always tries to use avdmanager to retrieve avds first, then falls back to android command if avdmanager cannot be found (and errors with ENOENT). updated tests - and added explicit tests to ensure to shell out to singular forms of sub-commands when executing android
2017-04-10 12:12:46 -07:00
filmaj
765c4ee9f6
CB-12640: support for android sdk tools 26.0.1. simplified target parsing by using avdmanager instead of sdkmanager. flipped target parsing logic so that it always tries to use avdmanager to retrieve targets first, then falls back to android command if avdmanager cannot be found (and errors with ENOENT). updated tests.
2017-04-10 12:12:46 -07:00
Steve Gill
a4103d8dc8
updated version in build.gradle
2017-04-07 10:56:39 -07:00
Steve Gill
8e0f021cad
Set VERSION to 6.3.0-dev (via coho)
2017-04-02 17:43:13 -05:00
Steve Gill
002ab85f76
CB-12627 Updated RELEASENOTES and Version for release 6.2.1
2017-04-02 17:40:35 -05:00
Steve Gill
4a0f69a3f0
CB-12621: reverted elementtree dep to 0.1.6
2017-04-02 17:11:17 -05:00
Steve Gill
8a2e96d995
Update JS snapshot to version 6.3.0-dev (via coho)
2017-03-28 15:23:50 -07:00
Steve Gill
13dbd2f5d4
Set VERSION to 6.3.0-dev (via coho)
2017-03-28 15:18:35 -07:00
Steve Gill
6d084428a8
CB-12609 Updated RELEASENOTES and Version for release 6.2.0
2017-03-28 15:17:52 -07:00
Steve Gill
312efc3878
CB-12609: added missing license headers
2017-03-28 15:03:47 -07:00
Joe Bowser
301faebfcc
CB-12614: Adding headers to tests
2017-03-28 14:27:57 -07:00
Steve Gill
a8af103ff4
CB-12609: checking in updated node_modules
2017-03-27 22:23:09 -07:00
Darryl Pogue
0df50c3f33
CB-8978 Prepare copy resource-files from config.xml
...
This closes #321
2017-03-27 22:13:13 -07:00
Alexander Sorokin
08c80f77a9
CB-12605 Fix a requirements check failure on Windows
2017-03-27 11:47:32 +03:00
Joe Bowser
ea8d65d7fc
CB-12595: Remove the console.log stuff
...
This closes #370
2017-03-24 10:22:11 -07:00
Joe Bowser
e3198b0f6b
CB-12595: Ugly code, but this should find an Android Studio installation and use the sweet gradle center found inside
2017-03-24 10:22:07 -07:00
Josh Jackson
19220de388
testMultipartPopAndEncodeAsJs under newer test system
...
This closes #358
2017-03-22 10:54:48 -07:00
Josh Jackson
52878d6c5b
MultipartMessageTest
2017-03-22 10:54:42 -07:00
Josh Jackson
abfece70c1
Shorter method name
2017-03-22 10:54:41 -07:00
Josh Jackson
33da6e9eb8
Fix encoding of multipart messages.
2017-03-22 10:54:41 -07:00
Joe Bowser
4919a2d2a8
Bumping up the test gradle versions
2017-03-22 10:53:58 -07:00
filmaj
2f2e8a560d
CB-12546: account for quotes when detecting android command error for Windows.
2017-03-20 10:09:46 -07:00
filmaj
884818934f
CB-12546: on create, update the require path for certain helper modules as directory structure differs. big ol TODO dropped as it _is_ kinda weird.
2017-03-20 10:09:45 -07:00
filmaj
1d8e6f53a1
CB-12546: sort detected targets by numerical suffix when reporting most recent version of android sdk target installed.
2017-03-20 10:09:45 -07:00
filmaj
3554267adf
CB-12546: more specs for android_sdk and check_reqs. added fixtures for sdk targets. refactored target listing.
2017-03-20 10:09:45 -07:00
filmaj
f7687a2567
CB-12546: use android_sdk list_targets instead of rewriting the same thing again.
2017-03-20 10:09:45 -07:00
filmaj
ebd4a02d2c
CB-12546: switch to superspawn for shelling out where possible. rework android sdk module to work with new sdk.
2017-03-20 10:09:45 -07:00
filmaj
4a354bba86
CB-12546: based on android command exit code and stdout, conditionally try to invoke avdmanager to list out AVD images. tweak relevant test to match behaviour. small tweak to use exposed methods for checking platform (for easier future stubbing).
2017-03-20 10:08:36 -07:00
filmaj
d40c22441f
CB-12546: move check_reqs to templates directory and update module references.
2017-03-20 10:08:36 -07:00
filmaj
6395eda0c8
CB-12546: emulator specs.
2017-03-20 10:08:36 -07:00
filmaj
eb6ada8091
CB-12546: more robust sdk location detection. ANDROID_HOME now can be set from location of either of adb, android or avdmanager commands. slightly rework logic of infering ANDROID_HOME + setting up PATH to hopefully separate the logic into clearer sections. check_reqs.check_android now validates SDK Tools 25.3.1 binaries/structure. added specs for check_reqs.check_android. move android sdk version script. expose some helper functions as module methods to help with mocking.
2017-03-20 10:08:35 -07:00
filmaj
a7ef686a27
CB-12546: leverage avdmanager if android warns it is no longer
...
useful, which happens in Android SDK Tools 25.3.1.
explicitly set the CWD of the spawned emulator process to workaround a recent google android sdk bug.
rename android_sdk_version.js to android_sdk.js, to better reflect its contents.
have create.js copy over the android_sdk_version batch file.
2017-03-20 10:08:35 -07:00
Alexander Sorokin
e2af492a63
CB-12587 A (not so) quick fix for get_gradle_wrapper() call
2017-03-20 15:22:37 +03:00
Joe Bowser
84de9ee0da
CB-12574 - Bumping Version
...
This closes #368
2017-03-15 13:31:24 -07:00
Joe Bowser
e182e669f0
CB-12524: Put the script in the wrong spot, oops
...
This closes #367
2017-03-13 13:51:37 -07:00
Joe Bowser
a9a28d3e77
CB-12524: Workaround for obsolete gradle on integration servers
2017-03-13 13:51:37 -07:00
Joe Bowser
6a77acdbf2
CB-12524: Thwarted by JSHint again, accidentally deleted the wrong message
2017-03-13 13:51:37 -07:00
Joe Bowser
028725468a
CB-12524: Removing the downgrade test, because thanks to Google's Tool Change, this will forever fail.
2017-03-13 13:51:37 -07:00
Joe Bowser
9dbffa6ee8
CB-12524: Forgot to check for the android command on the target check
2017-03-13 13:51:37 -07:00
Joe Bowser
2d3f3cae13
CB-12524: Set Gradle to always build in the project directory since our tests don't run scripts from the project directory by default
2017-03-13 13:51:36 -07:00
Joe Bowser
fb9f0f3ee8
CB-12524: I need travis to install a wrapper on this, since travis fails the gradle check
2017-03-13 13:51:36 -07:00
Joe Bowser
ab276504fd
CB-12524: Windows functionality for Gradle execution
2017-03-13 13:51:36 -07:00
Joe Bowser
3cc4e5b440
CB-12524: This now fetches the template from inside of the Android Studio directory, and falls back to a locally installed Gradle instance
2017-03-13 13:51:36 -07:00
Joe Bowser
b2664bc469
CB-12524: Test distributing a wrapper in the framework directory
2017-03-13 13:51:36 -07:00
Bharath Hariharan
7d5afdebe1
Updating version
...
This closes #364
2017-02-27 16:03:44 -08:00
Joe Bowser
3bbc7fb328
CB-12465: Writing new JUnit Test Instrumentation to replace tests and retire problmatic tests
...
This closes #363
2017-02-27 09:28:02 -08:00
Bharath Hariharan
ac6ad2dea1
Adding Binary plugin to class path
...
This closes #361
2017-02-22 16:47:59 -08:00
Bharath Hariharan
0b116f1b5c
Updating Maven settings
2017-02-14 16:31:27 -08:00
Bharath Hariharan
acdb934ef9
Add the ability to publish to Bintray jCenter repo
2017-02-13 16:37:39 -08:00
Steve Gill
5591a1a4e8
Update JS snapshot to version 6.2.0-dev (via coho)
2017-01-26 16:30:33 -08:00
Steve Gill
124574bb3a
Set VERSION to 6.2.0-dev (via coho)
2017-01-26 16:30:31 -08:00
Steve Gill
a2cfaab7f4
CB-12403 Updated RELEASENOTES and Version for release 6.1.2
2017-01-26 15:21:50 -08:00
Joe Bowser
6355425a6f
Change to https by default
2017-01-20 09:31:31 -08:00
audreyso
2d96995801
CB:12018 : added dev dependencies to gitignore
...
This closes #355
2017-01-17 09:38:14 -08:00
audreyso
3fc4daa447
CB-12018 : updated tests to work with jasmine (promise matcher tests commented out for now)
2017-01-11 17:07:17 -08:00
Julio César
c7ff24b983
Closing invalid pull request: close #350
2017-01-10 19:22:44 +01:00
Jesse MacFadyen
3f674faf30
Merge branch 'CB-5968' of https://github.com/sterlingann/cordova-android
2017-01-08 22:42:18 -08:00
Steve Gill
b9ad1b6b26
Update JS snapshot to version 6.2.0-dev (via coho)
2017-01-03 17:45:55 -08:00
Steve Gill
676f0ddc2e
CB-12314 updated release notes for 6.1.1 release
2017-01-03 17:45:15 -08:00
daserge
6c60dc5dc8
CB-12159 Android: Keystore password prompt won't show up
...
This closes #351
2016-12-08 09:51:24 -08:00
Joe Bowser
1af5ade39a
Adding isClean to the spec, this really should have failed a few commits ago
...
This closes #349
2016-12-05 15:32:18 -08:00
Joe Bowser
ad40d33400
Need to pass lint
2016-11-21 16:36:20 -08:00
Joe Bowser
5017e2302b
CB-12169: Check for build directory before running a clean
2016-11-21 14:46:09 -08:00
Joe Bowser
3bfeda4a3b
Updating the timeout due to known travis issues
2016-11-03 11:35:42 -07:00
Jesse MacFadyen
348b1b4dda
Do not test for non-existent build folder
...
This closes #348
2016-11-03 11:23:05 -07:00
Jesse MacFadyen
0fd7e7f040
Fixed AndroidStudio tests to actually run, removed app/src/main/assets/ as a requirement and added app/src/main/res instead, added placeholder for build/ folder, Removed dupe gitignore
2016-11-02 19:46:33 -07:00
Joe Bowser
cfa0fa7243
Update JS snapshot to version 6.2.0-dev (via coho)
2016-11-02 16:32:16 -07:00
Joe Bowser
6a63d9df0a
Set VERSION to 6.2.0-dev (via coho)
2016-11-02 16:32:15 -07:00
Jesse MacFadyen
36646eb527
rewrite to use retro js
...
This closes #347
2016-11-02 16:30:14 -07:00
Joe Bowser
48940bf4c0
CB-12109 Updated RELEASENOTES and Version for release 6.1.0
2016-11-02 14:29:49 -07:00
Joe Bowser
5346a386f7
CB-12108: Updating gradle files to work with the latest version of Android Studio, since a patch release breaks this, and Gradle complains if you add the plus
2016-11-02 14:19:21 -07:00
Joe Bowser
b3201ad073
CB-12102: Bump travis to build to API 25
2016-11-01 16:39:09 -07:00
Joe Bowser
35b0ba6d07
Bumping up the version
2016-11-01 16:39:09 -07:00
Joe Bowser
3c087c6716
CB-12101: Spot fix to go into next patch release
...
This closes #346
2016-11-01 16:37:39 -07:00
Darryl Pogue
854946e313
CB-12077: Fix paths for Android icons/splashscreens
...
This closes #343
2016-10-31 11:31:26 -07:00
Sterling
d6a1d7a913
updated xxhdpi mipmap icon to 144x144
2016-10-28 21:57:54 -07:00
Sterling
700b425774
replaced with unstretched images
2016-10-28 17:20:56 -07:00
Sterling
e31634b0fb
created directories and corresponding images for xxhdpi and xxxhdpi, both drawables and mipmaps
2016-10-28 17:03:45 -07:00
Steve Gill
1f06176149
added framework/build to .ratignore
2016-10-24 11:54:00 -07:00
Joe Bowser
e628026cf0
Fix for broken testUrl test
2016-10-20 12:47:33 -07:00
Joe Bowser
3a512c300e
Last minute change of test targets
2016-10-20 12:25:47 -07:00
Joe Bowser
7f9e7c73ab
Update JS snapshot to version 6.1.0-dev (via coho)
2016-10-20 11:49:04 -07:00
Joe Bowser
3e7be6cc0f
Set VERSION to 6.1.0-dev (via coho)
2016-10-20 11:49:03 -07:00
Joe Bowser
81dfe96355
CB-12038 Updated RELEASENOTES and Version for release 6.0.0
2016-10-20 11:48:20 -07:00
Joe Bowser
efa23bd39b
Updating the gradle build for test to use the latest
2016-10-20 11:25:06 -07:00
Joe Bowser
6aa4b1b301
CB-11083: Fixing syncronous file check and future-proofing the JS for Travis
...
This closes #323
2016-10-19 09:49:42 -07:00
Joe Bowser
304cbef5ed
CB-11083: Reading files to check for CordovaLib dependency, if so, we exclude CordovaLib to be safe
2016-10-19 09:49:39 -07:00
Joe Bowser
263968e019
CB-11083: Plugin build script for dependencies without a gradle file
2016-10-19 09:49:39 -07:00
Joe Bowser
c05521e55a
CB-11083: The GradleBuidler can tell the difference between a Cordova Plugin Framework and a regular framework based on the name
2016-10-19 09:49:39 -07:00
Joe Bowser
2f3c71feaa
CB-11083 Fix to deal with custom frameworks with their own Gradle configuration
2016-10-19 09:49:39 -07:00
Steve Gill
0b710a86a9
CB-12003 updated node_modules
2016-10-17 10:50:30 -07:00
Martin Bektchiev
2e37d2c253
CB-11771 Deep symlink directories to target project instead of linking the directory itself
...
When installing a plugin with custom library using the --link option the whole directory is symlinked and temporary
files leak into the original plugin directory on build. This leads to broken builds if the same plugin is linked in
2 projects targeting different Cordova versions.
This closes #326
2016-10-13 18:39:27 -07:00
Steve Gill
d7c1dc5517
updated .gitignore to include dev dep
2016-10-13 18:29:22 -07:00
Simon MacDonald
77b9fd62a7
Fix tab/space issue
2016-10-12 22:21:14 -04:00
Thomas Raffray
f838db4e18
CB-11880 android: Fail-safe for cordova.exec()
...
- added preliminary sanity check on args variable
- replication of iosExec() behaviour
- allows to call cordova.exec() without args variable
This closes #334
2016-10-12 15:20:40 -07:00
Jesse MacFadyen
b2d7124424
CB-11999 add message, catch exception if require fails
2016-10-12 11:48:06 -07:00
Joe Bowser
2532c4a39e
This closes #308
2016-10-11 15:50:54 -07:00
Joe Bowser
be19585c68
Merge branch 'fix-appname-apostrophe' of https://github.com/revolunet/cordova-android
...
Using a merge commit to merge in a PR
This closes #272
2016-10-11 15:49:20 -07:00
Darryl Pogue
ca0cbad1c7
CB-8722 - Move icons from drawable to mipmap
...
This closes #340
2016-10-11 13:29:15 -07:00
Joe Bowser
fb53452d37
Unused requires cause AppVeyor to not work
...
This closes #339
2016-10-07 18:14:36 -07:00
Joe Bowser
b5246f3f09
Clean also wipes out the www directory, which was causing the strange errors that were happening when building
2016-10-07 18:14:36 -07:00
Joe Bowser
4be413af79
Removing try/catch now that we have the new tests and committing latest
2016-10-07 18:14:36 -07:00
Alexander Sorokin
5db2de95f5
CB-11964 Call clean after plugin install and mock it in tests
2016-10-07 18:14:36 -07:00
Joe Bowser
6418add83d
Did a try/catch to deal with the unit tests vs actual project environment, code duplication is needed because of builderEnv
2016-10-07 18:14:36 -07:00
Joe Bowser
7d26c51da6
CB-11964: Do a clean when installing a plugin to et around the bug
2016-10-07 18:14:36 -07:00
Shazron Abdullah
dcada79e06
CB-11921 - Add github pull request template
2016-10-04 21:49:55 -07:00
Simon Pireyn
37384c583d
CB-11935 Does a best-effort attempt to pause any processing that can be paused safely, such as animations and geolocation.
...
This closes #337
2016-10-03 16:16:52 -07:00
Joe Bowser
9544783b5e
CB-11640: Fixing check_reqs.js so it actually works
...
This closes #338
2016-10-03 14:41:14 -07:00
Joe Bowser
eaf9b319ca
Tweaking the regex
2016-10-03 14:41:14 -07:00
Joe Bowser
47abde2f8d
CB-11640: Changing requirements check to ask for Java 8
2016-10-03 14:41:14 -07:00
daserge
30325e4f32
CB-11869 Fix cordova-js android exec tests
...
Useragent Regexp result is null in node environment - add a check for it
Updated cordova-js
Increased e2e create specs timeout
2016-09-29 12:24:52 +03:00
Joe Bowser
9cf38f8705
CB-11907: Bumping Gradle to work with Android Studio 2.2 and the Gradle Plugin, I should have done this last commit
...
This closes #336
2016-09-26 15:28:02 -07:00
Joe Bowser
7de4803e21
CB-11907: Bumping Gradle to work with Android Studio 2.2 and the Android Gradle Plugin
2016-09-26 15:06:44 -07:00
Joe Bowser
9586a7ddcd
CB-11907: Bumping Android Gradle Plugin version to 2.2 so this works with Android Studio
2016-09-26 15:06:44 -07:00
Simon MacDonald
a4f6c8bf7b
Enable background start of Cordova Android apps
...
This closes #322
2016-09-23 09:12:18 -07:00
Anis Kadri
f5ab6fc602
adding tests for Android Studio
...
This closes #331
2016-09-20 19:54:38 -07:00
Anis Kadri
222fb1c0e7
adding tests for AndroidStudio
2016-09-20 19:54:34 -07:00
Anis Kadri
511fe7c51e
fixing jshint issues
2016-09-20 19:54:34 -07:00
Anis Kadri
acb3cc80b7
First attempt at supporting Android Studio
2016-09-20 19:54:34 -07:00
Pierre-Alexis de Solminihac
23fd0982b0
replace Integer.parseInt with BigInteger so that you can use longer Android version codes
...
I used to have DNS like version codes (YYYYmmmddXX format) for my apps builds, and I can't go back in older apps because Google Play wont allow me to upload inferior version codes, so I thing we should to use BigInteger instead of Integer.parseInt
This closes #298
2016-09-12 10:39:34 -07:00
Joe Bowser
d2a159d2dc
Close #280
2016-09-09 14:23:33 -07:00
Joe Bowser
dc0bfeb0cc
CB-11828: Adding dirty userAgent checking to see if we're running Jellybean or not for bridge modes
2016-09-09 12:05:19 -07:00
Joe Bowser
deea0f7e4f
CB-11828: Switching default bridge back to ONLINE_BRIDGE
2016-09-09 12:05:19 -07:00
Simon MacDonald
3a33f4c0a6
Add gradle build flag to enable dex in process for large projects
2016-09-08 19:00:55 -04:00
Or Arnon
312872adaf
added ability for cordova activity to be viewed in a real full screen regardless of android version (as was the case in previous cordova versions)
...
This closes #279
This closes #218
PR #218 didn't cleanly merge
2016-09-08 11:02:17 -07:00
Joe Bowser
ba5e3a81e0
Updating travis
...
This closes #328
2016-09-06 10:42:59 -07:00
Joe Bowser
bf5c32d780
Adding Static Method to CoreAndroid Plugin so we can get the BuildConfig data from other plugins
2016-09-06 10:42:51 -07:00
Joe Bowser
d3cb38de29
Bump Target and Min API levels
2016-09-06 10:42:51 -07:00
Simon MacDonald
047ed52d60
Make evaluateJavaScript brige default
...
This closes #320
2016-09-01 08:50:29 -07:00
Joe Bowser
bb96bb9a88
Creating an evaluateJavascript branch
2016-09-01 08:49:32 -07:00
Joe Bowser
0ee672d2b0
Close #253
...
I can't reproduce this issue, and the issue has been closed for a while,
closing the PR makes sense
2016-08-31 14:40:10 -07:00
dheeran1
2a8a6b3970
Update CoreAndroid.java
...
No modifier (package-private) class to public class
This closes #293
2016-08-30 12:55:12 -07:00
Joe Bowser
5dbc51da59
Close #262
2016-08-29 15:51:32 -07:00
Joe Bowser
f1a6d938cd
Close #243
2016-08-29 15:50:06 -07:00
Joe Bowser
991a2b1873
Close #242
2016-08-29 15:49:03 -07:00
Joe Bowser
172c01561b
Close #227
2016-08-29 15:48:26 -07:00
Joe Bowser
b2f061cbaf
Close #219
2016-08-29 15:47:44 -07:00
Joe Bowser
1f1b2977a4
Close #185
2016-08-29 15:46:23 -07:00
Simon MacDonald
4a0a7bc424
Cordova-Android should use org.apache.cordova.LOG for logging
...
* Read LogLevel preference from config.xml
* Replace Log with LOG
* Add addition warning method to LOG
2016-08-22 13:19:51 -04:00
Shazron Abdullah
8fbb6d7c62
CB-11727 - travis ci setup is still using 0.10.32 node
...
This closes #325
2016-08-19 15:50:38 -07:00
Shazron Abdullah
0299467831
CB-11726 - Update appveyor node versions to 4 and 6, so they will always use the latest versions
...
This closes #324
2016-08-19 15:49:56 -07:00
Steve Gill
2efe240617
updated bundled cordova-common to 1.4.1
2016-08-16 13:23:10 -07:00
Vladimir Kotikov
ed543dc648
Close invalid PRs
...
This closes #317 , closes #318
2016-08-11 14:53:22 +03:00
Szymon Drosdzol
db6295c917
CB-11683 Fixed linking to directories during plugin installation.
...
This closes #322
2016-08-11 14:47:36 +03:00
akilawickey
d54a42f0f0
fixed CB-11078 Empty string for BackgroundColor preference crashes application
...
This closes #316
2016-08-02 22:38:58 -07:00
Steve Gill
74ae6651c8
Update JS snapshot to version 5.3.0-dev (via coho)
2016-07-26 14:57:29 -07:00
Steve Gill
f33f352501
Set VERSION to 5.3.0-dev (via coho)
2016-07-26 14:57:28 -07:00
Steve Gill
39c17e71ef
CB-11626 Updated RELEASENOTES and Version for release 5.2.2
2016-07-26 13:06:08 -07:00
Steve Gill
081637134f
updated cordoova-common to 1.4.0
2016-07-22 12:24:27 -07:00
Joe Bowser
39165a8694
This closes #195
2016-07-11 15:30:10 -07:00
Joe Bowser
ad163ce244
Updaing the gradle for the tests to the latest
2016-07-11 14:26:36 -07:00
Vladimir Kotikov
a7176d39f0
CB-11550 Updated RELEASENOTES for release 5.2.1
2016-07-11 14:06:55 +03:00
Alexander Sorokin
f1c185b771
CB-9489 Fixed "endless waiting for emulator" issue
2016-07-06 15:12:36 +03:00
Steve Gill
103e1e8d24
Update JS snapshot to version 5.3.0-dev (via coho)
2016-06-29 15:04:55 -07:00
Steve Gill
30198c4bdd
Set VERSION to 5.3.0-dev (via coho)
2016-06-29 15:04:55 -07:00
Steve Gill
841f02f43f
CB-11444 Updated RELEASENOTES and Version for release 5.2.0
2016-06-29 15:04:55 -07:00
Joe Bowser
a5e9861440
Close #288
2016-06-29 14:48:50 -07:00
Vivek Kiran
d69698c23f
Update plugin-build.gradle. This closes #312
2016-06-29 14:40:20 -07:00
Vivek Kiran
d763f14ffe
CB-11481: android-library is deprecated use com.android.library instead
2016-06-29 12:10:51 -07:00
Joe Bowser
22918152cc
Close #178
2016-06-28 10:49:49 -07:00
Joe Bowser
1fcee242dc
Close #311
2016-06-27 16:00:39 -07:00
Joe Bowser
3f99c15338
Close #290
2016-06-27 15:58:49 -07:00
Joe Bowser
f496f015b6
Close #275
2016-06-27 15:58:27 -07:00
Joe Bowser
5e7e9d5b6c
Close #266
2016-06-27 15:57:47 -07:00
Joe Bowser
8bd4ca49a8
Close #225
2016-06-27 15:54:26 -07:00
Joe Bowser
d33f7e08a8
We already implemented this, Close #222
2016-06-27 15:53:36 -07:00
Joe Bowser
d46ad592b5
Close #196
2016-06-27 15:53:00 -07:00
Joe Bowser
eda765453b
Close #183
2016-06-27 15:50:51 -07:00
Joe Bowser
b295fc6687
Close #181
2016-06-27 15:49:10 -07:00
Joe Bowser
0959608ab9
Close #177
2016-06-27 15:46:23 -07:00
Joe Bowser
6db94dbb9a
Close #172
2016-06-27 15:41:59 -07:00
Joe Bowser
04a3c9d9ee
Adding mavenCentral just in case
...
This closes #309
2016-06-09 10:50:00 -07:00
Joe Bowser
db4d1f5768
CB-11383: Update to gradle for using jcenter and correct Application plugin
2016-06-06 11:21:30 -07:00
Steve Gill
81d6219663
CB-11365 fixed plugin rm issue with emit being undefined
2016-06-02 11:32:21 -07:00
Jason Ginchereau
3a1b4ffcb8
Use platform config.xml for clean
...
This closes #295
2016-05-31 10:27:40 -07:00
Jason Ginchereau
d6fe1a65eb
Bundle updated node modules
2016-05-31 10:27:39 -07:00
Jason Ginchereau
72bbe9fdf0
CB-11117: Use FileUpdater to optimize prepare for android platform
2016-05-31 10:27:37 -07:00
Tony Homer
d125ece9e9
CB-10096: Upgrade test project to Gradle Plugin 2.1.0
...
This closes #306
2016-05-25 14:49:13 -07:00
Tony Homer
ecb99c963d
CB-11292 fix broken MessageChannel after plugins are recreated
...
This closes #307
2016-05-25 14:49:13 -07:00
Richard Knoll
9738079c42
CB-11259: Improving build output
...
This closes #305
2016-05-17 13:31:12 -07:00
Joe Bowser
e9e27ca47c
CB-10096: Upgrading to Gradle Plugin 2.1.0
2016-05-09 10:59:36 -07:00
Nikhil Khandelwal
5d21fb26e6
CB-11198 Skip android target sdk check. This closes #303 .
2016-05-06 10:44:14 -07:00
PC Dreams (Paulo Cristo)
bcf3f8611a
fix crash when calling methods on a destroyed webview
2016-05-04 08:42:14 +01:00
Vladimir Kotikov
d351e316bf
CB-11138 Reuse PluginManager from common to add/rm plugins
...
This closes #301
2016-04-29 15:07:05 +03:00
Vladimir Kotikov
dc6384d063
CB-11138 Bump cordova-common to 1.2.0
2016-04-29 15:07:01 +03:00
daserge
914e2fa35f
CB-11163 Android Builds are failing in CI
...
CB-11133 Handle android emulator start failure (reverted from commit abcaee24f9 )
2016-04-28 17:25:39 +03:00
Nikhil Khandelwal
8b96081579
CB-11153 Move to gradle version 2.13
...
This closes #299
2016-04-26 14:56:02 -07:00
Nikhil Khandelwal
f3e0623d1d
CB-11153 Use Gradle 2.8 correctly for building Android projects
2016-04-26 14:55:55 -07:00
daserge
abcaee24f9
CB-11133 Handle android emulator start failure
2016-04-26 19:54:34 +03:00
daserge
8951660393
CB-11132 Fix Error: Cannot read property 'match' of undefined in cordova-android emulator.js
2016-04-21 15:40:33 +03:00
Nikhil Khandelwal
e4ecbad3cb
Add simple log for package name being deployed
2016-04-20 09:36:02 -07:00
daserge
40a740b45c
CB-11015 Error adding plugin with gradle extras
2016-04-18 13:20:25 +03:00
Vladimir Kotikov
9af7f506f0
CB-11095 Fix plugin add/removal when running on Node v.010
2016-04-18 12:26:39 +03:00
Vladimir Kotikov
9b8558dbde
CB-11022 Duplicate www files to both destinations on plugin operations
...
This closes #289
2016-04-14 12:03:44 +03:00
daserge
d28ca67edb
CB-10964 Handle build.json file starting with a BOM. This closes #286
2016-04-08 15:32:04 -07:00
Omar Mefire
0deaba0920
Revert "CB-10881: Logging to further investigations"
...
This reverts commit 1b43bc99a1 .
2016-04-06 10:21:40 -07:00
Joe Bowser
bcb10ba6da
Modified build.gradle so that the tests run again
2016-04-04 14:14:57 -07:00
Richard Knoll
ef268e2320
CB-10963: Handle overlapping permission requests from plugins
...
This closes #285
2016-03-29 15:14:41 -07:00
daserge
d9814c5542
CB-8582 Obscure INSTALL_FAILED_VERSION_DOWNGRADE error when installing app
2016-03-28 13:22:22 +03:00
daserge
dd3b9dd01c
CB-10862 Cannot set minsdkversion
2016-03-28 11:35:40 +03:00
Omar Mefire
1b43bc99a1
CB-10881: Logging to further investigations
2016-03-25 08:57:09 -07:00
Joe Bowser
eccde6c0c0
CB-10896: We never enabled cookies on the WebView proper
2016-03-22 12:45:23 -07:00
Vladimir Kotikov
69a2a5b551
CB-10837 Support platform-specific orientation on Android
...
Remove processing of "orientation" preference and let
user to specify any platform-specific value for Android
This closes #281
2016-03-21 18:30:20 +03:00
daserge
bc9e895e25
CB-10600 'cordova run android --release' does not use signed and zip-aligned version of APK
...
De-prioritize unsigned builds
Adds an actionable hint for INSTALL_PARSE_FAILED_NO_CERTIFICATES error
Removes filtering by architecture when not specified
2016-03-18 08:59:59 +03:00
Roberto Andrade
457c5b8b3b
CB-9710: Fixing issues parsing android avd list output for certain AVDs which resulted in them not being included in the selection process even if they are the best match.
...
This closes 221
2016-03-16 09:32:24 -07:00
Vladimir Kotikov
9f1aedb56d
CB-10888 Enable coverage reports collection via codecov
2016-03-16 17:42:01 +03:00
Julien Bouquillon
2cefb42559
fix issue with app_name containing apostrophes
2016-03-14 14:01:43 +01:00
Vladimir Kotikov
a048aa94ec
CB-10846 Add Travis and AppVeyor badges to readme
2016-03-11 13:35:14 +03:00
Vladimir Kotikov
27d359bd43
CB-10846 Add AppVeyor configuration
2016-03-11 13:03:18 +03:00
Julien Bouquillon
456b4801af
add JIRA issue tracker link. This closes #213
2016-03-11 11:40:00 +03:00
daserge
82582e5a5b
CB-10749 Use cordova-common.CordovaLogger in cordova-android
...
Added -d shorthand to all platform scripts
2016-03-09 18:54:05 +03:00
Byoungro So
18e81c4b90
CB-10673 fixed conflicting plugin install issue with overlapped <source-file> tag. Add --force flag. This closes #264 .
2016-03-07 23:02:19 -08:00
Joe Bowser
bad0034e5d
CB-8976: I wish there was an easier way to test gradle stuff then check it in without having to remember to delete imports
...
This closes #270
2016-03-04 09:53:01 -08:00
Joe Bowser
99d5ff7347
CB-8976: Accidentally left in the crosswalk build from when I was experimenting with this file
2016-03-04 09:53:00 -08:00
Joe Bowser
dc579417fe
CB-8976: Removing the auto-version for non-Crosswalk applications
2016-03-04 09:53:00 -08:00
daserge
fe906dabda
CB-10768 Use cordova-common.superspawn in GradleBuilder
2016-03-03 21:12:28 +03:00
Vladimir Kotikov
8ab75e7109
CB-10729 Move plugin handlers tests for into platform's repo
2016-03-01 11:31:14 +03:00
daserge
aa2b3d3da1
CB-10669 cordova run --list cannot find 'adb'
2016-02-26 13:29:26 +03:00
Byoungro So
0a1b71f125
CB-10660 fixed the exception when removing a non-existing directory. This closes #261
2016-02-26 10:40:33 +03:00
Steve Gill
757a3685f2
Update JS snapshot to version 5.2.0-dev (via coho)
2016-02-24 11:50:08 -08:00
Steve Gill
fd2c3c9857
Set VERSION to 5.2.0-dev (via coho)
2016-02-24 11:50:06 -08:00
Steve Gill
84477ff212
CB-10687 Updated RELEASENOTES and Version for release 5.1.1
2016-02-24 11:49:48 -08:00
Steve Gill
1d7ccaece6
updated cordova-common dependnecy to 1.1.0
2016-02-24 09:50:07 -08:00
daserge
ce2525d4d8
CB-10628 Fix emulate android --target
...
Added a test case
2016-02-18 21:27:40 +03:00
Vladimir Kotikov
7be9e880c2
CB-10618 Handle gradle frameworks on plugin installation/uninstallation
...
This closes #259
2016-02-17 17:56:09 +03:00
riknoll
7233931681
CB-10510: Add an optional timeout to emu start script
...
The script used to wait forever for the emulator to boot.
If the emulator got stuck, it would never terminate.
This timeout is being added to support cordova-medic and
the CI.
2016-02-11 13:37:00 -08:00
riknoll
d7e111fb71
CB-10498: Resume event should be sticky if it has a plugin result
2016-02-03 13:25:56 -08:00
Tony Homer
2ac191fbb8
fix HtmlNotFoundTest so that it passes when file not found is handled correctly
...
This Closes #256
2016-02-01 16:11:17 -05:00
Carlos Santana
088140aca4
CB-10472 NullPointerException: org.apache.cordova.PluginManager.onSaveInstanceState
...
check if pluginManager is null before using it
This closes #255
2016-01-29 13:19:00 -05:00
Vladimir Kotikov
e08d0671ab
CB-10138 Adds missing plugin metadata to plugin_list module. This closes #254
2016-01-28 12:45:19 +03:00
Dimitar Kerezov
7669378c6e
CB-10443 Pass original options instead of remaining
...
Nopt parses all options regardless of what is passed as "knownOpts". This leaves the remain property an emtpy array.
This ultimately leads to a bug in the parseOpts function where the options undergo a second parsing from nopt.
The end result is - this options are not respected at all..
This closes #248
2016-01-28 11:55:29 +03:00
Dimitar Kerezov
1494082a2a
CB-10443 Fix this.root null reference
...
parseOpts function referenced this.root but the this object is not the new Api as expected. This leads to an exception upon calling path.relative(this.root, ...).
2016-01-28 11:55:15 +03:00
Vladimir Kotikov
233c2bd882
CB-10421 Fixes exception when calling run script with --help option
2016-01-26 14:56:29 +03:00
Steve Gill
9c4f09a50a
updated .gitignore
2016-01-22 11:59:43 -08:00
Vladimir Kotikov
89d982a8e4
CB-10406 Fixes an exception, thrown when building using Ant. This closes #250
2016-01-22 13:29:50 +03:00
Vladimir Kotikov
9d3ee3d56e
CB-10157 Uninstall app from device/emulator only when signed apk is already installed
2016-01-22 12:36:48 +03:00
Steve Gill
44421bbc79
added missing node_modules
2016-01-20 17:07:49 -08:00
Steve Gill
320558a782
Update JS snapshot to version 5.2.0-dev (via coho)
2016-01-20 16:18:53 -08:00
Steve Gill
9ef7ddbf20
Set VERSION to 5.2.0-dev (via coho)
2016-01-20 16:18:52 -08:00
Steve Gill
603f994f3f
Updated RELEASENOTES and Version for release 5.1.0
2016-01-20 15:49:00 -08:00
Nikhil Khandelwal
ada35e0e00
Fix jshint issues
2016-01-19 12:01:44 -08:00
Nikhil Khandelwal
fc778006ef
CB-10386 Add android.useDeprecatedNdk=true to support NDK in gradle
2016-01-19 11:36:39 -08:00
Joe Bowser
11760afddd
CB-8864: Fixing this to mitigate CB-8685 and CB-10104
2016-01-12 10:39:55 -08:00
Joe Bowser
d78ae309f1
CB-10105: Spot fix for tilde errors on paths.
2016-01-11 15:53:00 -08:00
Darryl Pogue
73fd9e4dfa
Update theme to Theme.DeviceDefault.NoActionBar
...
This uses the device system theme instead of the old Gingerbread-era theme for dialogs and alerts.
Available as of API 14, which is now the minSDK version for cordova-android.
This closes 245
2016-01-04 12:31:56 -08:00
Darryl Pogue
fb9cf60c41
CB-10014: Set gradle applicationId to package name.
...
This closes 247
2016-01-04 12:18:55 -08:00
Keith Wong
b6a329d479
CB-9949: Fixing menu button event not fired in Android
...
This closes 246
2015-12-16 13:25:19 -08:00
Joe Bowser
70bc7b39b7
CB-9479: Fixing the conditionals again, we should be more vigilant on the gradle versions.
2015-12-07 15:03:02 -08:00
Vladimir Kotikov
03777067cd
CB-10112 Parse additional CLI arguments properly. This closes #241
2015-12-03 13:54:59 +03:00
riknoll
f5271431fb
CB-8917: New Plugin API for passing results on resume after Activity destruction
2015-12-02 09:49:49 -08:00
Vladimir Kotikov
c30eeee5d8
CB-9971 Suppress gradlew _JAVA_OPTIONS output during build
2015-11-20 11:57:18 +03:00
daserge
dac02bef8c
CB-9836 Add .gitattributes to prevent CRLF line endings in repos
...
Normalizes plist line endings to be LF
github: close #231
2015-11-12 18:34:41 +03:00
Alexander Sorokin
32edaee3a2
CB-9831 CB-9835 CB-9932 Added e2e tests
2015-11-11 14:06:43 +03:00
Steve Gill
ff1c58def4
added node_modules back into .gitignore
2015-11-02 17:08:55 -08:00
Steve Gill
f9372f5578
checked in missing node_module dependencies that are required
2015-11-02 17:07:12 -08:00
Steve Gill
6afc16c33b
Update JS snapshot to version 5.1.0-dev (via coho)
2015-11-01 23:43:03 -08:00
Steve Gill
74a3d2028f
Set VERSION to 5.1.0-dev (via coho)
2015-11-01 23:43:00 -08:00
Steve Gill
dfe468f335
CB-9922 Updated RELEASENOTES and Version for release 5.0.0
2015-11-01 23:41:46 -08:00
Steve Gill
4f7721b405
updated node_modules
2015-10-30 19:43:08 -07:00
TyIsI
3abd12aee3
Update CordovaWebViewEngine.java
...
Fixed typo. This closes #234
2015-10-30 05:08:18 -07:00
Tim Barham
1c90a77325
CB-9909 Shouldn't escape spaces in paths on Windows.. This closes #237
2015-10-30 04:58:26 -07:00
Steve Gill
671219ae56
CB-9870 updated hello world template
2015-10-29 15:33:43 -07:00
Vladimir Kotikov
78fa7374d9
CB-9880 Fixes platform update failure when upgrading from android@<4.1.0
2015-10-28 12:42:35 +03:00
Vladimir Kotikov
c1b389ad9b
CB-9844 Remove old .java after renaming activity
2015-10-27 11:30:58 +03:00
Joe Bowser
5a07a51b5d
Checked the notice file, updating to 2015
2015-10-26 16:42:06 -07:00
Dmitry Blotsky
824b9803d2
CB-9800 Fixing contribute link.
2015-10-23 15:16:41 -07:00
Vladimir Kotikov
ab72e48431
CB-9782 Check in cordova-common dependency
2015-10-22 22:43:39 +03:00
Vladimir Kotikov
78b7ae72c9
Adds licence header to Adb to pass rat audit
2015-10-22 14:06:20 +03:00
Vladimir Kotikov
1151856d38
CB-9835 Downgrade properties-parser to prevent failures in Node < 4.x
2015-10-21 13:24:30 +03:00
Steve Gill
12c282ce5c
reverted fixed line endings in check_reqs.bat
2015-10-20 16:48:59 -07:00
Steve Gill
0ac822c577
Fixed line endings
2015-10-20 16:15:57 -07:00
Vladimir Kotikov
400282282f
CB-9782 Implements PlatformApi contract for Android platform.
...
This closes #226
2015-10-20 12:21:30 +03:00
Alexander Sorokin
789c505a88
CB-9826 Fixed 'test-build' script on windows. This closes #228
2015-10-20 12:02:27 +03:00
fujunwei
0429bb0ab8
The extra digit need to be added to the end of the version code
...
The version code of default config is generated by the environment variable
and the value from AndroidManifest.xml.
The test case is using the command line "cordova build -- --versionCode=100".. This closes #211
2015-10-19 11:25:33 -07:00
Joe Bowser
000eb0916e
Incrementing Travis to 23
2015-10-19 10:31:56 -07:00
Joe Bowser
4db1fecba8
You can't easily abstract out this variable because this can crash Cordova due to the plugin design.
2015-10-19 10:31:56 -07:00
Joe Bowser
013ad94af0
Refactor of the Cordova Plugin/Permissions API
2015-10-19 10:31:56 -07:00
Joe Bowser
2ceb8030ee
Manually updating version to 5.0.0-dev for engine tags
2015-10-19 10:31:55 -07:00
Joe Bowser
47ac514835
Working on getting the Geolocation Plugin to work by default with the default WebView. Crosswalk will need to make similar modifications.
2015-10-19 10:31:55 -07:00
Joe Bowser
5e0c9595c3
Got the PoC working with the Contacts plugin, going to work through all the plugins
2015-10-19 10:31:55 -07:00
Joe Bowser
a0747aa960
Refactoring based on feedback from Andrew
2015-10-19 10:31:55 -07:00
Joe Bowser
07912fdecd
Bump up to API level 23
2015-10-19 10:31:54 -07:00
Joe Bowser
9a33943783
Finally got it kinda working, Geolocation is not going to work in browser anymore
2015-10-19 10:31:54 -07:00
Joe Bowser
8981ddb681
Commiting code to handle permissions, and the special case of the Geolocation Plugin
2015-10-19 10:31:54 -07:00
daserge
7d61a79a78
CB-9608 cordova-android no longer builds on Node 0.10 or below
...
Replaced path.isAbsolute usage with path.resolve. This closes #217
2015-09-29 09:45:48 +03:00
daserge
afa61aeb09
CB-9080 Cordova CLI run for Android versions 4.1.1 and lower throws error
2015-09-23 18:44:41 +03:00
Vladimir Kotikov
bf57aa1df0
CB-9557 Fixes apk install failure when switching from debug to release build
2015-08-27 09:46:58 +03:00
Tommy-Carlos Williams
055e3bf609
CB-9496 removed permissions added for crosswalk
...
These would better live in the actual crosswalk plugin
https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview
I have also submit a PR to that repo adding them to its `plugin.xml`
github: close #206
2015-08-24 23:17:03 +10:00
Alexander Lebedev
b1dadaf15d
CB-9402 Allow to set gradle distubutionUrl via env variable CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL
...
This closes #205
2015-08-14 11:28:35 -07:00
Joe Bowser
9e400911f5
Make Cordova pass the Lint step
2015-08-10 16:43:41 -07:00
Steve Gill
892b875867
updated release notes
2015-07-31 16:54:52 -07:00
Steve Gill
8f7bc1ffbb
CB-9428 update script now bumps up minSdkVersion to 14 if it is less than that.
2015-07-31 16:32:51 -07:00
Vladimir Kotikov
e5506d40bc
CB-9430 Fixes check_reqs failure when javac returns an extra line
2015-07-31 16:37:21 +03:00
alsorokin
64f89c5eda
CB-9172 Improved emulator deploy stability. This closes #188 .
...
- Use UUID to distinguish between launched emulators
- Wait for android.process.acore instead of init.svc.bootanim on emulator boot
- Increased retry timeout when installing app to the emulator
- If there is already a started/starting emulator, wait for it's boot instead of trying to deploy to it right away
2015-07-31 03:59:53 -07:00
alsorokin
1ad0665eb5
CB-9404 Fixed an exception when path contained -debug or -release
2015-07-23 18:55:11 +03:00
Joe Bowser
37309c23c2
CB-8320: Setting up gradle so we can use CordovaLib as a standard Android Library
2015-07-22 13:23:28 -07:00
alsorokin
8983ddbdcc
CB-9185 Fixed an issue when unsigned apks couldn't be found. This closes #202
2015-07-22 11:00:07 -07:00
Vladimir Kotikov
d99a21eb8d
CB-9397 Fixes minor issues with cordova requirements android
2015-07-22 16:45:49 +03:00
Vladimir Kotikov
f9ce1c607b
CB-9389 Fixes build/check_reqs hang
...
This removes gradle version check since it requires downloading and
installing of gradle distributive if it is not installed yet.
Partial revert of 4bf705a
2015-07-22 13:20:39 +03:00
Nikhil Khandelwal
847312fcf9
Update JS snapshot to version 4.2.0-dev (via coho)
2015-07-20 09:52:18 -07:00
Nikhil Khandelwal
b770076b7f
Set VERSION to 4.2.0-dev (via coho)
2015-07-20 09:52:14 -07:00
Nikhil Khandelwal
dc9413258e
CB-9394 Updated RELEASENOTES - Fixing typo
2015-07-20 09:44:06 -07:00
Nikhil Khandelwal
4b574a2863
CB-9394 Updated RELEASENOTES
2015-07-20 09:40:18 -07:00
Jose Pereira
4b3cc67353
CB-9392 Fixed printing flavored versions. This closes #184
2015-07-20 16:52:28 +03:00
sgrebnov
32b72756f3
CB-9382 [Android] Fix KeepRunning setting when Plugin activity is showed. This closes #200
2015-07-20 16:02:21 +03:00
Malte Legenhausen
2fc86e2833
CB-9391 Fixes cdvBuildMultipleApks option casting
...
This closes #199
2015-07-20 15:59:27 +03:00
Simon Pireyn
fab472859d
CB-9343 Split the Content-Type to obtain a clean mimetype
...
This closes #197
2015-07-20 13:28:40 +03:00
Connor Pearson
92caa3a186
CB-9255 Make getUriType case insensitive.
...
This closes #186
2015-07-20 13:14:31 +03:00
Vladimir Kotikov
26c7a96255
CB-9149 Fixes JSHint issue introduced by 899daa9
2015-07-20 13:00:17 +03:00
Omar Mefire
e170e463fe
CB-9372: Remove unused files: 'main.js' & 'master.css'. This closes #198
2015-07-20 12:42:38 +03:00
Tony Homer
899daa9ea7
CB-9149 Make gradle alias subprojects in order to handle libs that depend on libs. This closes #182
2015-07-17 16:10:16 -04:00
Simon MacDonald
6d334c05e9
Update min SDK version to 14
2015-07-07 14:29:45 -07:00
Nikhil Khandelwal
5ac0cc51d3
Update licenses. This closes #190
2015-07-07 11:38:17 -07:00
Joe Schneider
f93c2b161d
CB-9185 Fix signed release build exception. This closes #193 .
2015-07-07 11:35:53 -07:00
Vladimir Kotikov
6b071c0fb2
CB-9286 Fixes build failure when ANDROID_HOME is not set.
2015-07-03 09:46:39 +03:00
Nikhil Khandelwal
d3245a43d3
CB-9284 Fix for handling absolute path for keystore in build.json
2015-07-02 15:13:31 -07:00
alsorokin
90a51c2cc1
CB-9260 Install Android-22 on Travis-CI
2015-06-30 11:35:28 +03:00
Dmitry Blotsky
61df5e0a37
Adding .ratignore file.
2015-06-16 21:30:59 -07:00
Dmitry Blotsky
c0312f9b50
CB-9119 Adding lib/retry.js for retrying promise-returning functions. Retrying 'adb install' in emulator.js because it sometimes hangs.
2015-06-12 11:50:15 -07:00
Volker Braun
eb70f05168
CB-9115 android: Grant Lollipop permission req
...
This patch overrides onPermissionRequest so that getUserMedia can be
used inside the browser.
Since a hybrid app has to request permissions anyways via
AndroidManifest.xml, I think it is unnecessary to have any further
configuration for onPermissionRequest. Anything that the app is allowed
to do should be possible from the JS side. Hence all requests are
granted. This enables getUserMedia (and WebRTC) on Android Lollipop,
without resorting to crosswalk.
The docs say that request.grant has to be called from the UI thread, but
don't explicitly spell out whether onPermissionRequest is called from
the UI thread. I think that this is so, the WebChromeClient of course
makes its calls from the UI thread unless otherwise noted. So there is
no need to post a runnable to the UI thread.
This closes 178
https://github.com/apache/cordova-android/pull/178
2015-06-10 11:53:03 -07:00
Nikhil Khandelwal
505db38232
Remove extra console message
2015-06-05 10:21:53 -07:00
Vladimir Kotikov
096e1e3caa
CB-8898 Report expected gradle location properly
2015-06-03 21:57:50 +03:00
Vladimir Kotikov
b5d8b51310
CB-8898 Fixes gradle check failure due to missing quotes
2015-06-03 12:37:25 +03:00
Joe Bowser
c9e7201058
CB-9080: -d option is not supported on Android 4.1.1 and lower, removing
2015-06-02 07:43:33 -07:00
Vladimir Kotikov
4bf705a3d3
CB-8954 Adds requirements command support to check_reqs module
2015-05-29 13:00:38 +03:00
Steve Gill
ce42568721
Update JS snapshot to version 4.1.0-dev (via coho)
2015-05-20 13:12:35 -07:00
Joe Bowser
eb956b2449
Updating Release Notes
2015-05-19 08:14:04 -07:00
Steve Gill
1bf4e93da1
CB-8417 updated platform specific files from cordova.js repo
2015-05-18 18:41:53 -07:00
Joe Bowser
aba0a8421b
Adding tests to confirm that preferences aren't changed by Intents
2015-05-15 14:13:18 -07:00
Joe Bowser
b5a58e6ca0
updating existing test code
2015-05-15 14:13:18 -07:00
Joe Bowser
44aa7464e1
Forgot to remove the method that copied over the intent data
2015-05-15 14:13:18 -07:00
Joe Bowser
4ea684dd7a
Getting around to removing this old Intent code
2015-05-15 14:13:18 -07:00
Steve Gill
215b7e08f8
Update JS snapshot to version 4.1.0-dev (via coho)
2015-05-08 15:33:05 -07:00
Andrew Grieve
754911f346
Fix CordovaPluginTest on KitKat (start-up events seem to change)
2015-05-06 09:59:22 -04:00
Bochun Bai
9873106785
CB-3360 Allow setting a custom User-Agent ( close #162 )
2015-05-06 09:59:22 -04:00
Kenneth Chan
d005359f89
CB-8902 Use immersive mode when available when going fullscreen ( close #175 )
2015-05-06 09:46:35 -04:00
Andrew Grieve
1ce52a2845
Make BridgeMode methods public (they were always supposed to be)
2015-04-23 16:07:20 -04:00
Andrew Grieve
7e480d1ff9
Simplify: EncodingUtils.getBytes(str) -> str.getBytes()
2015-04-23 15:58:56 -04:00
Andrew Grieve
85877d259c
Don't show warning when gradlew file is read-only
2015-04-23 15:38:48 -04:00
Andrew Grieve
0b86db8748
Don't show warning when prepEnv copies gradlew and it's read-only
2015-04-23 15:34:25 -04:00
Andrew Grieve
bca7f62efd
Make gradle wrapper prepEnv code work even when android-sdk is read-only
2015-04-23 15:18:01 -04:00
Andrew Grieve
4953ae84cd
CB-8897 Delete drawable/icon.png since it duplicates drawable-mdpi/icon.png
2015-04-22 21:59:02 -04:00
Joe Bowser
e96a5a0b3e
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2015-04-22 14:19:03 -07:00
Joe Bowser
e4678f4709
CB-8894: Updating the template to target mininumSdkTarget=14
2015-04-22 14:18:41 -07:00
Joe Bowser
1def13deb3
Updating the template to target mininumSdkTarget=14
2015-04-22 14:15:18 -07:00
Andrew Grieve
bce4283239
CB-8891 Add a note about when the gradle helpers were added
2015-04-22 09:53:13 -04:00
Andrew Grieve
9ff786d021
CB-8891 Add a gradle helper for retrieving config.xml preference values
2015-04-22 09:51:16 -04:00
Andrew Grieve
ee14a67795
CB-8884 Delete Eclipse tweaks from create script
2015-04-21 14:24:15 -04:00
Andrew Grieve
b63a2e37be
CB-8834 Don't fail to install on VERSION_DOWNGRADE
2015-04-09 11:28:55 -04:00
Andrew Grieve
84274b4259
Update JS snapshot to version 4.1.0-dev (via coho)
2015-04-09 11:05:48 -04:00
Andrew Grieve
b6bf5298e6
Set VERSION to 4.1.0-dev (via coho)
2015-04-09 11:05:47 -04:00
Andrew Grieve
b0d5ffec8f
Delete unused packate "which" from package.json
2015-04-09 11:03:36 -04:00
Andrew Grieve
09ff81c411
Add some missing license headers
2015-04-09 10:56:33 -04:00
Andrew Grieve
a0293578b1
CB-8829 Set targetSdk to 22
2015-04-08 21:34:15 -04:00
Andrew Grieve
4595403a99
CB-8828 Delete onScrollChanged event
2015-04-08 21:34:15 -04:00
Andrew Grieve
0f73884c8d
CB-8827 Call onResume for plugins on start-up
...
As a result, simplifies CordovaActivity by removing the now unused "activityState" field
2015-04-08 21:06:23 -04:00
Andrew Grieve
2e9cbdcb0d
Remove unused CordovaWebViewImpl parameter, and make pluginManager private
...
It was public by accident - with the final design leaving it public does
not help with backwards-compatibility.
2015-04-08 21:01:50 -04:00
Tony Homer
a652d892ca
CB-8684 Add onStart/onStop hooks for plugins ( close #173 )
2015-04-08 20:33:31 -04:00
Andrew Grieve
581252febc
CB-8814 Deprecate ScrollEvent
2015-04-07 21:15:33 -04:00
Andrew Grieve
b27d283f21
CB-8548 Fix keystore type detection (broken by 97718a0a25)
2015-04-07 20:36:13 -04:00
Andrew Grieve
f2d7c49acf
Fix manual tests not finding activity plugin
...
Was broken by recent refactor: 5b87380749
2015-04-07 13:30:26 -04:00
Andrew Grieve
a397a23a9c
Update Android Studio test instructions
2015-04-07 10:12:20 -04:00
Andrew Grieve
9f7e179288
Update test/README.md to say they are no longer in disrepair, and that robotium isn't used.
2015-04-07 09:52:12 -04:00
Nikhil Khandelwal
ad1c3d2438
CB-8484 Add signing flags to build and run scripts
...
Parameters for creating signed archives can be specified using command line or build.json file as part of the --buildConfig argument.
close #164
2015-04-01 19:53:56 -04:00
Andrew Grieve
51adf81918
CB-8781 Add building of .so files within libs/ to gradle rules
2015-04-01 13:33:48 -04:00
Andrew Grieve
97718a0a25
CB-8548 Allow ant-style property key for key.store.type
...
Other properties already allowed ant-style. This one was missed.
2015-03-31 20:42:26 -04:00
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
Andrew Grieve
b8f2b8948f
Fix lint errors breaking travis CI
2015-03-31 10:07:27 -04:00
Andrew Grieve
d96d49329b
CB-8717 Add note to releasenotes about removal of hidekeyboard and showkeyboard events
2015-03-30 10:33:29 -04:00
Andrew Grieve
4db421ca36
CB-8717 Add OkHttp removal to RELEASENOTES
2015-03-27 16:33:43 -04:00
Andrew Grieve
c3991c8164
CB-8717 Tweak RELEASENOTES.md
2015-03-27 16:30:21 -04:00
Jason Chase
e904bab206
CB-8717 Write cordova-android@4.0.0 release notes ( close #167 )
2015-03-27 16:21:17 -04:00
Serge Huijben
500ccd8e80
CB-8764 Store serviceName instead of class ( close #169 )
2015-03-27 10:15:48 -04:00
Serge Huijben
7cf7311a9d
CB-8764 Save instanceState before calling super
2015-03-27 10:15:41 -04:00
Andrew Grieve
0669edddae
Notify plugins of pause/resume before queing JS event (no-op)
...
This is actually already the order things happen in since JS events are async. Might as well be clearer about it.
2015-03-25 22:07:50 -04:00
Jason Chase
38a8d7742e
CB-8715 Update comments to match whitelist code ( close #166 )
2015-03-25 09:34:13 -04:00
Tim Lancina
32e84d2316
CB-7085 Add onConfigurationChanged hook for plugins ( close #165 )
2015-03-24 13:36:25 -04:00
Joe Bowser
151b86cb7b
CB-8735: Adding link as per Ian's suggestion
2015-03-23 15:54:05 -07:00
Joe Bowser
e4c9bebe34
CB-8735: Fixing the regex so that it's more compliant with Java package rules
2015-03-23 15:23:30 -07:00
Andrew Grieve
8d5cb00bec
CB-8702 Add API for plugins to override shouldInterceptRequest with a stream
2015-03-18 11:02:27 -04:00
Andrew Grieve
15530a4820
Add CordovaPlugin.getServiceName()
2015-03-18 10:47:23 -04:00
Andrew Grieve
f6e56b345d
CB-8699 Fix CordovaResourceApi copyResource creating zero-length files when src=uncompressed asset
2015-03-17 21:36:11 -04:00
Andrew Grieve
56d61eb44f
Delete a couple of unreferenced .java files
2015-03-17 11:58:19 -04:00
Andrew Grieve
2103da7b9d
CB-8693 Delete framework/res and framework/assets
...
They were being merged into apps unwantingly.
2015-03-17 11:56:02 -04:00
Andrew Grieve
679069729c
CB-7747 When both allow-navigation and allow-external are set, navigate instead of opening external
...
Also: Move shouldOverrideUrlLoading logic into CordovaWebViewEngine.Client
2015-03-13 11:32:54 -04:00
Andrew Grieve
f764448ccc
Tweak PluginManager.setPluginEntries() to create startup plugins when called post init()
2015-03-12 16:33:55 -04:00
Andrew Grieve
e1828696f7
CB-8295 Update app template with fix to CSP string
2015-03-11 21:14:39 -04:00
Joe Bowser
5b87380749
Updating use case to use ConfigXmlParser() instead of deprecated config class
2015-03-11 15:08:06 -07:00
Andrew Grieve
917d0dfc49
XmlPullParserFactory -> XmlPullParser in ConfigXmlParser
...
This allows clients to parse non-resourse XML
2015-03-06 16:16:06 -05:00
Andrew Grieve
191839f764
Tweak CSP of default template
2015-03-06 09:54:48 -05:00
Andrew Grieve
316cf057f3
Update project template with new whitelist defaults
2015-03-05 22:31:48 -05:00
Andrew Grieve
55be212594
CB-7747 Update default network whitelist to allow for ChromVox scripts
2015-03-05 21:38:21 -05:00
Andrew Grieve
489e63f8e7
CB-8608 Add blob: to default shouldAllowRequest policy
2015-03-04 11:09:38 -05:00
Andrew Grieve
62c081dc85
CB-8592 Fix NPE if lifecycle events reach CordovaWebView before init() has been called
2015-03-03 09:51:39 -05:00
Andrew Grieve
023ad9ddf8
CB-8510 Enforce that CordovaWebViewImpl is instantiated with an Engine
...
No reason to not enforce this.
2015-03-03 09:51:03 -05:00
Andrew Grieve
eccf486162
Add about:blank and data: to default shouldAllowNavigation()
2015-03-02 21:40:28 -05:00
Andrew Grieve
a6da46a00e
CB-8510 Remove shouldOverrideUrlLoading from CordovaWebViewEngine.Client.
...
It's logic that's pretty webview-specific, so it doesn't make sense to
share.
2015-03-02 21:04:21 -05:00
Andrew Grieve
747d2c97cd
CB-8588 Add CATEGORY_BROWSABLE to intents from showWebPage openExternal=true
2015-03-02 21:04:20 -05:00
Andrew Grieve
af2969dec5
CB-8587 Don't allow webview navigations within showWebPage that are not whitelisted
2015-03-02 21:04:20 -05:00
Andrew Grieve
53dba8678c
Delete no longer relevant comments about <url-filter>
2015-03-02 20:43:10 -05:00
Andrew Grieve
afdac9b413
Split out shouldAllowBridgeAccess from shouldAllowNavigation
...
This will allow a plugin to be created that allows iframes to be
navigated to, but disallow them from accessing the bridge.
Note: This isn't a configuration that we're planning on supporting with
the default whitelist plugin, but still does make sense to enable for
the experts in the room
2015-03-02 20:40:08 -05:00
Andrew Grieve
1ad280db98
Add an isSecretEstablished() getter to CordovaBridge
...
Not being used, but might be of use to an Engine plugin or a Whitelist
plugin.
2015-03-02 20:37:33 -05:00
Andrew Grieve
035c3ad319
Simplify default navigation policy to allow navigations within /app_webview/
...
It's really on XHRs to it that are an issue.
2015-02-27 15:46:17 -05:00
Andrew Grieve
c237a1c0d2
Log a warning when a navigation is blocked by the whitelist
2015-02-27 15:45:37 -05:00
Andrew Grieve
f1d093548e
Make ConfigXmlParser take a Context rather than Activity
2015-02-27 15:45:16 -05:00
Andrew Grieve
beab74adf5
CB-8548 Allow ant-style property keys in signing.properties files
...
Provides easier backwards compatibility
close #155
2015-02-25 15:41:58 -05:00
Nikhil Khandelwal
2a49e8a931
CB-8520 Fix for extra args being added twice for build command ( close #159 )
2015-02-25 14:28:06 -05:00
Andrew Grieve
395857c37c
close #160
2015-02-25 14:27:40 -05:00
Andrew Grieve
9a34f25edc
close #161
2015-02-25 14:27:18 -05:00
Andrew Grieve
0af02fb9ae
close #161
2015-02-25 14:25:48 -05:00
Connor Pearson
dcff8794ad
CB-7827 Add --activity-name for bin/create
...
Also adds in nopt
2015-02-25 14:23:26 -05:00
Andrew Grieve
1b4f5b13f1
CB-8548 Use debug-signing.properties and release-signing.properties when they exist
2015-02-25 14:16:29 -05:00
Andrew Grieve
3950818030
CB-8545 Don't add a layout as a parent of the WebView
...
Sanity checked mobilespec with --thirdpartyplugins that this doesn't
break any of them.
2015-02-25 12:27:48 -05:00
Andrew Grieve
d6da2ef096
CB-8510 Fix back button not exiting activity in manual tests
2015-02-25 12:27:06 -05:00
Andrew Grieve
455298d736
CB-8510 CB-7159 Fix background color manual test page not showing flash of green
2015-02-25 12:26:11 -05:00
Andrew Grieve
d99856c52b
CB-8510 Move requestFocusFromTouch into createViews from init()
...
Makes more sense there since it's view-creation-related
2015-02-25 12:14:39 -05:00
Andrew Grieve
087ec11e6a
CB-8510 Create a new abstraction for sharing common logic of WebView engines
...
Having CordovaWebViewImpl separate from CordovaWebViewEngine is helpful because
now each webview doesn't have to re-implement non-webview-specific
featrues. e.g.:
1. load timeout
2. keyboard events
3. showCustomView
4. lifecycle events
Moved AndroidWebView into its own package to ensure that it doesn't use
any package-private symbols (since plugins cannot use them).
2015-02-19 12:21:30 -05:00
Andrew Grieve
00c0a84e4e
Remove unused imports from MainTestActivity
2015-02-19 11:33:32 -05:00
Andrew Grieve
be229b1ac6
Make ErrorUrlTest INVALID_URL point to an existing file to make it test the right thing
2015-02-19 11:32:54 -05:00
Andrew Grieve
8106981bb6
Extract alert, confirm, prompt Dialog logic into a helper for use by other engines
2015-02-19 10:43:25 -05:00
Andrew Grieve
de4d7cd10d
Deprecate custom view methods in CordovaWebView.
...
They are just helper methods that plugins should just be implementing
for themselves.
2015-02-19 10:33:06 -05:00
Andrew Grieve
804dcac12f
Address TODO: Move requestFocusFromTouch() to CordovaActivity rather than AndroidWebView
2015-02-19 10:32:29 -05:00
Andrew Grieve
fb0987b824
Delete some dead code. Add a license header.
2015-02-19 10:31:44 -05:00
Andrew Grieve
88f50a66ff
Make showWebPage() take a Map instead of a HashMap
2015-02-19 10:30:26 -05:00
Andrew Grieve
7be600d8e9
Make cookieManager a field in AndroidCookieManager rather than using getInstance() every time
2015-02-19 10:28:18 -05:00
Andrew Grieve
11d6b8029f
Remove explicit whitelisting of content: in CordovaBridge
...
It was redundant since we now check if the URL should be allowed to
be navigated to.
2015-02-19 10:06:36 -05:00
Andrew Grieve
f1d4c01190
Merge IceCreamCordovaWebViewClient into AndroidWebViewClient.
...
There was no reason to have it separate.
2015-02-19 10:03:50 -05:00
Andrew Grieve
c12d93e77f
Move newly added should* methods of CordovaUriHelper into PluginManager
...
Doing this so that clients won't mistakenly call the wrong one.
2015-02-19 10:00:56 -05:00
Andrew Grieve
204130a598
Remove stale info from README.md ( close #156 )
2015-02-18 21:37:59 -05:00
Murat Sutunc
dbd45d4173
fix jshint errors ( close #157 )
2015-02-18 21:31:43 -05:00
Ian Clelland
7e0bfbbad2
Merge branch 'unplug-whitelist'
2015-02-18 09:37:00 -05:00
Andrew Grieve
db18e1480e
CB-8469 Create gradle build files as part of create script
...
Makes project imporatable by Android Studio before first build
2015-02-12 16:15:43 -05:00
Andrew Grieve
9baa27508a
Add back a test that url (and errorUrl) are not settable via Intent extras
2015-02-12 15:03:44 -05:00
Andrew Grieve
c3267def97
Revert "Reverting the refactor. I'd rather have 4 failures due to timing than tests completely disappear"
...
This reverts commit 390927772e .
2015-02-12 14:48:49 -05:00
Joe Bowser
390927772e
Reverting the refactor. I'd rather have 4 failures due to timing than tests completely disappear
2015-02-11 14:28:50 -08:00
Ian Clelland
a8bec4ec9c
Remove redundant whitelist checks
2015-02-11 16:19:54 -05:00
Ian Clelland
167e283450
Update native tests
2015-02-11 14:01:11 -05:00
Ian Clelland
0c3254fd48
Remove whitelist config.xml parsing
2015-02-11 14:01:11 -05:00
Ian Clelland
0faf2f0461
Remove whitelists from WebView classes
2015-02-11 14:01:11 -05:00
Ian Clelland
dd6e42aacc
Remove unused Config methods (Breaking Change)
2015-02-11 14:01:11 -05:00
Ian Clelland
18e5e9dcc5
Refactor ConfigXmlParser to allow subclasses
2015-02-11 14:01:11 -05:00
Ian Clelland
c8f44ab460
Use /app_webview/ rather than app_webview to filter bad requests
2015-02-11 14:01:11 -05:00
Ian Clelland
ac1f9c790a
Defer whitelist decisions to plugins
...
There is a default policy, which is implemented in the case where no plugins override any of the whitelist methods:
* Error URLs must start with file://
* Navigation is allowed to file:// and data: URLs which do not contain "app_webview"
* External URLs do not launch intents
* XHRs are allowed to file:// and data: URLs which do not contain "app_webview"
2015-02-11 14:01:11 -05:00
Ian Clelland
7533996fac
Add hooks in CordovaPlugin and PluginManager for whitelist plugins
...
This adds three hooks to CordovaPlugin objects. In each case, a null
value can be returned to indicate "I don't care". This null value is
the default.
public Boolean shouldAllowRequest(String url)
public Boolean shouldAllowNavigation(String url)
public Boolean shouldOpenExternalUrl(String url)
2015-02-11 10:03:34 -05:00
Andrew Grieve
1721571012
Delete unused field in CordovaActivity
2015-02-10 22:06:07 -05:00
Andrew Grieve
4358a04730
Big Refactor of integration tests: use locks rather than timeouts, deleted disabled tests, Use same activity for most tests
2015-02-10 22:04:42 -05:00
Andrew Grieve
c552d912a0
Add gradlew.bat to .gitignore
2015-02-10 20:14:05 -05:00
Steve Gill
ad7ce085f7
CB-8417 renamed platform_modules into cordova-js-src
2015-02-06 17:35:35 -08:00
Steve Gill
828edb3a43
CB-8417 moved platform specific js into platforms
2015-02-06 16:40:15 -08:00
Andrew Grieve
4cb64580fd
Separate the registering of BridgeModes from NativeToJsMessageQueue
...
This makes the class usable no matter how a webview's bridge is
implemented under-the-hood.
This also deletes the PrivateApi bridge mode, which has never been a
good idea to use, and which we should replace with a Lollipop
"evaluateJavascript"-based bridge.
2015-02-06 14:03:10 -05:00
Andrew Grieve
5b2fa128a4
AndroidCookieManager: flush is a level 21 API. Add a missing API level guard
2015-02-06 13:50:03 -05:00
Andrew Grieve
b7abb64661
Make CoreAndroid package-private
...
Since we're renaming it anyways, makes sense to just remove it from the
public API.
2015-02-06 13:49:00 -05:00
Andrew Grieve
66424b7ed5
Update JS snapshot (was missing "CoreAndroid" name change)
2015-02-05 20:45:14 -05:00
Andrew Grieve
81dafb7b3f
CB-8415 updated RELEASENOTES
2015-02-03 20:49:48 -05:00
Joe Bowser
cea81c2dc1
CB-8382: Fixed type mismatch that caused the build breakage
2015-02-03 17:24:00 -08:00
Joe Bowser
4b1e99ef93
Reverting the change to CordovaActivity.java for now until we fix the init() problem that appeared when fixing 3.7.0 bug
2015-02-03 17:01:04 -08:00
Andrew Grieve
83120a5bea
CB-8382 Make CordovaActivity not implement CordovaInterface
...
Instead, use a CordovaInterfaceImpl class. This also makes it easier
for apps to implement the interface without extending CordovaActivity.
2015-02-03 16:27:16 -05:00
Andrew Grieve
20723896e1
CB-8411 Initialize plugins only after createViews() is called
2015-02-03 16:03:15 -05:00
Murat Sutunc
aed4859642
CB-8410 Fix all jshint issues for Android platform ( close #153 )
2015-02-03 15:21:57 -05:00
Murat Sutunc
d0ade1d190
CB-8410 Enable jshint for Android platform
2015-02-03 15:21:56 -05:00
Andrew Grieve
fb8e35bb44
Prune 3.7.0 RELEASENOTES to a more glanceable list
2015-02-03 14:47:42 -05:00
Andrew Grieve
ce351f5c38
CB-8390 Add Gradle support for Play Services and Support libraries
2015-02-02 23:26:53 -05:00
Andrew Grieve
26ee1c4547
CB-8389 Allow plugins to handle exit and onReceivedError messages before CordovaInterface
...
Also switches to LinkedHashMap for plugins so that activity can insert a
plugin and have it be the first one to receive messages
2015-01-30 11:59:30 -05:00
Andrew Grieve
bf327f3916
Allow cdvMinSdkVersion and cdvVersionCode to be set to ints (instead of just strings)
2015-01-30 11:42:56 -05:00
Andrew Grieve
e3dd6d8c88
CB-8387 Address TODO and have DisallowOverscroll preference set by AndroidWebView instead of CordovaActivity
...
Now the preference will work even when not using CordovaActivity
2015-01-30 11:18:41 -05:00
Andrew Grieve
137fe12c43
CB-8386 Don't fallback on system webview if custom webview fails to construct
2015-01-30 11:03:56 -05:00
Andrew Grieve
a2fed200fe
CB-8378 Remove reference to LinearLayoutSoftKeyboardDetect from unit tests
2015-01-30 10:26:33 -05:00
Andrew Grieve
efeeef214b
Paste in the command for downloading robotium in tests readme
2015-01-30 10:17:18 -05:00
Andrew Grieve
37617c67f8
CB-8378 Delete LinearLayoutSoftKeyboardDetect (hidekeyboard and showkeyboard events)
2015-01-29 15:13:58 -05:00
Joe Bowser
56f675f188
Updating RELASENOTES.md, this is in a weird spot, since you need the branch to exist to generate the notes
...
(This didn't get updated with the 3.7.0 release)
2015-01-29 09:08:55 -08:00
Andrew Grieve
7e7dc7694c
CB-8373 Add gradle plugin includes based on project.properties (where plugman now puts them)
2015-01-28 16:27:05 -05:00
Darryl Pogue
8cf8da5776
CB-5059 Adds CookieManager abstraction for pluggable webviews ( close #151 )
...
Crosswalk and GeckoView implementations of CordovaWebView can provide
their own ICordovaCookieManager implementation for plugins to use.
2015-01-28 10:17:05 -05:00
Andrew Grieve
b59705bed4
CB-7947 Don't force-pauseTimers() for startActivityForResult
2015-01-26 21:26:47 -05:00
Andrew Grieve
3b909253bb
Merge branch 'master' into 4.0.x (gradle plugin extension)
2015-01-26 16:28:31 -05:00
Andrew Grieve
98f90340f3
Make plugin .gradle extensions run at the same point as build-extras.gradle
...
This lets them change cdv* property defaults, and allows modifying
values at the end as well.
2015-01-26 16:26:57 -05:00
Andrew Grieve
a4c9bf7d30
CB-8358 Make --link an alias for --shared for create/update. Make it work with gradle
2015-01-26 10:07:14 -05:00
Marcel Kinard
f459eaa5ea
Add missing license to gradle file.
2015-01-22 15:22:55 -05:00
Andrew Grieve
8d8b874c20
Merge branch 'master' into 4.0.x (about:blank)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2015-01-20 19:47:48 -05:00
shingotoda
ccceaeaca2
CB-8317 Make it work to load about:blank and to dispatch exit message ( close #149 )
2015-01-20 19:45:43 -05:00
Andrew Grieve
076e93184b
Make unit tests compile on 4.0.x (couple APIs changed)
2015-01-20 15:03:46 -05:00
Andrew Grieve
c352b296da
Merge branch 'master' into 4.0.x (gradlify tests)
...
Conflicts:
test/androidTest/src/org/apache/cordova/test/junit/MenuTest.java
2015-01-20 14:55:44 -05:00
Andrew Grieve
9e04eec9dd
Make BackButtonMultiPageTest tests not hang forever.
...
They still don't pass, but at least fail now.
2015-01-20 14:53:31 -05:00
Andrew Grieve
0e19f88a04
Make unit tests work with Gradle
...
Had to split the test app from the tests, since that's how gradle forces
you to do it.
2015-01-20 14:31:59 -05:00
Andrew Grieve
e788e8fa0f
Delete test/ ant files and cordova scripts
2015-01-20 14:14:39 -05:00
Andrew Grieve
a56c406aa3
Made check_reqs script echo ANDROID_HOME and JAVA_HOME when run directly
2015-01-20 14:14:39 -05:00
Andrew Grieve
a3457d9408
CB-8026 Remove default target value from gradle file
...
Wasn't being used anyways, and it still referenced android-19
This also switches to using a Properties object rather than a RegEx
for parsing project.properties
2015-01-20 11:33:55 -05:00
Andrew Grieve
b69fed18e2
Move cordova.gradle from project template to CordovaLib
...
Make it easier to share with tests project.
Also, one less file in the project template is a good thing.
2015-01-20 11:04:40 -05:00
Andrew Grieve
2964aea447
gradle: Fix incorrect buildTools dependencies in framework's build.gradle
...
(although it didn't seem to hurt anything?)
2015-01-20 10:49:19 -05:00
Andrew Grieve
587488a1b1
Merge branch 'master' into 4.0.x (cert challenges)
...
Conflicts:
framework/src/org/apache/cordova/AndroidWebViewClient.java
2015-01-19 22:22:02 -05:00
Marcus Pridham
623b394c83
CB-8328 Allow plugins to handle certificate challenges ( close #150 )
...
This is a new API for Lollipop
2015-01-19 22:17:39 -05:00
Andrew Grieve
e671ffdab1
Merge branch 'master' into 4.0.x (gradle fixes)
2015-01-19 22:04:10 -05:00
Andrew Grieve
92d1080b2f
Adds cdvPrintProps gradle task: dumps out all cdv properties
...
Useful for debugging.
2015-01-19 21:59:02 -05:00
Andrew Grieve
893c0e9b67
CB-8255 Pass arch to gradle regardless of cdvBuildMultipleApks
...
This also pushes the "which target to build" logic into gradle, since
build.js doesn't actually know the value of `cdvBuildMultipleApks`.
2015-01-19 21:56:46 -05:00
Andrew Grieve
af60f71ea3
CB-8255 Fix cordova/build --gradleVar=--foo=bar stripping off =bar
2015-01-19 21:54:29 -05:00
Andrew Grieve
9a952f1004
Fix cordova/build not printing out all gradle args in console message
2015-01-19 21:53:08 -05:00
Andrew Grieve
3ec7dfff8b
Fix cordova/run not finding apk when multi-arch is specified but only arch-independent apk exists
2015-01-19 21:51:57 -05:00
Andrew Grieve
d30a5e0388
Fix exception for unknown flag in cordova/run
2015-01-19 21:50:14 -05:00
Andrew Grieve
fcece7e189
Allow --ant, --gradle for cordova/run
2015-01-19 21:49:36 -05:00
Andrew Grieve
3949d9633c
Merge branch 'master' into 4.0.x (file input, auth dialogs)
...
Conflicts:
framework/src/org/apache/cordova/AndroidChromeClient.java
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/SplashScreenInternal.java
2015-01-19 16:34:06 -05:00
Andrew Grieve
62c1c5f38b
CB-8017 Add support for <input type=file> for Lollipop
...
Also refactors a bit to remove related special-case code from CordovaActivity
2015-01-19 16:15:25 -05:00
Andrew Grieve
56204c5748
CB-8329 Cancel outstanding ActivityResult requests when a new startActivityForResult occurs
2015-01-19 16:13:48 -05:00
Andrew Grieve
34c163be88
CB-8280 android: Don't apply SplashScreenDelay when .show() is called explicitly
2015-01-19 13:42:11 -05:00
sgrebnov
11002d4a56
CB-8201 Add support for auth dialogs into Cordova Android
2015-01-16 13:06:10 +03:00
Bas Bosman
240f27ce97
CB-8314 Speed up Travis CI ( close #148 )
2015-01-15 20:36:30 -05:00
Andrew Grieve
5295be1c25
Revert "Delete VERSION file (superseded by package.json)"
...
This reverts commit 238a67af3a .
cordova-lib depends on the file:
0f5dbaffac/cordova-lib/src/cordova/platform.js (L495)
2015-01-13 15:35:25 -05:00
Andrew Grieve
238a67af3a
Delete VERSION file (superseded by package.json)
2015-01-13 10:02:00 -05:00
Andrew Grieve
4382234676
Merge branch 'master' into 4.0.x (fix windows space-in-path bug)
...
close #147
Conflicts:
VERSION
bin/templates/cordova/version
framework/assets/www/cordova.js
framework/src/org/apache/cordova/CordovaWebView.java
package.json
2015-01-13 10:01:31 -05:00
Murat Sutunc
8e5c93a31f
CB-4914 Fix build whitespace issue
2015-01-13 09:59:29 -05:00
Joe Bowser
0e5d72dc5d
Update JS snapshot to version 3.8.0-dev (via coho)
2015-01-12 14:55:49 -08:00
Joe Bowser
4b8069f5ec
Set VERSION to 3.8.0-dev (via coho)
2015-01-12 14:55:48 -08:00
Andrew Grieve
a816a48416
Merge branch 'master' into 4.0.x (delete onDestroy)
...
Conflicts:
framework/assets/www/cordova.js
framework/src/org/apache/cordova/CordovaWebView.java
2015-01-12 10:58:00 -05:00
Jason Chase
5415440829
CB-8210 Remove unused onDestroy channel ( close #146 )
...
- Channel was defined as internal event and fired by javascript eval()
- Rather than change firing of event, simpler to remove as was not used
2015-01-12 10:50:36 -05:00
Joe Bowser
9668272b80
Merge branch 'master' into 4.0.x
...
* Fix CB-8062 on 4.0.x branch
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2015-01-09 13:38:38 -08:00
Joe Bowser
15e19489e3
CB-8026: Bumping up Android Version and setting it up to allow third-party cookies. This might change later.
2015-01-09 11:31:29 -08:00
Andrew Grieve
2083f683ad
Merge branch 'master' into 4.0.x (gradle properties)
...
Conflicts:
bin/templates/cordova/lib/build.js
2015-01-08 15:43:22 -05:00
Andrew Grieve
c3610aa43c
CB-8255 Use properties rather than environment variables for gradle settings
2015-01-08 15:26:24 -05:00
Andrew Grieve
df4fbc272a
CB-8210 Update JS snapshot with 4.0.x-specific platformVersion to fix CoreAndroid vs App plugin name
2015-01-05 22:09:12 -05:00
Andrew Grieve
9698a995fb
Merge branch 'master' into 4.0.x (drop events before startup)
2015-01-05 16:33:05 -05:00
Andrew Grieve
c1ac3aa483
CB-8210 Drop events from native that occur before start-up
2015-01-05 16:32:39 -05:00
Andrew Grieve
311bdbd360
Merge branch 'master' into 4.0.x (loadUrl->sendEvent)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2015-01-05 16:26:58 -05:00
Jason Chase
291f111913
CB-8210 Use PluginResult for various events from native ( close #144 )
...
- Change to send events via plugin message channel: various buttons, pause/resume
2015-01-05 16:15:17 -05:00
Andrew Grieve
95e10bdb9e
Merge branch 'master' into 4.0.x (run --list)
2015-01-03 21:06:07 -05:00
Murat Sutunc
c2a6dcb6bd
CB-8168 Add support for cordova/run --list ( closes #139 )
2015-01-03 21:05:52 -05:00
Andrew Grieve
61c4bb9888
Merge branch 'master' into 4.0.x (keyboard events via PluginResult)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2014-12-30 23:30:42 -05:00
Jason Chase
3439746645
CB-8210 Use PluginResult instead of sendJavascript() for keyboard events ( close #142 )
...
- Initialize a message channel for native -> Javascript in the core App plugin
- Change keyboard detection to send events via plugin message channel, instead
using eval() (i.e. webView.sendJavascript())
2014-12-30 23:25:56 -05:00
Andrew Grieve
b10fe465ab
Closing stale pull request: close #114
2014-12-30 23:20:52 -05:00
Andrew Grieve
c6b171ba95
CB-6630 Delete bundled (and outdated) copy of OkHttp
...
Those that want to use OkHttp can use a plugin.
2014-12-30 23:00:18 -05:00
Andrew Grieve
5a17d6cd5f
Merge branch 'master' into 4.0.x (gradle - maven and CordovaLib dep)
2014-12-30 22:59:50 -05:00
Andrew Grieve
480af2644c
CB-8228 Gradle: Allow plugins to use Maven dependencies
2014-12-30 22:57:53 -05:00
Andrew Grieve
ecd2e06883
CB-8229 Gradle: Add CordovaLib as a dependency to all plugin sub-projects
2014-12-30 22:56:43 -05:00
Andrew Grieve
4f3ae23170
Merge branch 'master' into 4.0.x (--minSdkVersion and --versionCode)
...
Conflicts:
bin/templates/project/build.gradle
2014-12-24 13:35:39 -05:00
Andrew Grieve
7cfb33d0ef
CB-7980 Add --minSdkVersion and --versionCode flags to cordova/build command
...
These are also exposed via environment variables: ANDROID_VERSION_CODE, ANDROID_MIN_SDK_VERSION
This also fixes build.gradle modifying the value set by ANDROID_VERSION_CODE when multi-apk is enabled (override should never be modified)
2014-12-23 16:26:43 -05:00
Mark Koudritsky
9224ab1592
CB-7980: Add 9 to versionCode for minSdk 20+ if not multiarch
2014-12-23 15:29:40 -05:00
Ian Clelland
a696ff37f1
Merge branch 'master' into 4.0.x (Plugin set multiarach)
2014-12-22 23:19:56 -05:00
fujunwei
931a996dab
Allow plugins to set ext.multiarch to enable multiple APK building
...
The xwalk webView need build multiple apks by default after install
cordova-crosswalk-engine plugin, we can set ext.multiarch=true to open
the flag in plugin, it don't necessary set system environment BUILD_MULTIPLE_APKS
manually.
This closes #141
2014-12-22 23:19:27 -05:00
Ian Clelland
68c03090a3
Merge branch 'master' into 4.0.x (Gradle lint stages)
2014-12-22 13:29:50 -05:00
Ian Clelland
98fe46757f
CB-8204: Reinstate link tasks to avoid gradle build failures
2014-12-22 13:24:58 -05:00
Andrew Grieve
cefd137634
Merge branch 'master' into 4.0.x (gradle version bump)
2014-12-22 11:45:02 -05:00
Andrew Grieve
6b6e887c2f
CB-8143 Use gradle 2.2.1 instead of 1.12 to appease Android Studio 1.0 warning-on-startup
2014-12-22 11:37:06 -05:00
Andrew Grieve
20cd4f806a
Merge branch 'master' into 4.0.x (gradle version for Android Studio)
2014-12-22 11:25:59 -05:00
Andrew Grieve
b92303b1c9
CB-8143 Use gradle plugin 1.0.0 for Android Studio 1.0.0
2014-12-22 11:19:21 -05:00
Andrew Grieve
59d23e05b1
Merge branch 'master' into 4.0.x (apk signing with interactive passwords)
2014-12-22 10:22:41 -05:00
Andrew Grieve
731a36d3a0
CB-8202 Fix gradle build signing when passwords provided interactively
2014-12-22 10:21:17 -05:00
Andrew Grieve
162fc0720e
Merge branch 'master' into 4.0.x (SDK search path)
2014-12-16 14:18:58 -05:00
Andrew Grieve
342bbaa3ae
CB-8176 Update Android SDK search path for Android Studio 1.0
2014-12-16 14:17:55 -05:00
Andrew Grieve
f086ef5cad
Merge branch 'master' into 4.0.x (adb CWD & build --unknown-flag)
...
Conflicts:
framework/src/org/apache/cordova/SplashScreenInternal.java
2014-12-11 13:47:07 -05:00
Daniel Toplak
56a3ee5fe6
CB-8079 Use activity class package name, but fallback to application
...
package name when looking for splash screen drawable
Close #136
2014-12-10 21:19:28 -05:00
Andrew Grieve
d80d532a2a
Fix syntax error in 3aca14d530
2014-12-10 21:16:54 -05:00
Andrew Grieve
3aca14d530
CB-8147 Have corodva/build warn about unrecognized flags rather than fail
...
Close #127
2014-12-10 21:02:57 -05:00
Andrew Grieve
aa2d3962bf
Close #126 (not-a-problem)
2014-12-10 21:02:57 -05:00
Andrew Grieve
f7c717e393
Close #137 (already merged).
2014-12-10 21:02:57 -05:00
sgrebnov
268fea58ee
CB-7881 Android tooling shouldn't lock application directory
...
Close #130
2014-12-10 21:02:48 -05:00
Andrew Grieve
87cdc5ad1c
Merge branch 'master' into 4.0.x (SplashScreen breakout)
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/CordovaWebView.java
2014-12-10 16:09:22 -05:00
fujunwei
ba140a8a84
Add a section for plugin extensions
...
The build.gradle will apply gradle srcipte from plugin extension
When install the plugin with "gradleReference" framework.
The gradle can set ext.multiarch=true to support multiple APKs by
default, so add this section in here.
2014-12-10 15:44:39 -05:00
Andrew Grieve
27f1181d53
CB-3679 Move splashscreen logic into splashscreen plugin
...
Tried as hard as possible for this not to be a breaking change (all
symbols were preserved). Planning to remove delegating symbols in 4.0.x
though.
Also for backwards compatability - a copy of the plugin is bundled. It
will likewise be removed in 4.0.x
2014-12-10 15:40:03 -05:00
Ian Clelland
f953e6adb8
CB-8143: Use the correct Android Gradle plugin for the installed Gradle version
2014-12-10 10:07:05 -05:00
Brian Geppert
ffd14fe7d9
Revert Gradle distributionUrlRegex cleanup.
...
This reverts commit 75a0a6752a .
2014-12-09 14:23:38 -05:00
Ian Clelland
3206c2100d
Merge branch 'plugin-gradle' into 4.0.x
2014-12-09 09:43:37 -05:00
Andrew Grieve
66fa12a091
CB-8119 Restart adb when we detect it's hung
2014-12-04 10:00:26 -05:00
Andrew Grieve
b1bdf23d9c
Switch default build type to gradle (4.0.x only)
2014-12-03 10:12:31 -05:00
Andrew Grieve
12bf07d560
Merge branch 'master' into 4.0.x (volume stream & setMediaPlaybackRequiresUserGesture)
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/CordovaWebView.java
2014-12-03 10:09:05 -05:00
Andrew Grieve
132650df28
CB-8112 Turn off mediaPlaybackRequiresUserGesture
2014-12-03 10:04:54 -05:00
Andrew Grieve
81a77949fc
CB-6153 Add a preference for controlling hardware button audio stream (DefaultVolumeStream)
...
This, along with the commit to the audio plugin, makes it so that by
default apps control the ringer volume, but when any audio players are
active, the media volume is controlled.
2014-11-27 10:52:19 -05:00
Andrew Grieve
e597f98c62
Merge branch 'master' into 4.0.x (gradle java 6 & PluginManager race fix)
2014-11-26 11:48:08 -05:00
Andrew Grieve
7fbb2b195f
CB-8081 Allow gradle builds to use Java 6 instead of requiring 7
2014-11-26 11:44:49 -05:00
Andrew Grieve
1feaa7fed7
CB-8031 Fix race condition that shows as ConcurrentModificationException
2014-11-17 22:11:21 -08:00
fujunwei
9b82ae19b0
Add a section for plugin extensions
...
The build.gradle will apply gradle srcipte from plugin extension
When install the plugin with "gradleReference" framework.
The gradle can set ext.multiarch=true to support multiple APKs by
default, so add this section in here.
2014-11-17 15:52:40 +08:00
Mark Koudritsky
9d3c13065b
CB-7980: Add 9 to versionCode for minSdk 20+ if not multiarch
2014-11-06 18:27:36 -05:00
Andrew Grieve
4859f8f759
Merge branch 'master' into 4.0.x (receiver context)
2014-11-06 16:23:49 -05:00
Andrew Grieve
ac284fd39c
CB-7976 Use webView's context rather than Activity's context for intent receiver
2014-11-06 16:23:32 -05:00
Andrew Grieve
fdef0db87c
Merge branch 'master' into 4.0.x (Load timeout, bridge secret, content: URI)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2014-11-06 15:37:30 -05:00
Andrew Grieve
e78db000c6
CB-7974 Cancel timeout timer if view is destroyed
2014-11-06 15:33:10 -05:00
Andrew Grieve
032ea8a8d3
CB-7940 Disable exec bridge if bridgeSecret is wrong
2014-11-04 15:57:51 -05:00
Ian Clelland
fc63f66e89
CB-7758: Allow content-url-hosted pages to access the bridge
...
This allows e.g. jsHybugger to create pages with access to Cordova APIs.
We restrict access to content provider URLs which are at subdomains of the application itself, ie, begin with "content://com.your.package.id."
2014-10-27 15:26:38 -04:00
Chris Alfano
832e626573
CB-7726 fix typo in gitignore: ant-built -> ant-build
...
github: close #131
2014-10-27 12:33:09 -04:00
Andrew Grieve
cc7d352209
Merge branch 'master' into 4.0.x (gradle signing+SecureRandom)
2014-10-21 13:00:07 -04:00
Andrew Grieve
ce5d9a2ee8
gradle: Allow storeType to be set (allows using .p12 files)
2014-10-21 12:59:34 -04:00
Andrew Grieve
77c51d3ae7
gradle: Allow absolute paths to keystore files
2014-10-21 12:43:30 -04:00
Joe Bowser
53dae45430
Fixed the SecureRandom so it only returns positive values
2014-10-17 15:30:28 -07:00
Joe Bowser
16343ffe70
Undoing change to Math.random() for now, this creates a weird bug
2014-10-17 13:52:33 -07:00
Joe Bowser
b37498d5f6
Replacing Math.random() with something a little more random.
2014-10-14 10:11:09 -07:00
Andrew Grieve
7ad16e5b0c
Merge branch 'master' into 4.0.x (Hardcode activity name)
2014-10-07 15:25:56 -04:00
Vladimir Kotikov
9f41906895
CB-6511 Fixes build for android when app name contains unicode characters.
...
github: close #124
2014-10-07 15:24:12 -04:00
Andrew Grieve
2af8daff1d
Merge branch 'master' into 4.0.x (multipart PluginResult)
2014-10-07 15:18:07 -04:00
Rui Zhao
fbeb379f1b
CB-7707 Added multipart PluginResult ( close #125 )
...
Corresponds to cordova-js commit: a1f866606b3
2014-10-07 15:17:56 -04:00
Andrew Grieve
9577735ff7
Merge branch 'master' into 4.0.x (check_reqs for brew)
2014-10-06 10:34:19 -04:00
Andrew Grieve
2dcd50c11b
CB-7714 Teach check_reqs about brew's install location for android SDK
2014-10-06 10:33:31 -04:00
Andrew Grieve
862c223e11
Merge branch 'master' into 4.0.x (.gitignore, create --shared)
2014-10-04 15:30:30 -04:00
Andrew Grieve
7f4d5aeb0e
Merge branch 'master' into 4.0.x (move preference activation, alert dialog leak)
...
Conflicts:
framework/src/org/apache/cordova/AndroidChromeClient.java
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/CordovaWebView.java
test/src/org/apache/cordova/test/menus.java
closes #123
2014-10-04 15:30:25 -04:00
Andrew Grieve
30681eb772
Fix --shared flag of create script (broke in recent gradle changes)
2014-10-04 15:14:51 -04:00
Andrew Grieve
52e575e1e7
Update .gitignore to ignore /framework/build and /node_modules
2014-10-04 15:14:45 -04:00
Martin Gonzalez
890e12c306
CB-6837 Fix leaked window when hitting back button while alert being rendered
...
Keep track of the last AlertDialog showed.
The last dialog showed that is rendered while hitting back button it
causes a leaked window.
Instead of perform a full track of all dialogs created, only destroy the
last one showed, this fixes the problem.
close #122
2014-10-04 14:44:06 -04:00
Joe Bowser
6cbf6b7875
CB-7674: Added sleep to avoid null error after most recent change to not break API
2014-09-30 17:57:42 -07:00
Marcel Kinard
c255a84941
CB-7674 move preference activation back into onCreate()
...
The preference creation actually needs to be before
super.onCreate(savedInstance) in order to avoid the exception
"requestFeature() must be called before adding content". Also ran into an
issue in the native tests "Whitelist" and "User WebView/Client/Chrome" where
it would throw an exception that the CordovaWebView appView already had
a parent and needed to be removed from that parent before the invocation
to root.addView(appView). So I conditionally remove the wrong parent.
Also made a change to the native tests so the menus test would work.
I also put super.init() back into the template, though invoking it is optional
as loadUrl will call it automatically if needed.
2014-09-30 19:38:34 -04:00
Steven Gill
ce7d6d69d9
updated release notes
2014-09-30 13:10:16 -07:00
Steven Gill
d5538b7076
updated .gitignore to include npm-debug.log
2014-09-29 23:49:12 -07:00
Steven Gill
cdfa13b265
Update JS snapshot to version 3.7.0-dev (via coho)
2014-09-29 14:59:07 -07:00
Andrew Grieve
e5efc91ef4
Merge branch 'master' into 4.0.x (JAVA_HOME on Ubuntu)
2014-09-29 10:16:33 -04:00
Andrew Grieve
e31c911c30
CB-7634 Detect JAVA_HOME properly on Ubuntu
2014-09-29 10:16:22 -04:00
Marcel Kinard
a658ea1573
CB-7410 update the docs to match the actual title
2014-09-25 11:25:09 -04:00
Andrew Grieve
6d5b88d7b9
Merge branch 'master' into 4.0.x (per-arch gradle builds)
2014-09-24 16:18:51 -04:00
Max Woghiren
a986e72338
Added gradle distribution URL updating. (commit fix-up)
2014-09-24 16:18:18 -04:00
Andrew Grieve
162d9b6c2e
gradle: Build only the active architecture when applicable
2014-09-24 16:16:59 -04:00
Andrew Grieve
f7f49d27c5
Merge branch 'master' into 4.0.x (gradle Android Studio)
2014-09-23 21:04:55 -04:00
Andrew Grieve
9e3ccf4b3e
gradle: Fix warning about dynamic properties being deprecated
2014-09-23 21:04:04 -04:00
Andrew Grieve
6b71c2f392
gradle: Have project's build.gradle look for a build-extras.gradle
2014-09-23 21:03:17 -04:00
Andrew Grieve
0d313a3964
gradle: Write sub-project list explicitly to make Android Studio happy
2014-09-23 21:03:00 -04:00
Max Woghiren
75a0a6752a
Improved a regex.
2014-09-23 14:27:54 -04:00
Andrew Grieve
363fc8deb5
Merge branch 'master' into 4.0.x (gradle plugin template)
...
Conflicts:
bin/templates/cordova/lib/build.js
framework/build.gradle
2014-09-22 22:28:59 -04:00
Max Woghiren
ddac192c4a
Added gradle distribution URL updating.
...
Conflicts:
bin/templates/cordova/lib/build.js
framework/build.gradle
2014-09-22 22:27:43 -04:00
Andrew Grieve
69a03c2e16
CB-7512 Use a standard build.gradle for all plugins
...
Plugins can extend it by providing a "build-extras.gradle"
2014-09-22 22:27:43 -04:00
Andrew Grieve
2b128b85f7
CB-7512 Make gradle build only a single config for sub-libraries (release vs debug)
2014-09-22 20:54:28 -04:00
Max Woghiren
b09f973231
Added gradle distribution URL updating.
2014-09-22 16:47:01 -04:00
Andrew Grieve
95815a558c
Merge branch 'master' into 4.0.x (fix ant run command)
2014-09-22 15:38:59 -04:00
Andrew Grieve
879da03438
CB-7579 Fix run script's ability to use non-arch-specific APKs
2014-09-22 14:23:30 -04:00
Andrew Grieve
d022be547b
Merge branch 'master' into 4.0.x (gradle)
2014-09-17 21:27:55 -04:00
Andrew Grieve
3f83fdbfc1
CB-7512 Fix gradle asking for release password when building for debug
2014-09-17 21:27:06 -04:00
purplecabbage
949152532c
Merge branch 'CB-7493' of https://github.com/MSOpenTech/cordova-android
2014-09-17 14:58:08 -07:00
Ian Clelland
215adab1f9
Merge branch 'master' into 4.0.x (Gradle env vars)
2014-09-17 15:58:46 -04:00
Ian Clelland
7ce46ed60c
CB-3445: Make minSdkVersion and base versionCode settable through env vars
2014-09-17 15:58:22 -04:00
Andrew Grieve
c32bcca67b
Merge branch 'master' into 4.0.x (gradle optional password)
2014-09-17 15:30:20 -04:00
Andrew Grieve
cb442364ca
CB-7512 Make key password optional & prompt for it when missing
2014-09-17 15:29:57 -04:00
Andrew Grieve
6bdc01290d
Merge branch 'master' into 4.0.x (gradle fix)
2014-09-16 15:15:11 -04:00
Andrew Grieve
ac34bf1e54
CB-7512 Fix gradle not copying all archs to out/ (broken by prev commit)
2014-09-16 15:14:40 -04:00
Andrew Grieve
6fb164d200
Merge branch 'master' into 4.0.x (unaligned apk fix)
2014-09-16 15:00:54 -04:00
Andrew Grieve
a5d300c6ff
CB-7512 Use aligned apk rather than unaligned apk when sorting
2014-09-16 14:59:43 -04:00
Andrew Grieve
6eb4409a72
Merge branch 'master' into 4.0.x (gradle debug v release)
2014-09-16 14:14:46 -04:00
Andrew Grieve
533677df8b
CB-7512 Speed up gradle builds by building debug or release (not both)
2014-09-16 14:13:49 -04:00
Andrew Grieve
8f27b2ab56
Merge branch 'master' into 4.0.x (gradle fixes)
2014-09-16 13:02:55 -04:00
Andrew Grieve
25be42d385
CB-7512 Add gradle environment vars for signing apks
2014-09-16 13:01:25 -04:00
Andrew Grieve
00f6d30e08
CB-7512 Change gradle android plugins from 0.10 -> 0.12
2014-09-16 13:00:27 -04:00
Andrew Grieve
090822eb41
CB-7536 check_reqs: windows tweaks + sdk manager error message
...
1. Don't escape \s since those are used by windows for directory seperators
2. Don't warn about missing directories on windows when we're just
testing for their existence
3. Don't give command to install sdk from command-line, since they also
require Build-tools and Platform-tools (which are not installed by
default with IDE-less SDK installer).
2014-09-16 11:13:15 -04:00
mbillau
d9900a725d
Second part of CB-7499, support RTL text direction
2014-09-15 16:03:00 -04:00
Andrew Grieve
a10106c61a
Merge branch 'master' into 4.0.x (x86 deploy)
2014-09-15 14:24:45 -04:00
Andrew Grieve
5cb01f2ae9
CB-7554 Use x86 apk when deploying to an intel device / emulator
2014-09-15 14:23:26 -04:00
Ian Clelland
4c1efe7ad4
Merge branch 'master' into 4.0.x
2014-09-15 12:16:03 -04:00
Ian Clelland
4be92f285a
CB-7512: Fix logic for detecting SDK directory
2014-09-15 12:15:32 -04:00
Michal Mocny
f9b89e98c2
Fix invalid syntax (missing + in multiline string)
2014-09-15 10:34:43 -04:00
Michal Mocny
be01ce03d0
Fix invalid syntax (missing + in multiline string)
2014-09-12 17:00:29 -04:00
Marcel Kinard
f221441877
Update JS snapshot to version 3.7.0-dev (via coho)
2014-09-12 16:34:06 -04:00
Andrew Grieve
18fda7ec68
Merge branch 'master' into 4.0.x (more error message)
2014-09-12 16:18:12 -04:00
Andrew Grieve
f2e8c00f49
CB-7536 Tweak Android SDK not installed error message.
...
We no longer require you to edit your PATH
2014-09-12 16:17:42 -04:00
Andrew Grieve
30e8b818f5
Merge branch 'master' into 4.0.x (error messages)
2014-09-12 14:21:47 -04:00
Andrew Grieve
525ce0e0ad
CB-7536 Tweak error messages for missing JDK / SDK / AVDs
2014-09-12 14:19:13 -04:00
Andrew Grieve
3cd567dc95
Merge branch 'master' into 4.0.x (better auto-detect sdk)
2014-09-11 16:01:01 -04:00
Andrew Grieve
2f7ffa3636
CB-7511 Auto-detect android sdk when using stand-alone sdk installer
2014-09-11 15:37:22 -04:00
Ian Clelland
d99386ef1e
Merge branch 'master' into 4.0.x
2014-09-11 15:12:31 -04:00
Ian Clelland
9ae3d2c074
CB-7512: Copy cordova.gradle file to project root on build
2014-09-11 15:12:07 -04:00
Ian Clelland
dd5a337a49
Merge branch 'master' into 4.0.x
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
2014-09-11 10:18:35 -04:00
Ian Clelland
51e634ccb4
Merge branch 'master' into 4.0.x (up to 3.7.0-dev)
...
Conflicts:
VERSION
bin/templates/cordova/version
framework/src/org/apache/cordova/CordovaWebView.java
package.json
test/src/org/apache/cordova/test/basicauth.java
test/src/org/apache/cordova/test/menus.java
2014-09-11 10:16:46 -04:00
Ian Clelland
31b1a821ca
Merge branch 'master' into 4.0.x (External whitelist changes)
2014-09-11 10:08:45 -04:00
Andrew Grieve
bf13fd48ce
Use add --compact flag in check_reqs when listing targets. No functional change.
2014-09-10 12:44:17 -04:00
Andrew Grieve
3b99760a42
CB-7330 Don't run check_reqs for bin/create.
...
The create / update script doesn't require any dependencies, so we
shouldn't fail without them.
2014-09-10 12:44:17 -04:00
Ian Clelland
0e78dc35d8
CB-7512: Read android target from project.properties if possible
2014-09-10 11:39:29 -04:00
Ian Clelland
c8bbdb23de
CB-7512: Determine SDK and build tools version dynamcally at build time
2014-09-10 10:57:43 -04:00
Ian Clelland
7ee8117186
CB-7463: Adding licence to project template gradle file
2014-09-10 10:54:21 -04:00
Andrew Grieve
8237c41143
CB-7511 Auto-detect Android SDK when Android Studio is installed
2014-09-10 10:14:38 -04:00
Vladimir Kotikov
d52ca93ba6
CB-7493 Adds test-build command to package.json
2014-09-09 17:53:22 +04:00
Joe Bowser
8354651059
CB-7463: Looked at the Apache BigTop git, gradle uses C-style comments
2014-09-04 10:49:43 -07:00
Joe Bowser
81cc3c260f
CB-7463: Adding licences. I don't know what the gradle syntax is for comments, that still needs to be done.
2014-09-04 10:32:29 -07:00
Joe Bowser
4dc32e194b
CB-7460: Fixing bug with KitKat where the background colour would override the CSS colours on the application
2014-09-03 15:42:39 -07:00
Steven Gill
5a82dd5110
updated releasenotes
2014-09-02 17:09:24 -07:00
Steven Gill
f20708a5e7
Update JS snapshot to version 3.7.0-dev (via coho)
2014-08-29 16:34:17 -07:00
Steven Gill
91cf78f183
Set VERSION to 3.7.0-dev (via coho)
2014-08-29 16:34:12 -07:00
Marcel Kinard
0cde8819cf
CB-7410 fix the menu test
...
Need to show the title in order for the options menu button to be visible.
2014-08-29 18:07:29 -04:00
Marcel Kinard
07632b0eeb
CB-7410 Fix the errorUrl test
...
Make the error.html page a well-formed html document, otherwise it
won't display.
2014-08-29 17:38:03 -04:00
Marcel Kinard
4a7f825cfe
CB-7410 Fix Basic Authentication test
...
Looks like the Chromium webview does not include the port number on the
hostname during the callback challenge, but the classic webview does
include the port number. Handle both cases here.
2014-08-29 16:41:51 -04:00
Ian Clelland
0b6b068097
CB-3445: Allow build and run scripts to select APK by architecture
2014-08-29 16:00:54 -04:00
Ian Clelland
4bc2051f44
CB-3445: Allow build and run scripts to select APK by architecture
2014-08-29 16:00:13 -04:00
Ian Clelland
623b2306ca
CB-3445: Add environment variable 'BUILD_MULTIPLE_APKS' for splitting APKs based on architecture
2014-08-28 16:18:51 -04:00
Ian Clelland
34dde53506
CB-3445: Add environment variable 'BUILD_MULTIPLE_APKS' for splitting APKs based on architecture
2014-08-28 16:18:02 -04:00
Ian Clelland
7a09182446
CB-3445: Ensure that JAR files in libs directory are included
2014-08-28 13:17:26 -04:00
Ian Clelland
233e513860
CB-3445: Ensure that JAR files in libs directory are included
2014-08-28 11:26:58 -04:00
Marcel Kinard
eb8cf56e8e
CB-7267 update RELEASENOTES for 3.5.1
2014-08-28 09:42:53 -04:00
Marcel Kinard
12a27643db
CB-7410 clarify the title
2014-08-27 13:56:31 -04:00
Marcel Kinard
c6ccde0558
CB-7385 update cordova.js for testing prior to branch/tag
2014-08-27 09:04:32 -04:00
Marcel Kinard
16e3ebd87b
CB-7410 add whitelist entries to get iframe/GoogleMaps working
2014-08-26 17:20:58 -04:00
Marcel Kinard
94c096dd5b
CB-7291 propogate change in method signature to the native tests
2014-08-26 16:38:04 -04:00
Ian Clelland
2e3e4ec3b2
Merge branch 'CB-7291'
2014-08-26 15:25:41 -04:00
Ian Clelland
6e222c3938
CB-7291: Restrict meaning of "*" in internal whitelist to just http and https
2014-08-26 15:23:24 -04:00
Ian Clelland
3b3bd9b6c9
CB-7291: Only add file, content and data URLs to internal whitelist
2014-08-21 16:27:48 -04:00
Ian Clelland
4e3331ba66
CB-7291: Add defaults to external whitelist
2014-08-21 16:27:48 -04:00
Ian Clelland
7caa96abcd
Fix previous merges
...
Build scripts (create and build) were mangled somewhat by the previous
merge commits. This resets them to (almost) exactly the same state as
the 3.6.x (master) branch.
Conflicts:
bin/lib/create.js
2014-08-20 11:45:35 -04:00
Ian Clelland
b2776269cf
Merge branch 'master' into 4.0.x (Gradle library dependencies)
2014-08-20 11:43:58 -04:00
Ian Clelland
b6c5a5fc9a
CB-3445: Read project.properties to configure gradle libraries
2014-08-20 11:42:04 -04:00
Refael Ackermann
94943a9a84
CB-7325 Fix error message in android_sdk_version.js when missing SDK on windows
...
github: close #113
2014-08-20 11:20:02 -04:00
Andrew Grieve
4c1942e3fe
Merge branch 'master' into 4.0.x (build & create script updates)
...
Conflicts:
bin/lib/check_reqs.js
bin/lib/create.js
bin/node_modules/which/package.json
bin/templates/cordova/lib/build.js
2014-08-19 12:02:36 -04:00
Andrew Grieve
71e72f215d
CB-7335 Add a .gitignore to android project template
2014-08-19 11:59:18 -04:00
Andrew Grieve
58cdfd86d0
CB-7330 Fix dangling function call in last commit (broke gradle builds)
2014-08-19 11:53:53 -04:00
Andrew Grieve
dfa66b9dd4
CB-7330 Don't run "android update" during creation
...
Instead, have the build script copy do the equivalent logic on each
build.
Advantages:
- Scripts run much faster
- No more duplicate CordovaLib entries in project.properties
- Building is more independent from create/update script (more robust)
2014-08-18 23:24:29 -04:00
Andrew Grieve
d56ea25816
CB-3445 Add gradle support clean command (plus some code cleanup)
...
* Don't run ant clean for gradle ever
* Don't set sdk.dir since ANDROID_HOME is not always set
* Don't export builders
2014-08-18 16:19:40 -04:00
Andrew Grieve
c91b272648
CB-7044 Fix typo in prev commit causing check_reqs to always fail.
2014-08-18 15:26:52 -04:00
Andrew Grieve
ca8bb75b40
CB-3445 Copy gradle wrapper in build instead of create
...
This should play nicer with updates to the android SDK.
2014-08-18 14:51:40 -04:00
Andrew Grieve
36eab713a1
CB-3445 Add .gradle template files for "update" as well as "create"
2014-08-18 14:50:27 -04:00
Andrew Grieve
7133576fe9
CB-7044 Add JAVA_HOME when not set. Be stricter about ANDROID_HOME
...
Also switches to using the which module over shelljs.which (better
support for .bat files)
2014-08-18 14:45:23 -04:00
Andrew Grieve
effffcba1d
CB-3445 Speed up gradle building (incremental builds go from 10s -> 1.5s for me)
...
Biggest win is disabling the linter.
2014-08-18 14:17:34 -04:00
Ian Clelland
404ce8bc3e
Merge branch 'gradle-build-3.x'
...
This introduces the gradle build system to Cordova-android, behind a flag currently
2014-08-18 09:58:01 -04:00
Ian Clelland
a91bd095b0
CB-3445: android: Copy Gradle wrapper from Android SDK rather than bundling a JAR
2014-08-18 09:48:31 -04:00
Ian Clelland
fd6a1e5ed0
CB-3445: Add which to checked-in node_modules
2014-08-18 09:48:31 -04:00
Ian Clelland
7d6ac87033
CB-3445: Add option to build and install with gradle
...
This gives build/cordova two new command-line arguments: --ant and
--gradle, and will select the build type from those. As a fallback
for the Cordova CLI, the environment variable ANDROID_BUILD can also be
used, set to either "ant" or "gradle".
The default is currently "ant", but it is intended for this to change in
the future.
2014-08-18 09:48:31 -04:00
Ian Clelland
8aa813b862
CB-3445: Add an initial set of Gradle build scripts
...
These scripts will build an android project, in debug and release mode.
They also support additional library projects, such as Crosswalk, being
added to libraries.gradle (and settings.gradle). A flag can be set in
libraries.gradle to enable multi-architecture builds.
2014-08-18 09:48:31 -04:00
Andrew Grieve
95aa5c9f1c
CB-7321 Don't require ant for create script
2014-08-15 13:58:53 -04:00
Andrew Grieve
4319447cb5
CB-7044, CB-7299 Fix up PATH problems when possible.
...
Uses heuristics:
- Adds javac to PATH based on default install paths on Windows
- Adds javac to PATH based on JAVA_HOME
- Adds android and adb to PATH based on ANDROID_HOME
- Sets ANDROID_HOME based on location of "android"
2014-08-15 13:46:20 -04:00
Joe Bowser
50ea162251
Change in test's AndroidManifest.xml needed for the test to run properly. Forgot the manifest.
2014-08-14 14:30:31 -07:00
Joe Bowser
9c239804d3
Change in test's AndroidManifest.xml needed for the test to run properly
2014-08-14 14:29:54 -07:00
Joe Bowser
a7ccb9243d
Merging latest master, including new tests
2014-08-14 14:20:49 -07:00
Joe Bowser
320e31bb10
Adding tests related to 3.5.1
2014-08-12 11:09:53 -07:00
Ian Clelland
8b55a16986
CB-7291: Add external-launch-whitelist and use it for filtering intent launches
2014-08-12 11:26:47 -04:00
Ian Clelland
f9b8f9a45f
CB-7159: Fix setBackgroundColor() call to support 4.0.x view classes
2014-08-11 13:25:21 -04:00
Andrew Grieve
41125ea1e2
CB-7261 Fix setNativeToJsBridgeMode sometimes crashing when switching to ONLINE_EVENT
2014-08-07 16:18:56 -04:00
Martin Bektchiev
73219bf2d2
CB-7265 Fix crash when navigating to custom protocol (introduced in 3.5.1)
...
Conflicts:
framework/src/org/apache/cordova/CordovaUriHelper.java
Github: close #111
2014-08-07 09:58:40 -04:00
Ian Clelland
d6eb723b7f
Filter out non-launchable intents
2014-08-06 09:55:03 -04:00
Ian Clelland
993d73762c
Handle unsupported protocol errors in webview better
2014-08-06 09:55:03 -04:00
Joe Bowser
48b51c451a
CB-7238: I should have collapsed this, but Config.init() must go before the creation of CordovaWebView
2014-07-31 09:23:14 -07:00
Joe Bowser
3d191d5884
CB-7238: Minor band-aid to get tests running again, this has to go away before 3.6.0 is released, since this is an API change.
2014-07-31 08:17:31 -07:00
Ian Clelland
955133f173
Extend whitelist to handle URLs without // chars
2014-07-31 08:11:40 -07:00
Andrew Grieve
5054b714e2
Set version to 4.0.0-dev in package.json
2014-07-25 20:03:42 -04:00
Andrey Kurdyumov
c2cafb4b45
CB-7172 Force window to have focus after resume
...
Workaround for some devices (Samsung Galaxy Note 3 at least)
github: close #108
2014-07-22 22:33:53 -04:00
Andrew Grieve
05868b541b
Merge branch 'master' into 4.0.x (background color)
2014-07-21 15:47:03 -04:00
Jan Velecký
67f474ef42
CB-7159 Set background color of webView as well as its parent
...
github: close #109 , close #110
2014-07-21 15:46:23 -04:00
Andrew Grieve
a40424e75c
Merge branch 'master' into 4.0.x (setButtonPlumbedToJs)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2014-07-18 13:49:04 -04:00
Andrew Grieve
cd6c0e1de9
CB-7018 Fix setButtonPlumbedToJs never un-listening
2014-07-18 13:46:29 -04:00
Andrew Grieve
a99c8219bd
Make private PluginManager.clearPluginObjects, .startupPlugins
2014-07-14 14:30:10 -04:00
Andrew Grieve
a03fdaba39
Merge branch 'master' into 4.0.x (undeprecate)
2014-07-14 14:28:56 -04:00
Andrew Grieve
92be0033a8
Undeprecate some just-deprecated symbols in PluginManager.
...
Forgot about custom engines again :(
2014-07-14 14:28:27 -04:00
Andrew Grieve
6f301576eb
Mark PluginEntry fields as final
...
Makes the intention of the class more clear, and the public fields less
bad.
2014-07-14 14:26:21 -04:00
Andrew Grieve
e2b3f76a10
Merge branch 'master' into 4.0.x (PluginEntry refactor)
...
Conflicts:
framework/src/org/apache/cordova/PluginEntry.java
framework/src/org/apache/cordova/PluginManager.java
test/src/org/apache/cordova/test/CordovaWebViewTestActivity.java
2014-07-14 14:18:10 -04:00
Andrew Grieve
b934c1be6a
@Deprecate methods of PluginManager that were never meant to be public
2014-07-14 14:10:19 -04:00
Andrew Grieve
145b50a320
Move plugin instantiation and instance storing logic PluginEntry->PluginManager
...
Instantiation and storing of the instance should be owned privately by
PluginManager, not exposed via an unprotected public API. That said,
this refactoring does not make any breaking changes to the public API,
except for removing the createPlugin call in PluginEntry, which should
not be called by anyone other than PluginManager anyway.
2014-07-14 14:08:27 -04:00
Andrew Grieve
a33cdc9c7b
Fix broken unit test due to missing Config.init() call
2014-07-14 14:06:47 -04:00
Matt Ray
62101e85ff
Update to check for Google Glass APIs
...
This prevents the 'cordova build android' process from blowing up on this step if you assign the GDK as the target and want to rebuild via the CLI.
close #100
2014-07-14 10:30:23 -04:00
Eion Robb
0a3714e5e0
Fix for android not being in PATH check on Windows
...
close #103
2014-07-14 10:28:27 -04:00
Ankit Jain
86a2830d75
Displaying error when regex does not match.
...
On my ubuntu when `android` is not found typical output is:
```
/bin/sh: 1: android: not found
```
close #104
2014-07-14 10:28:13 -04:00
Andrew Grieve
b277202838
Add PluginManager.setPluginEntries, delete setPluginWhitelist
2014-07-10 16:39:46 -04:00
Andrew Grieve
a4f6d9f6e7
Merge branch 'master' into 4.0.x (unbreak compile)
2014-07-10 15:14:57 -04:00
Andrew Grieve
9300e97d2b
Fix broken compile due to previous commit :(
2014-07-10 15:14:39 -04:00
Andrew Grieve
1d4aa44d3d
Merge branch 'master' into 4.0.x (CordovaPlugin.pluginInitialize tweak)
...
Conflicts:
framework/src/org/apache/cordova/CordovaPlugin.java
2014-07-10 15:05:40 -04:00
Andrew Grieve
3792f75281
Tweak CordovaPlugin.initialize method to be less deprecated.
...
Thinking here is that we need a while for both initialize and
pluginInitialize to exist before plugin authors would bother not using
the deprecated one anyways. Really, no harm in keeping both for some
time.
2014-07-10 15:03:53 -04:00
Andrew Grieve
b52fcb8aa9
Merge branch 'master' into 4.0.x (CordovaBridge tweaks)
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
2014-07-10 11:36:58 -04:00
Andrew Grieve
a14c794255
Un-deprecate CordovaActivity.init() - it's needed to tweak prefs in onCreate
2014-07-10 11:36:20 -04:00
Andrew Grieve
aef96e95e8
Tweak log messages in CordovaBridge with bridgeSecret is wrong
2014-07-10 11:36:20 -04:00
Andrew Grieve
f0da63a8ff
Merge branch 'master' into 4.0.x (backport of CordovaBridge)
2014-07-10 10:45:55 -04:00
Andrew Grieve
cc860804f6
Backport CordovaBridge from 4.0.x -> master
2014-07-10 10:43:37 -04:00
Andrew Grieve
f38c460588
Merge branch 'master' into 4.0.x (Unbreak unit tests)
...
Conflicts:
test/src/org/apache/cordova/test/junit/GapClientTest.java
test/src/org/apache/cordova/test/userwebview.java
test/src/org/apache/cordova/test/whitelist.java
2014-07-10 10:30:05 -04:00
Andrew Grieve
d8a19b5565
Update unit tests to not use most deprecated things (e.g. DroidGap)
2014-07-10 10:23:44 -04:00
Andrew Grieve
1c5b5e2ce6
Add non-String overloades for CordovaPreferences.set()
2014-07-10 10:23:26 -04:00
Andrew Grieve
9b9c59766f
Add back CordovaWebView.getUrl() - needed by tests & does make sense to have
2014-07-10 10:15:34 -04:00
Andrew Grieve
fc2a202afa
Log friendlier messages when bridge calls are recieved from previous page
2014-07-10 10:14:47 -04:00
Andrew Grieve
4b4b71ff32
CordovaActivity: don't create WebView until loadUrl() so that apps can tweak preferences after super.onCreate()
2014-07-10 10:10:38 -04:00
Andrew Grieve
9358838dab
Merge branch 'master' into 4.0.x (unit test tweaks)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2014-07-09 21:12:45 -04:00
Andrew Grieve
2f24e42dc1
Make CordovaWebview resilient to init() not being called (for backwards-compatibility)
...
This can happen when apps are not utilizing CordovaActivity and instead
creating their own CordovaWebView.
2014-07-09 21:08:29 -04:00
Andrew Grieve
0c12aa163e
Add node_module licenses to LICENSE
2014-07-09 16:08:18 -04:00
Andrew Grieve
a4d9f702e4
Merge branch 'master' into 4.0.x (cordova.js snapshot)
2014-07-09 13:32:10 -04:00
Andrew Grieve
ec47274fbd
Update cordova.js snapshot to work with bridge changes
2014-07-09 13:31:44 -04:00
Andrew Grieve
efcedabee0
Delete Cordova*Client classes, Create CordovaBridge, Delete more CordovaWebView symbols
...
Changes made in order to get xwalk working again
2014-07-09 09:29:33 -04:00
Andrew Grieve
25a7b66296
Delete deprecated methods from PluginManager
2014-07-08 14:46:05 -04:00
Andrew Grieve
ac194cd34f
Merge branch 'master' into 4.0.x (remove Config.* references)
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/CordovaChromeClient.java
framework/src/org/apache/cordova/CordovaWebView.java
2014-07-08 14:45:41 -04:00
Andrew Grieve
04ccb06e3f
Provide CordovaPlugin with CordovaPreferences. Add new Plugin.initialize()
...
This adds CordovaPlugin.initialize() (no args) and deprecates
CordovaPlugin.initialize(app, webView). This will allow us to refactor
more easily by using the package-private privateInitialize() to set
fields.
2014-07-08 14:26:21 -04:00
Andrew Grieve
d31ee20ba5
Convert usages of Config.* to use the non-static versions
2014-07-08 14:11:14 -04:00
Andrew Grieve
9b25d45b93
Change getProperty -> prefs.get* within CordovaActivity
2014-07-08 14:08:15 -04:00
Andrew Grieve
eca05e6bad
Delete deprecated symbols from CordovaActivity (4.0.x)
2014-07-08 12:15:34 -04:00
Andrew Grieve
84bf20152b
Merge branch 'master' into 4.0.x (CordovaUriHelper visibility)
2014-07-08 12:06:04 -04:00
Andrew Grieve
d51abdd73e
Make CordovaUriHelper class package-private
2014-07-08 12:05:41 -04:00
Andrew Grieve
200e9f1a8e
Delete deprecated classes: DirectoryManager, DroidGap, ExifHelper (4.0.x)
2014-07-08 12:04:40 -04:00
Andrew Grieve
7dc09b4019
Delete JSONUtils.java (in 4.0.x only)
2014-07-08 12:00:02 -04:00
Andrew Grieve
dbb196a17e
Delete url-filters logic (in 4.0.x branch only)
2014-07-08 11:58:56 -04:00
Andrew Grieve
05a95c699f
Merge branch 'master' into 4.0.x (Fix setPluginEntries)
2014-07-08 11:55:04 -04:00
Andrew Grieve
9ea8b2237a
Fix PluginManager.setPluginEntries not removing old entries
2014-07-08 11:54:38 -04:00
Andrew Grieve
9c5e340fb8
Merge branch 'master' into 4.0.x (App plugin from config.xml -> code)
...
Conflicts:
bin/templates/cordova/defaults.xml
framework/res/xml/config.xml
framework/src/org/apache/cordova/CordovaWebView.java
2014-07-08 11:52:44 -04:00
Andrew Grieve
e86c2e5970
Move registration of App plugin from config.xml -> code
...
Less fragile this way.
2014-07-08 11:47:26 -04:00
Andrew Grieve
67006add53
Merge branch 'master' into 4.0.x (tweaks to setWebViewClient)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
framework/src/org/apache/cordova/CordovaWebViewClient.java
2014-07-07 16:38:50 -04:00
Andrew Grieve
caeb86843d
Make setWebViewClient an override instead of an overload. Delete Location-change JS->Native bridge mode (missed some of it).
2014-07-07 16:31:29 -04:00
Andrew Grieve
1571b26a65
Merge branch 'master' into 4.0.x (ConfigXmlParser + two-phase init)
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/CordovaChromeClient.java
framework/src/org/apache/cordova/CordovaWebView.java
framework/src/org/apache/cordova/CordovaWebViewClient.java
framework/src/org/apache/cordova/PluginManager.java
2014-07-07 16:23:51 -04:00
Andrew Grieve
0f15608175
CB-4404 Revert setting android:windowSoftInputMode to "adjustPan"
...
"adjustResize" is what the value has been set to for the longest time (due to it
being in the wrong place in the manifest). "adjustResize" is a better default value anyways.
2014-07-07 13:07:51 -04:00
Andrew Grieve
705991e5b0
Refactor: Use ConfigXmlParser in activity. Adds CordovaWebView.init()
...
This does subtly change the API surface due to CordovaWebView.init(),
but only minimally, and is backwards compatibly with the default
generated projects from prior versions.
2014-07-04 16:32:09 -04:00
Andrew Grieve
b636874bd9
Deprecate some convenience methods on CordovaActivity
...
They don't add much convenience and the file is too big already.
2014-07-04 16:31:19 -04:00
Andrew Grieve
965e4e9b19
Fix CordovaPreferences not correctly parsing hex values (valueOf->decode)
2014-07-04 16:27:16 -04:00
Andrew Grieve
af77977fda
Refactor: Move url-filter information into PluginEntry.
2014-07-04 14:53:00 -04:00
Andrew Grieve
e74baf188f
Don't re-parse config.xml in onResume.
...
There shouldn't be any need to.
2014-07-04 12:19:28 -04:00
Andrew Grieve
663a71255f
Move handling of Fullscreen preference to CordovaActivity
...
Makes more sense here since that's where the other FullScreen related
changes are.
2014-07-04 12:11:19 -04:00
Andrew Grieve
bdf2f22f81
Merge branch 'master' into 4.0.x (ConfigXmlParser breakout)
...
Conflicts:
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/PluginManager.java
2014-07-04 11:48:49 -04:00
Andrew Grieve
79aa3e159d
Delete dead code from CordovaActivity
2014-07-04 11:46:03 -04:00
Andrew Grieve
95118398dd
Update .classpath to make Eclipse happy (just re-orders one line)
2014-07-04 11:38:31 -04:00
Andrew Grieve
4d18a8e55f
Delete "CB-3064: The errorUrl is..." Log message left over from debugging presumably
2014-07-04 11:38:16 -04:00
Andrew Grieve
3bab41f138
Refactor Config into ConfigXmlParser, CordovaPreferences
...
Intention here is to be 100% backwards compatible.
2014-07-04 11:31:32 -04:00
Andrew Grieve
a8330773ca
Add missing changes from previous merge commit
2014-07-04 10:32:02 -04:00
Andrew Grieve
4ca2305693
Merge branch 'master' into 4.0.x (Bridge fixes)
...
Conflicts:
framework/src/org/apache/cordova/CordovaChromeClient.java
framework/src/org/apache/cordova/CordovaUriHelper.java
framework/src/org/apache/cordova/CordovaWebView.java
framework/src/org/apache/cordova/CordovaWebViewClient.java
framework/src/org/apache/cordova/ExposedJsApi.java
framework/src/org/apache/cordova/NativeToJsMessageQueue.java
framework/src/org/apache/cordova/PluginManager.java
2014-07-03 23:02:02 -04:00
Andrew Grieve
f577af0886
Delete Location-change JS->Native bridge mode
...
It was always disabled, and there's really no reason to keep it around.
2014-07-03 22:18:18 -04:00
Andrew Grieve
aab47bd453
CB-5988 Allow exec() only from file: or start-up URL's domain
...
Uses prompt() to validate the origin of the calling JS.
This change also simplifies the start-up logic by explicitly disabling
the bridge during page transitions and explictly enabling it when the
JS asks for the bridgeSecret.
We now wait to fire onNativeReady in JS until the bridge is initialized.
It is therefore safe to delete the queue-clear/new exec race condition
code that was in PluginManager.
2014-07-03 22:06:09 -04:00
Andrew Grieve
445ddd89fb
CB-6761 Fix native->JS bridge ceasing to fire when page changes and online is set to false and the JS loads quickly
2014-07-03 13:27:30 -04:00
Joe Bowser
6f21a96238
Update the errorurl to no longer use intents
2014-06-24 12:57:46 -07:00
Joe Bowser
c47bcb2f54
This breaks running the JUnit tests, we'll bring it back soon
2014-06-24 12:55:56 -07:00
Joe Bowser
b0b628ffc2
Refactoring the URI handling on Cordova, removing dead code
2014-06-24 12:30:34 -07:00
Andrew Grieve
428e1bc14d
Remove fields from CordovaWebView interface
...
Fields don't make sense in an interface.
2014-06-24 15:28:53 -04:00
Andrew Grieve
d66bb84924
Delete onReset and resetJsMessageQueue from CordovaWebView interface
...
These are implementation details that do not need to be exposed.
2014-06-24 15:26:43 -04:00
Andrew Grieve
4ce5123a12
Merge branch 'master' into 4.0.x (bindButton changes)
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
package.json
2014-06-24 15:22:27 -04:00
Andrew Grieve
4b4a2e9f9e
CB-7018 Clean up and deprecation of some button-related functions
2014-06-24 15:08:47 -04:00
Andrew Grieve
58afd0b604
CB-7017 Fix onload=true being set on all subsequent plugins
2014-06-24 14:55:34 -04:00
Ian Clelland
4352456129
CB-5971: Fix package / project validation
2014-06-24 14:05:56 -04:00
Ian Clelland
bb141a70e8
CB-5971: Add unit tests to cordova-android
2014-06-24 14:05:56 -04:00
Ian Clelland
ff260c03ca
CB-5971: Factor out package/project name validation logic
2014-06-24 14:05:56 -04:00
Andrew Grieve
96a1192474
Merge branch 'master' into 4.0.x (back button default behaviour fix)
...
Conflicts:
framework/src/org/apache/cordova/CordovaChromeClient.java
framework/src/org/apache/cordova/CordovaWebView.java
2014-06-23 14:50:01 -04:00
Andrew Grieve
297f862ccc
Delete explicit activity.finish() in back button handling. No change in behaviour.
...
The default handling calls through to Activity.onBackPressed(), which
by default results in activity.finish(), but can be customized by the
app.
2014-06-23 14:18:54 -04:00
Andrew Grieve
c052f40ef8
Remove onKey* from CordovaWebView interface (these exist on View already)
2014-06-20 16:09:14 -04:00
Andrew Grieve
98246c0e35
Add a whitelist to PluginManager to be used by App Harness
...
App Harness needs a way to restrict which plugins get loaded for
embedded apps. This seemed like the simplest way, although a better
API would be to have PluginManager recieve the list of PluginEntry.
2014-06-20 12:34:08 -04:00
Joe Bowser
8ac067da89
Rethinking the URI helper
2014-06-19 13:20:44 -07:00
Ian Clelland
0ffb5d253a
CB-3445: android: Copy Gradle wrapper from Android SDK rather than bundling a JAR
2014-06-19 16:12:40 -04:00
Andrew Grieve
3a9898a6a6
CB-6971 Fix infinite recursion for onReceiveError
2014-06-18 13:20:47 -04:00
Andrew Grieve
693ec14df5
Rename App->CoreAndroid in defaults.xml (related to 635a6279a9)
2014-06-17 20:55:55 -04:00
Ian Clelland
fa189b3234
CB-3445: Add an initial set of Gradle build scripts
...
These scripts will build an android project, in debug and release mode.
They also support additional library projects, such as Crosswalk, being
added to libraries.gradle (and settings.gradle). A flag can be set in
libraries.gradle to enable multi-architecture builds.
2014-06-17 17:36:26 -04:00
Joe Bowser
3b27cd093b
CB-6873: Removing from cordova-android, still in the camera plugin
2014-06-17 11:22:42 -07:00
Joe Bowser
141bbfb051
CB-5971: This would have been a good first bug, too bad
2014-06-12 17:51:22 -07:00
Joe Bowser
663a919ed1
CB-4404: Changing where android:windowSoftInputMode is in the manifest so it works
2014-06-12 11:47:41 -07:00
Marcel Kinard
483babe3bc
Add documentation referencing other implementation.
2014-06-09 15:50:20 -04:00
Andrew Grieve
6abb9da88a
Merge branch 'master' into 4.0.x
...
Conflicts:
bin/templates/project/custom_rules.xml
framework/src/org/apache/cordova/CordovaWebView.java
test/src/org/apache/cordova/test/junit/MessageTest.java
2014-06-08 22:54:21 -04:00
Andrew Grieve
b407641049
CB-6851 Deprecate WebView.sendJavascript()
2014-06-08 22:47:41 -04:00
Andrew Grieve
d5e8807756
Set version to 4.0.0-dev
2014-06-06 15:00:41 -04:00
Ian Clelland
7e9fdb3555
Remove Ant custom build directories
2014-06-05 13:11:14 -04:00
Marcel Kinard
32e07c22d0
CB-6876 Show the correct executable name
2014-06-04 19:23:43 -04:00
Marcel Kinard
d427c52aac
CB-6876 Fix the "print usage"
2014-06-04 19:12:55 -04:00
Joe Bowser
eb623a84d5
Trivial spelling fix in comments when reading CordovaResourceApi
2014-06-04 11:13:37 -07:00
Joe Bowser
07290277ba
CB-6818: I want to remove this code, because Square didn't do their headers properly
2014-06-03 15:22:10 -07:00
Andrew Grieve
743541218f
CB-6860 Add activity_name and launcher_name to AndroidManifest.xml & strings.xml
2014-06-03 16:08:35 -04:00
Andrew Grieve
94de0a7ce2
Add a comment to custom_rules.xml saying why we move AndroidManifest.xml
2014-06-03 15:29:06 -04:00
Andrew Grieve
36e9fb292b
Remove +x from README.md
2014-06-03 15:29:06 -04:00
Marcel Kinard
2661e010d9
CB-6784 Add missing licenses
...
for ./test/assets/www/cordova_plugins.js and ./test/res/xml/config.xml
2014-05-30 15:10:54 -04:00
Marcel Kinard
7687becfee
CB-6784 Add license to CONTRIBUTING.md
2014-05-30 11:45:13 -04:00
Michal Mocny
1641f09dc9
Revert "defaults.xml: Add AndroidLaunchMode preference"
...
This reverts commit 11fc6be328 .
2014-05-29 14:50:01 -04:00
Ian Clelland
b42faea2eb
Merge branch 'pluggable_webview' into 4.0.x
2014-05-29 11:20:35 -04:00
Steven Gill
1505673393
updated RELEASENOTES
2014-05-27 14:12:16 -07:00
Joe Bowser
635a6279a9
Renaming app plugin CoreAndroid to avoid confusion. It is now trivial to fix the JS away from App, but this will have to be a 4.x change
2014-05-26 13:11:27 -07:00
Joe Bowser
404d3e0959
CB-6315: Wrapping this so it runs on the UI thread
2014-05-23 11:31:13 -07:00
Marcel Kinard
f77b20bbca
CB-6723 Update package name for Robotium
2014-05-23 11:31:13 -07:00
Marcel Kinard
1d0a1664e6
CB-6707 Update minSdkVersion to 10 consistently
...
Update minSdkVersion in the AndroidManifest for the cordova.jar and the
test project.
2014-05-23 11:30:58 -07:00
Martin Gonzalez
410afbf9a1
CB-5652 make visible cordova version
...
Log the cordova version using version string from CordovaWebView.java
This closes #101
2014-05-23 11:30:58 -07:00
Steven Gill
aaddfa6f3a
Update JS snapshot to version 3.6.0-dev (via coho)
2014-05-23 11:30:58 -07:00
Joe Bowser
2d9a16e857
Update JS snapshot to version 3.6.0-dev (via coho)
2014-05-23 11:30:58 -07:00
Joe Bowser
1dcba51092
Set VERSION to 3.6.0-dev (via coho)
2014-05-23 11:30:57 -07:00
Joe Bowser
7c63b30de1
Added dash to test push
2014-05-23 11:23:29 -07:00
Andrew Grieve
c0eae1ad52
Revert accidentally removed lines from NOTICE
2014-05-23 11:23:29 -07:00
Steven Gill
c012b98223
CB-6552: updated author to apache software foundation in pacakge.json
2014-05-23 11:23:29 -07:00
Steven Gill
559493babd
CB-6552: updated test field
2014-05-23 11:23:29 -07:00
Steven Gill
990ab2c7ef
CB-6552: added top level package.json
2014-05-23 11:23:28 -07:00
Marcel Kinard
437003de29
CB-6491 add CONTRIBUTING.md
2014-05-23 11:23:28 -07:00
Joe Bowser
629e05b7b1
CB-6315: Wrapping this so it runs on the UI thread
2014-05-22 12:00:42 -07:00
Ian Clelland
22b1959333
Manually fix Android sdk location to support library projects without local.properties
2014-05-22 14:04:00 -04:00
Marcel Kinard
e98f6ae570
CB-6723 Update package name for Robotium
2014-05-20 07:09:02 -04:00
Marcel Kinard
0b5bf0c098
CB-6707 Update minSdkVersion to 10 consistently
...
Update minSdkVersion in the AndroidManifest for the cordova.jar and the
test project.
2014-05-20 07:00:21 -04:00
Martin Gonzalez
1deefa48ee
CB-5652 make visible cordova version
...
Log the cordova version using version string from CordovaWebView.java
This closes #101
2014-05-19 11:10:58 -04:00
Ian Clelland
97008305ff
Merge branch 'master' into pluggable_webview
...
Conflicts:
framework/src/org/apache/cordova/CordovaWebView.java
2014-05-15 15:59:11 -04:00
Ian Clelland
1a17083e8c
Add more required methods on CordovaWebView interface
2014-05-15 15:56:10 -04:00
Joe Bowser
b6664cc859
Added two more required methods to CordovaWebView to get the Junit tests running, removed tests that make no sense
2014-05-14 11:09:21 -07:00
Steven Gill
50c4aef873
Update JS snapshot to version 3.6.0-dev (via coho)
2014-05-08 15:32:28 -07:00
Joe Bowser
cf42d31214
Update JS snapshot to version 3.6.0-dev (via coho)
2014-05-06 15:51:17 -07:00
Joe Bowser
00caa1c0a0
Set VERSION to 3.6.0-dev (via coho)
2014-05-06 15:51:14 -07:00
Joe Bowser
93c8ba920a
Added dash to test push
2014-05-06 13:59:13 -07:00
Andrew Grieve
8702c04d39
Revert accidentally removed lines from NOTICE
2014-05-06 15:18:31 -04:00
Ian Clelland
e595c313a1
Use correct client object in recent versions of android again
2014-05-02 10:29:53 -04:00
Ian Clelland
955da2e360
Clean up merge commit
...
Reinstate fix for github issue #96 (b715d20 )
Re-remove extra calls to set up client objects (8e31ef7b )
Reinstate license header in CordovaChromeClient.java
2014-05-02 10:22:38 -04:00
Joe Bowser
04b3fc0268
Outsmarted by vim, needed Eclipse to clean this up
2014-04-30 15:09:54 -07:00
Joe Bowser
105ccc81a5
This is an ugly merge commit, because the rebase made even less sense.
...
This should add the old setProperty methods required for the tests. We
decided to not deprecate them. I don't make a habit of doing merge
commits, due to their destructive nature, but I think I might have
merged too much stuff in.
Merge branch 'pluggable_webview' of https://git-wip-us.apache.org/repos/asf/cordova-android into pluggable_webview
Conflicts:
framework/src/org/apache/cordova/AndroidChromeClient.java
framework/src/org/apache/cordova/AndroidWebView.java
framework/src/org/apache/cordova/CordovaActivity.java
framework/src/org/apache/cordova/CordovaWebView.java
2014-04-30 14:59:40 -07:00
Steven Gill
c349892c5b
CB-6552: updated author to apache software foundation in pacakge.json
2014-04-30 12:55:28 -07:00
Steven Gill
3d4b8ce99b
CB-6552: updated test field
2014-04-30 11:59:29 -07:00
Joe Bowser
3571307df5
Adding setIntegerProperty, setBooleanProperty and setStringProperty back, due to possible demand, and due to the fact that I don't want to rewrite my tests
2014-04-30 11:33:26 -07:00
Steven Gill
64fd87134f
CB-6552: added top level package.json
2014-04-30 10:54:58 -07:00
Marcel Kinard
82bba44538
CB-6491 add CONTRIBUTING.md
2014-04-30 08:44:21 -04:00
Ian Clelland
df05f3a3c0
Try other constructors besides first
2014-04-29 22:50:12 -04:00
Ian Clelland
8e31ef7be6
Defer construction of client objects to WebView
2014-04-29 22:50:12 -04:00
Joe Bowser
f4555f7c96
Removing the xwalk_core_library reference so we can use this with MozillaView
2014-04-29 22:50:11 -04:00
Ningxin Hu
8408da55ea
Add getView() API into CordovaWebView.
...
This API is to get the actual View.
The concrete webview implementation can use compositing instead of extending
underlying webview.
2014-04-29 22:50:11 -04:00
Ningxin Hu
4a67dd2e28
Crosswalk runtime needs the two permissions to auto detect connection status.
...
See more details at: https://crosswalk-project.org/jira/browse/XWALK-1324
2014-04-29 22:50:11 -04:00
Joe Bowser
bd806a34d8
Removing XWalkWebView and making it a plugin component
2014-04-29 22:50:11 -04:00
Joe Bowser
2f7e833a79
Got the bridge to work with Crosswalk
2014-04-29 22:50:11 -04:00
Joe Bowser
c17503ab78
w00t! Managed to get XWalk to work. Next Step: Make it installable
...
like a Cordova Plugin!
2014-04-29 22:50:11 -04:00
Joe Bowser
19f76d34db
Hurray! It runs! Now that we have the default WebView working, it's time
...
to make things a little more pluggable.
2014-04-29 22:50:11 -04:00
Joe Bowser
25c8b2fabb
Removing the deprecated setAttribute methods to clean up the codebase
2014-04-29 22:44:05 -04:00
Joe Bowser
bfd8bf9ca4
Merge pull request #3 from huningxin/pluggable_webview
...
Make correct webview client and chrome client for specific webview engin...
2014-04-29 13:25:19 -07:00
Ningxin Hu
e6adbb0e42
CB-6543 Fix cordova/run failure when no custom_rules.xml available
...
Github: Close #99
2014-04-28 22:50:22 -04:00
Fardjad Davari
11fc6be328
defaults.xml: Add AndroidLaunchMode preference
2014-04-25 00:27:33 +04:30
Ningxin Hu
7a5405d2ab
Delegate making WebViewClient and ChromeClient to webview engine.
...
Revert the change of webview preference name.
2014-04-24 09:42:51 +08:00
Joe Bowser
b9a24f00ad
Removing the xwalk_core_library reference so we can use this with MozillaView
2014-04-23 14:31:30 -07:00
Ningxin Hu
dbfc292353
Make correct webview client and chrome client for specific webview engine.
...
It changes the webview preference naming from full name to prefix, since the
prefix is also used to construct the name of WebView, WebViewClient and
ChromeClient.
For example, for Crosswalk webview, config.xml contains:
<preference name="webView" value="org.apache.cordova.engine.crosswalk.XWalkCordova" />
2014-04-23 16:33:31 +08:00
Joe Bowser
a09255b2ff
Merge pull request #2 from huningxin/pluggable_webview
...
Pluggable webview
2014-04-22 15:55:52 -07:00
Ningxin Hu
9d1c72cc07
Add getView() API into CordovaWebView.
...
This API is to get the actual View.
The concrete webview implementation can use compositing instead of extending
underlying webview.
2014-04-21 15:22:19 +08:00
Ningxin Hu
09ac30ef2e
Crosswalk runtime needs the two permissions to auto detect connection status.
...
See more details at: https://crosswalk-project.org/jira/browse/XWALK-1324
2014-04-21 15:17:23 +08:00
Andrew Grieve
0ec8f5d283
Add JavaDoc for CordovaResourceApi
2014-04-17 15:51:59 -04:00
Ian Clelland
b872df0f31
CB-6388: Handle binary data correctly in LOAD_URL bridge
2014-04-02 13:42:19 -04:00
Ian Clelland
0add4af208
Update JS snapshot to version 3.5.0-dev-81f9a00
2014-04-02 13:42:19 -04:00
Michal Mocny
298cd9e065
Fix CB-6048: Set launchMode=singleTop so tapping app icon does not always restart app
2014-04-01 11:33:40 -04:00
hadeslee
b715d20385
Remove incorrect usage of AlertDialog.Builder.create
...
AlertDialog.Builder.show() will create an AlertDialog before it show. This is the source code snippet:
/**
* Creates a {@link AlertDialog} with the arguments supplied to this builder and
* {@link Dialog#show()}'s the dialog.
*/
public AlertDialog show() {
AlertDialog dialog = create();
dialog.show();
return dialog;
}
github: close #96
2014-03-28 13:40:43 -04:00
Andrew Grieve
79e313a0c0
Catch uncaught exceptions in from plugins and turn them into error responses.
...
When a plugin throws an unchecked exception, we're not catching it
anywhere and so the error callback is not being called.
This change adds a try/catch to catch such exceptions.
2014-03-17 11:58:14 -07:00
Andrew Grieve
9f4c75d1c2
Add NOTICE file
2014-03-17 11:58:14 -07:00
Joe Bowser
b37492644c
Removing XWalkWebView and making it a plugin component
2014-03-12 15:04:28 -07:00
Joe Bowser
04a792a8c2
Got the bridge to work with Crosswalk
2014-03-10 14:39:43 -07:00
Joe Bowser
35ec24c3f0
w00t! Managed to get XWalk to work. Next Step: Make it installable
...
like a Cordova Plugin!
2014-03-07 15:03:22 -08:00
Andrew Grieve
9a00ccdacc
Catch uncaught exceptions in from plugins and turn them into error responses.
...
When a plugin throws an unchecked exception, we're not catching it
anywhere and so the error callback is not being called.
This change adds a try/catch to catch such exceptions.
2014-03-06 21:27:44 -05:00
Joe Bowser
61b23677d1
Hurray! It runs! Now that we have the default WebView working, it's time
...
to make things a little more pluggable.
2014-03-05 15:50:02 -08:00
Joe Bowser
90037dc6cd
Removing the deprecated setAttribute methods to clean up the codebase
2014-03-04 15:02:30 -08:00
Andrew Grieve
e8d48e1f43
Add NOTICE file
2014-02-27 15:36:30 -05:00
Andrew Grieve
a2f8c9c75b
CB-6047 Fix online sometimes getting in a bad state on page transitions.
...
The online bridge toggles between on & off. Turns out that starting with
Android 4.3, navigation resets the online state, so the code had a 50/50
chance of being caught in the wrong state.
We now forcefully reset the online state on page transitions.
2014-02-26 20:23:07 -05:00
Andrew Grieve
5fb83e7f52
Add another convenience overload for CordovaResourceApi.copyResource
2014-02-26 20:20:10 -05:00
Andrew Grieve
dd6bf568d1
Update framework's .classpath to what Eclipse wants it to be.
2014-02-26 20:18:35 -05:00
Andrew Magee
00ee164cef
README.md: android update to android-19.
2014-02-18 22:12:03 -05:00
Andrew Grieve
448071b02d
Fix NPE when POLLING bridge mode is used.
2014-02-18 22:11:38 -05:00
Andrew Grieve
4dad9d0e37
Add RELEASENOTES for 3.4.0
2014-02-18 22:11:38 -05:00
Joe Bowser
3a2117c5d3
Updating NOTICE to include Square for OkHttp
2014-02-18 18:31:28 -08:00
Joe Bowser
26a3f6ddc3
Update JS snapshot to version 3.5.0-dev (via coho)
2014-02-14 13:52:31 -08:00
Andrew Grieve
7741312673
CB-5398 Apply KitKat content URI fix to all content URIs
2014-02-14 11:02:17 -05:00
Andrew Grieve
954a1723f1
CB-5398 Work-around for KitKat content: URLs not rendering in <img> tags
2014-02-13 16:10:40 -05:00
Marcel Kinard
87285d94f7
CB-5908: add splascreen images to template
...
This will enable the default splashscreens to reside in the correct place
after creating a new project. Before only the default icons were present.
I copied these from cordova-app-hello-world.
2014-02-10 16:56:45 -05:00
arudenko
d260d0c182
Added Log.e when Config is not initialised but accessed
2014-02-08 21:24:20 -05:00
Ian Clelland
137eb40fab
CB-5395: Make scheme and host (but not path) case-insensitive in whitelist
2014-02-07 15:02:09 -05:00
Andrew Grieve
af440460e1
Fix broken build from prev. commit (copy & paste error?)
2014-02-04 10:00:58 -05:00
Andrew Grieve
a5c8472a37
Ignore multiple onPageFinished() callbacks & onReceivedError due to stopLoading()
...
I believe this happens only when using custom schemes.
2014-02-04 00:12:11 -05:00
Joe Bowser
dfae37421d
Removing addJavascriptInterface support from all Android versions lower than 4.2 due to security vulnerability
2014-02-03 10:11:53 -08:00
Bas Bosman
438a8d8b75
CB-4984 Don't create on CordovaActivity name
2014-01-28 14:25:26 -08:00
Andrew Grieve
ac2034561d
CB-5917 Add a loadUrlIntoView overload that doesn't recreate plugins.
2014-01-28 10:30:39 -05:00
Andrew Grieve
c42cd4233d
Use thread pool for load timeout.
2014-01-28 10:30:39 -05:00
Andrew Grieve
5b2a73e3eb
CB-5715 For CLI, hide assets/www and res/xml/config.xml by default
...
Add a helper file under assets to say how to re-show the hidden files.
Move the config.xml, www, merges entries to the root to be more discoverable.
2014-01-28 00:28:42 -05:00
Andrew Grieve
6f163a6ba5
CB-5793 ant builds: Rename AndroidManifest during -post-build to avoid Eclipse detecting ant-build/ as a project when importing
2014-01-25 21:58:28 -05:00
Andrew Grieve
cc94cc7d01
CB-5889 Make update script find project name instead of using "null" for CordovaLib
2014-01-24 10:40:40 -05:00
Andrew Grieve
94934ae2cf
CB-5889 Add a message in the update script about needing to import CordovaLib when using an IDE.
2014-01-24 10:29:04 -05:00
Joe Bowser
e361f88501
Update JS snapshot to version 3.5.0-dev (via coho)
2014-01-22 16:30:05 -08:00
Joe Bowser
708c042b61
Set VERSION to 3.5.0-dev (via coho)
2014-01-22 16:30:02 -08:00
Andrew Grieve
600599f49e
Fix type "LANCH" -> "LAUNCH"
2014-01-22 14:53:40 -05:00
Andrew Grieve
1fe7bbbbc4
CB-5793 Make ant work-around work on windows.
2014-01-21 21:14:32 -05:00
Andrew Grieve
f83d7a7cd1
CB-5793 Add work-around for library references not working with custom output directory (ugh).
2014-01-21 15:09:15 -05:00
Andrew Grieve
7094047b3d
CB-5793 Forgot to update ant path for clean.
2014-01-20 10:26:53 -05:00
Andrew Grieve
11d3607688
CB-5793 Don't clean before build and change output directory to ant-build to avoid conflicts with Eclipse.
2014-01-19 23:09:00 -05:00
Andrew Grieve
fcae58d355
CB-4910 Fix CLI's eclipse project template not working on windows due to "*" in the virtual folder name.
2014-01-17 12:00:29 -05:00
Andrew Grieve
ef9ace9e65
CB-5803 Fix cordova/emulate on windows.
2014-01-16 13:19:39 -05:00
Andrew Grieve
22e4039133
CB-5801 Add spawn work-around on windows for it not being able to execute .cmd files
...
More info: https://github.com/joyent/node/issues/2318
2014-01-16 12:11:31 -05:00
Andrew Grieve
4971670e56
CB-5801 exec->spawn in build to make sure compile errors are shown.
2014-01-15 11:41:34 -05:00
Andrew Grieve
e16cab6b9c
CB-5799 Update version of OkHTTP to 1.3
2014-01-15 11:36:43 -05:00
Andrew Grieve
a643c3dba6
Remove package.json within bin/ since we never intend to ship bin/ as an npm module
2014-01-14 16:21:57 -05:00
Andrew Grieve
51abf5b0a6
CB-4910 Update CLI project template to point to config.xml at the root now that it's not in www/ by default.
2014-01-14 12:29:53 -05:00
Andrew Grieve
1cee6e309b
Silence excessive logging from scroll events
2014-01-13 12:07:54 -05:00
Joe Bowser
0777a660bf
CB-5504: Adding onDestroy to app plugin to deregister telephonyReceiver
2014-01-08 13:12:00 -08:00
Andrew Grieve
5e0479e414
CB-5715 Add Eclipse .project file to create template.
...
Adds resource filter to hide CordovaLib/, platform_www/, and cordova/.
Adds linked resources to root www/, merges/, config.xml
2014-01-02 16:40:48 -05:00
Andrew Grieve
942c77816d
CB-5447 Removed android:debuggable=“true” from project template.
2013-12-30 11:27:17 -05:00
Vyacheslav Shabelnik
8e260d5c40
CB-5714 Fix of android build when too big output stops build with error due to buffer overflow.
2013-12-30 11:06:37 -05:00
Andrew Grieve
7951eee8a3
Fix incorrect MIME type for .js files loaded through CordovaResourceAPI.
...
This fixes devtools complaining about .js files being served as "text/plain"
when they have gone through remapUrl().
2013-12-23 15:04:54 -05:00
Justin Wark
be2f7d7a8a
Remove 2 X console.log from exec.js
...
With these console.log statements the output from commands such as 'list-devices' is very messy and hence difficult to parse the output programatically.
2013-12-23 08:54:46 -05:00
Andrew Grieve
59c8e8b46e
CB-5592 Set MIME type for openExternal when scheme is file:
2013-12-20 11:17:24 -05:00
Andrew Grieve
98c8b28bf3
Add RELEASENOTES for 3.3.0 release
2013-12-16 13:58:45 -05:00
Andrew Grieve
7bb5bc01b7
Backfill 3.2.0 release notes
2013-12-16 13:58:45 -05:00
Marcel Kinard
1482c07ae4
CB-5489: clean up docs for deprecated methods
...
- fixed grammer in log message in Config.java
- updated the class javadoc in CordovaActivity to catch up to reality: use config.xml instead of set*Property() methods.
- added deprecation message for SetFullscreen
2013-12-14 08:02:58 -05:00
Joe Bowser
adba84ae6a
CB-5504: Moving code to the App plugin inside Cordova, the place where the grey area beween plugin and platform exists
2013-12-09 14:03:22 -08:00
Michal Mocny
146e296826
CB-5047: Adding a defaults.xml template
...
This template will be consumed by the CLI, instead of the default
platform config.xml which is consumed by the bin/create workflow. We
remove the user app specific settings since those are to be edited in
the top level app config.xml by the user, and are injected by the CLI.
2013-12-05 14:33:21 -05:00
Håkon Nilsen
28c10dba09
CB-5481 Fix for Cordova trying to get config.xml from the wrong namespace
2013-12-05 12:45:34 -05:00
charles bourasseau
e646a0840d
Add missing semicolon
2013-12-05 12:41:28 -05:00
Josh Soref
74ea6bf00a
Spelling fixes
2013-12-05 12:20:58 -05:00
Rich Trott
d7ad784809
CB-5144 Spelling & grammar fixes in README.
2013-12-05 12:13:07 -05:00
Joe Bowser
642bd10dcc
Forgot Apache Headers on MessageTest
2013-12-03 15:52:38 -08:00
Joe Bowser
7c566c36f4
Update JS snapshot to version 3.4.0-dev (via coho)
2013-12-03 15:44:23 -08:00
Joe Bowser
dbbe038939
Set VERSION to 3.4.0-dev (via coho)
2013-12-03 15:44:21 -08:00
ignisvulpis
e3430a916c
prevent ClassNotFound exception for emtpy class name
...
Signed-off-by: Joe Bowser <bowserj@apache.org >
2013-12-03 15:09:32 -08:00
Joe Bowser
ea1f041e11
CB-5487: Remote Debugging is on when your Android app is debuggable.
2013-11-29 15:54:07 -08:00
Joe Bowser
0fe6d9f367
Updating the README
2013-11-29 14:28:11 -08:00
Joe Bowser
46e7359372
Making the object less chatty
2013-11-29 14:28:11 -08:00
Joe Bowser
41cace9a96
Updating tests to KitKat, and making the tests more thread-safe
2013-11-29 14:28:10 -08:00
Joe Bowser
4638331cb4
Incrementing API target
2013-11-29 14:28:10 -08:00
Joe Bowser
e339a7583c
CB-5445: Adding onScrollChanged and the ScrollEvent object. (Forgot to add the WebView)
2013-11-29 14:28:10 -08:00
Joe Bowser
0b7570c9ee
CB-5445: Adding onScrollChanged and the ScrollEvent object
2013-11-29 14:28:10 -08:00
Joe Bowser
a85acfcfc5
Updated CordovaWebView to experiment with onScrollChanged messages
2013-11-29 14:28:10 -08:00
Michal Mocny
3d4ccbec23
Moving the console.log out of run() method
...
Since cordova-cli calls the check_req library run() method, we do not
want to always console.log on success in there (not usually a useful side
effect).
2013-11-29 14:39:09 -05:00
Mark Koudritsky
2f66ec60db
CB-5422: Don't require JAVA_HOME to be defined
...
JAVA_HOME is not necessarily defined on Linux and Mac.
Print out the value of JAVA_HOME in the error message
in case "java -version" fails.
2013-11-29 14:31:48 -05:00
Joe Bowser
f1cfe2b07b
Thanks for Benn Mapes for making this process easy. Updating the Android API level.
2013-11-27 12:09:17 -08:00
Marcel Kinard
6160ca6e30
CB-5490: add javadoc target to ant script
...
- add javadoc target to ant script. It must be invoked explicitly to run.
- ignore the generated javadoc html directories.
- clean up javadoc errors in source files.
- upon invoking 'clean' target, erase generated jar and javadoc
2013-11-26 13:06:28 -05:00
Marcel Kinard
b621c3e4c4
CB-5471: add deprecation javadoc/annotation
2013-11-26 12:05:23 -05:00
Marcel Kinard
64d2ae9ad4
Add javadoc comments to source classes
2013-11-22 17:42:58 -05:00
Joe Bowser
39fc45b8d8
CB-5255: Checking in the Google Check, TODO: Add Amazon FireOS check
2013-11-20 09:35:23 -08:00
Andrew Grieve
fd954adc81
CB-5232 Change create script to use Cordova as a library.
2013-11-15 13:17:56 -05:00
Andrew Grieve
8b379cbf56
Remove Application settings from framework/AndroidManifest.xml
...
They aren't needed since framework is a library.
2013-11-15 12:01:12 -05:00
Marcel Kinard
59c0b04602
CB-5346: remove dependency on device plugin
...
- remove dependency on the device plugin in the js and html
- clean out dollar signs chars that were accidently appended to the license
- fix punctuation in the viewport value
2013-11-13 15:09:19 -05:00
Marcel Kinard
11b3cf3bfd
CB-5346: delete a stale file that isn't needed
2013-11-13 13:54:33 -05:00
Joe Bowser
9254f5a8a5
Updating instructions to indicate that the device plugin is required to be installed via plugman
2013-11-12 14:34:14 -08:00
Joe Bowser
e5b68f4a3c
Fixing plugins configuration, Device shouldn't be checked in here
2013-11-12 14:27:09 -08:00
Joe Bowser
95babc01e3
Removing device plugin
2013-11-12 14:25:37 -08:00
Joe Bowser
4dd792a49f
Removing the plugins directory after the plugins were incorrectly removed
2013-11-12 14:24:30 -08:00
Joe Bowser
207c50e500
This should use plugman to install plugins. Adding path depenencies for plugins is wrong, and shouldn't be done
2013-11-12 13:59:17 -08:00
Steven Gill
763e34e861
CB-5349: fixed regression in update script
2013-11-11 16:32:34 -08:00
Marcel Kinard
b895a0c335
CB-5346 Fix and cleanup broken Android unit test
...
- Found stale cordova.js in the test project. Changed ant script to copy in
a fresh one in the pre-build stage. Removed stale copies from git, added
to .gitignore. This is what was causing the test failure when sending
javascript to the webview.
- Found almost-stale copy of device plugin, did the same as above.
- Fixed spacing in log messages in CordovaWebView.
- Updated README.md with current information.
- Removed dollar signs that were previously accidently appended to the license.
- Added cordova version to html pages, next to the other metadata.
- Fix incorrect separator in the viewport meta tag.
- Changed old-style <log> tag to <preference name="loglevel"> in config.xml.
- In BackButtonMultiPageTest, increased the TIMEOUT so the deviceready event
can trigger the referenced javascript, improved the setup() method to
explicitly load the starting point.
2013-11-11 16:19:01 -05:00
Josh Soref
c5767eb545
CB-5307 Remove references to Callback and Incubator
2013-11-07 09:02:17 -05:00
Joe Bowser
94fb79c17f
CB-5302: Massive movement to get tests working again
2013-11-06 15:06:20 -08:00
Joe Bowser
6856b02aa7
Set VERSION to 3.3.0-dev (via coho)
2013-11-06 15:06:19 -08:00
Marcel Kinard
04f812c136
CB-5301 add missing license headers
2013-11-06 16:27:46 -05:00
Braden Shepherdson
8783cf03b2
[CB-4996] Fix paths with spaces while launching on emulator and device
2013-11-06 10:37:59 -05:00
Marcel Kinard
4e1156e083
CB-5284 Fixing the version from coho
...
Fixing the hardcoded versions, it got auto-incremented by accident.
2013-11-05 14:43:01 -05:00
Joe Bowser
1d6e1d416b
Fixing the VERSION file, it got auto-incremented by coho by accident
2013-11-01 15:29:08 -07:00
Joe Bowser
fd02e5a07e
Update JS snapshot to version 2.10.0-dev (via coho)
2013-11-01 11:11:13 -07:00
Joe Bowser
937056fcaf
Set VERSION to 2.10.0-dev (via coho)
2013-11-01 11:11:09 -07:00
Carlos Santana
41ed18684d
CB-5209 Win: Cannot build Android app if project path contains spaces
2013-10-29 16:29:19 -04:00
Joe Bowser
96d4a22215
CB-5209: Dirty, Dirty Fix for Building. This works, but needs to be prettier.
2013-10-29 14:27:46 -04:00
Andrew Grieve
6e4ef508e8
CB-5193 Fix Android WebSQL sometime throwing SECURITY_ERR.
...
Turns out our Quota logic has been wrong all along. If we were to
actually track the quota needed, we'd need to store a map of
dbName->quota for all dbNames. Instead, we just set a really high quota
since we don't ever want to decline storage.
I *think* this fixes all of the SECURITY_ERR exceptions we've been
seeing. Even those on Honeycomb / ICS.
2013-10-24 11:08:02 -04:00
Andrew Grieve
4437d7f3c4
CB-5191 Deprecate <url-filter>
2013-10-23 22:02:49 -04:00
Braden Shepherdson
001570e941
Updating shelljs to 0.2.6. Copy now preserves mode bits.
2013-10-23 15:22:36 -04:00
Tim Kim
28c41294bb
CB-4872 - moved version script to promise model
2013-10-18 17:13:57 -07:00
Tim Kim
82898da507
CB-4872 - make sure to copy over version scripts to project
2013-10-18 17:13:57 -07:00
Tim Kim
eabcdbf129
[CB-4872] - added android version scripts
2013-10-18 17:13:57 -07:00
mbillau
5ab11edad2
CB-5117: Output confirmation message if check_reqs passes.
2013-10-18 14:22:27 -04:00
Braden Shepherdson
b57317bdc2
Refactoring Android project-level and platform scripts to use Q.js
...
This eliminates the use of shelljs.exec's sync mode, which is the source
of the filehandle leaks that can cause EMFILE on OSX, and are
CPU-intensive everywhere.
Tested locally, needs poking before it gets released.
2013-10-16 13:10:53 -04:00
Braden Shepherdson
1f49f29183
Updating to latest shelljs, old version doesn't preserve +x bits
2013-10-16 13:10:39 -04:00
Andrew Grieve
638fbfabdc
Remove cordova.xml fallback from Config.java (it was removed from PluginManager for 3.0)
2013-10-15 12:17:31 -04:00
Andrew Grieve
16de12a3ba
CB-5080 Find resources in a way that works with aapt's --rename-manifest-package
2013-10-15 12:17:14 -04:00
Andrew Grieve
1316578ba3
Update JS snapshot to version 3.2.0-dev (via coho)
2013-10-02 12:40:53 -04:00
Andrew Grieve
1926c50f09
Remove a couple incorrect lines from RELEASENOTES.md
2013-10-01 15:13:07 -04:00
Joe Bowser
b858a4a5d7
CB-4961: shell.js returns the full path on ls, rebuilding the full path isn't really needed
2013-09-30 16:01:42 -07:00
Joe Bowser
ec9741443b
Updating README.md to have latest Android SDK
2013-09-26 14:35:00 -07:00
Joe Bowser
fe7b2a36ec
CB-4527: This was an easy fix, since the script deletes batch files
2013-09-24 10:52:41 -07:00
Andrew Grieve
2d88a726b7
[CB-4892] Fix create script only escaping the first space instead of all spaces.
2013-09-23 10:16:58 +02:00
Andrew Grieve
a51edd3579
Fix update script to clobber cordova.js file (missing -f)
2013-09-19 15:47:49 -04:00
Andrew Grieve
b7ede8f9ba
Add missing copyright header for Whitelist.java.
2013-09-17 14:20:57 -04:00
Andrew Grieve
15f36cc19d
[CB-4832] Add 3.1.0 RELEASENOTES.md
2013-09-17 13:08:07 -04:00
Andrew Grieve
95edd970bc
Update JS snapshot to version 3.2.0-dev (via coho)
2013-09-17 11:03:52 -04:00
Andrew Grieve
2c6285d4b3
Set VERSION to 3.2.0-dev (via coho)
2013-09-17 11:03:51 -04:00
Andrew Grieve
1d1cdb5ea4
Always have create script rebuild jar when on a dev version
2013-09-16 14:25:12 -04:00
Andrew Grieve
34bdef9c45
[CB-4817] Remove unused assets in project template.
2013-09-13 23:07:41 -04:00
Andrew Grieve
cad673f8cd
[CB-4817] Avoid generating unused files in create script
...
by using "android update project" instead of "android create project"
2013-09-13 22:49:15 -04:00
Andrew Grieve
7c446b222d
[CB-3542] Convert update script to be node-based.
2013-09-13 22:49:15 -04:00
Andrew Grieve
1bd0f8fcf4
[CB-3542] Delete old ant-based bin/create.xml file.
2013-09-13 22:49:14 -04:00
Andrew Grieve
dd3c261ba2
[CB-3542] Only update framework/ project when building the jar.
...
No need to do it during every check_reqs.
This also extracts the jar building into a helper function.
2013-09-13 22:49:14 -04:00
Andrew Grieve
70cc711ec1
[CB-3542] Delete custom replaceInFile with shelljs.sed().
2013-09-13 22:07:38 -04:00
Andrew Grieve
485f2ee923
[CB-3542] Fail create script if a copy fails.
2013-09-13 22:07:35 -04:00
Andrew Grieve
129be6e476
[CB-3542] Delete extra message when check_reqs fails.
...
check_reqs already outputs a message.
2013-09-13 22:07:31 -04:00
Andrew Grieve
c08b64efb3
[CB-3542] Fix create script's check for whether cordova.jar exists.
2013-09-13 22:07:23 -04:00
Andrew Grieve
f4a0f55b13
Fail fast in create script if package name is not com.foo.bar.
2013-09-13 16:08:45 -04:00
Joe Bowser
39d32bcb5b
CB-4620: Throwing this over the fence, since there is a problem actually in the wild here
2013-09-11 15:02:00 -07:00
Andrew Grieve
3351fdbc74
Restore deleted classes (FileHelper, etc) and deprecate them instead.
...
The classes are:
[CB-4766] JSONUtils.java
[CB-4765] ExifHelper.java
[CB-4764] DirectoryManager.java
[CB-4763] FileHelper.java
2013-09-11 11:13:57 -04:00
Andrew Grieve
7be1f018aa
[CB-3542] Commit bin/node_modules so that it doesn't need to be npm installed.
2013-09-10 16:58:28 -04:00
Andrew Grieve
437daa368a
[CB-4782] Convert ApplicationInfo.java -> appinfo.js
2013-09-10 16:32:42 -04:00
Andrew Grieve
3df09eacf2
Remove out-of-date create script tests.
...
They have clearly not been run in a long time. We verify create script
output manually during releases, and I think that's more meaningful.
2013-09-10 15:25:01 -04:00
Andrew Grieve
483dd3435a
[CB-4769] Fix create script failure due to deleted version.js file
2013-09-10 09:21:57 -04:00
Andrew Grieve
2b0aa03380
[CB-4766] Delete JSONUtils.java
2013-09-09 16:47:55 -04:00
Andrew Grieve
fc7261b199
[CB-4765] Move ExifHelper.java out of core (and into camera plugin)
2013-09-09 16:17:53 -04:00
Andrew Grieve
3200c50b9f
[CB-4764] Delete DirectoryManager.java
2013-09-09 16:11:41 -04:00
Andrew Grieve
862a8eab8d
[CB-4763] Delete FileHelper.java, Move getMimeType() into CordovaResourceApi.
2013-09-09 15:43:04 -04:00
Andrew Grieve
1bfcc92677
Make version in version script easier to replace by coho
2013-09-09 15:37:00 -04:00
Andrew Grieve
80a09b8f36
[CB-4725] Add CordovaWebView.CORDOVA_VERSION constant
...
This used to be available as Device.cordovaVersion, but was broken in 3.0.
2013-09-09 11:22:18 -04:00
Joe Bowser
5f7ce4b868
Reverting CB-3949: Squeay wheel gets the grease
2013-08-28 14:42:23 -07:00
Joe Bowser
412d97fa0c
Incremeting version check for Android 4.3 API Level 18
2013-08-28 14:41:42 -07:00
Benn Mapes
57bed98cf1
Added commit 150cdfd, override arg for project template
...
Conflicts:
bin/create
2013-08-28 14:04:43 -07:00
Benn Mapes
b1d8788506
Fix for cli with new node scripts
2013-08-27 11:41:54 -07:00
Benn Mapes
1bd4900981
[CB-3542] rewrote cli tooling scripts in node
2013-08-26 14:45:28 -07:00
Ian Clelland
e6812f18a0
Allow CordovaChromeClient subclasses access to CordovaInterface and CordovaWebView members
2013-08-23 14:37:36 -04:00
Ian Clelland
f604988181
Refactor CordovaActivity.init so that subclasses can easily override factory methods for webview objects
2013-08-23 13:04:19 -04:00
Ian Clelland
150cdfd3ac
[CB-4652] Allow default project template to be overridden on create
2013-08-23 13:04:19 -04:00
Joe Bowser
f42b34d6b4
CB-4318: We have docs, this doesn't need to be in the comments
2013-08-20 16:29:31 -07:00
Andrew Grieve
166b35bc6c
Tweak the online bridge to not send excess online events.
...
It does so by having the JS tell it when online events have fired.
2013-08-15 15:55:08 -04:00
Tomaz Muraus
121b74fa0c
[CB-4495] Modify start-emulator script to exit immediately on a fatal emulator error.
2013-08-15 11:46:50 -04:00
Andrew Grieve
5451320350
Log WebView IOExceptions only when they are not 404s
2013-08-15 11:33:38 -04:00
Andrew Grieve
fe45b29ef6
Use a higher threshold for slow exec() warnings when debugger is attached.
2013-08-13 15:08:54 -04:00
Andrew Grieve
4e1aa8aa59
Fix data URI decoding in CordovaResourceApi
...
It was not URI-decoding first, and so was broken for non-base64-encoded
URIs.
2013-08-13 14:11:40 -04:00
Ian Clelland
fa366eb7a8
[CB-4140] Fix master branch cordova version to 3.1.0-dev
2013-08-09 10:45:39 -04:00
Andrew Grieve
e086a706ba
Remove plugin references in test project's config.xml
2013-08-02 13:19:14 -04:00
Benn Mapes
53b8da8198
[CB-4466] fixed jscript check_reqs to get target from project.properties
2013-08-01 17:57:58 -07:00
Fil Maj
c2c5f71018
[CB-4463] Updated bin/check_reqs to looks for android-18 target.Also fixed an issue in unix version of script that would invoke the android command if an error occurred.
2013-07-30 17:14:46 -07:00
Joe Bowser
2bdc849c2b
CB-3819: Implemented Feature
2013-07-30 15:03:25 -07:00
Max Woghiren
7cbe8f5843
[CB-4013] Fixed loadUrlTimeoutValue preference.
2013-07-30 12:21:50 -04:00
Sharif Ahmed
810df61049
[CB-4410] Fixed @param mismatching
2013-07-30 11:21:02 -04:00
Joe Bowser
5c38101a9e
Upgrading project to Android 4.3
2013-07-29 11:30:41 -07:00
Fil Maj
b4236b9783
[CB-4198] bin/create script should be better at handling non-word characters in activity name. Patched windows script as well.
2013-07-25 10:33:05 -07:00
Fil Maj
980c4699b0
[CB-4198] bin/create should handle spaces in activity better.
2013-07-24 21:21:41 -07:00
Ian Clelland
463c7b5027
[CB-4096] Implemente new unified whitelist for android
2013-07-23 11:23:14 -04:00
David Kemp
7c7230dd35
[CB-4280] handle invalid bridge mode request
2013-07-22 18:15:09 -04:00
Andrew Grieve
b915aafb5b
[CB-3384] Fix thread assertion when plugins remap URIs
2013-07-18 01:38:47 -04:00
David Kemp
8202ab83fa
[CB-4133] Add main thread warning for plugins that run too long
2013-07-16 21:19:11 -04:00
Joe Bowser
2fe6d14e56
We can remove the plugins tag now. Tested plugman, it's all good.
2013-07-16 15:00:28 -07:00
Ian Clelland
7ee285342f
Update cordova.js to latest (3.0.0-rc1) version
2013-07-16 14:48:48 -04:00
Andrew Grieve
6fe18ae0ab
[CB-3384] Use the ExposedJsApi to detect webCore thread instead of IceCreamCordovaWebViewClient.
...
Also removes a debug log statement.
2013-07-16 09:39:47 -04:00
Joe Bowser
5c4fa213d1
CB-4230: We test Cordova, not jQuery Mobile
2013-07-15 14:08:54 -07:00
Joe Bowser
1895d8ac9e
CB-3944: Removing activity that doesn't exist
2013-07-15 13:54:00 -07:00
Joe Bowser
7f5f87ac72
CB-3957: The new activity wasn't added to the Android Manifest
2013-07-15 13:51:27 -07:00
ldeluca
0244341ac5
moved the backgroundcolor class to correct classpath
2013-07-15 13:46:18 -07:00
ldeluca
ae96d5678b
changes the test name to make it auto run
2013-07-15 13:46:17 -07:00
denis
a9ebf50b86
Prevent NPE in case webview is lately initialized
2013-07-15 13:34:55 -07:00
Andrew Grieve
8d8cbf6e28
Set minSdkVersion to 8 for DroidGap project
2013-07-15 15:22:51 -04:00
Andrew Grieve
77e9092108
[CB-3384] Reworked UriResolver into CordovaResourceApi.
...
Changes were made after trying to use the API for Camera, FileTransfer, Media.
The main difference is separating the concept of URI remapping from the read/write helpers.
2013-07-15 15:18:39 -04:00
Fil Maj
210d7c76e6
[CB-3605] Updated README to reflect changes in command-line scripts for cordova-android.
2013-07-15 11:27:05 -07:00
Fil Maj
01ad3f447a
[CB-3605] removing unused package.json
2013-07-12 10:27:27 -07:00
Ian Clelland
546948cb8c
[CB-4154] Set default Android target to android-17
...
This is done in the default project.properties file, as well as the create
script for new projects.
2013-07-11 22:26:15 -04:00
Joe Bowser
37c20c3f67
Updating cordova.js for unit tests
2013-07-11 16:26:12 -07:00
Joe Bowser
22daea11e1
Accidentally committed Blacklist Test, removing this broken test case
2013-07-11 16:25:38 -07:00
Joe Bowser
792aa78aec
Updating imports on all the tests
2013-07-11 15:04:24 -07:00
Joe Bowser
5cf95cfa01
CB-4156: Adding back the App plugin, since this is required
2013-07-11 14:00:50 -07:00
Ian Clelland
fff956304f
[CB-4140] Fix master branch cordova version to DEV
2013-07-11 14:11:37 -04:00
Ian Clelland
3ae28b3085
[CB-4151] Extract whitelist from Config class for testability
2013-07-11 14:11:37 -04:00
Joe Bowser
b5df9dd88e
CB-3724: Removing the file exceptions
2013-07-11 10:21:40 -07:00
Max Woghiren
b6a01a203a
[CB-4103] Made config parameters case-insensitive.
...
For consistency with other platforms (and for readability), UpperCamelCasing is used by default in the code.
2013-07-10 17:27:13 -04:00
Andrew Grieve
990d91360d
[CB-3384] Add a length getter for UriResolver. Change from interface -> abstract class.
...
Thinking here is that we can maintain compatibility going forward with a
base class as opposed to interface by having new methods on it have
default implementations.
2013-07-10 15:13:03 -04:00
Andrew Grieve
b5c3ac605a
[CB-4038] - Remove o.a.c.api namespace
2013-07-10 09:44:54 -04:00
denis
55865a4f1d
Let subclasses override focus behavior
...
Signed-off-by: Joe Bowser <bowserj@apache.org >
2013-07-09 15:45:41 -07:00
Joe Bowser
ff27ad332b
CB-3172: Killing the deprecation notice in Android, waiting for plugman fixes before removing the empty tags
2013-07-09 15:13:15 -07:00
Joe Bowser
85bad87c1c
CB-4139: Seriously, we didn't deprecate this for a year? WTF?
2013-07-09 15:10:42 -07:00
Ian Clelland
f7014f14df
Update cordova.js -- includes new Binary bridge, supporting Android 4.0
2013-07-09 16:45:25 -04:00
Andrew Grieve
99341bce29
[CB-3384] Make UriResolver assert that IO is not on the UI nor WebCore threads.
2013-07-05 11:44:38 -04:00
bennmapes
bf6291020a
Added 'log' back to windows cli tooling
2013-07-03 10:52:13 -07:00
Andrew Grieve
79829f6209
[CB-4038] Move non-deprecated classes from the api package into the main package.
2013-06-28 21:53:09 -04:00
Andrew Grieve
a97487bcec
[CB-4048] Merge branch '3.0.0' into master
2013-06-28 11:59:54 -04:00
Andrew Grieve
892ffc8ce4
[CB-3384] Rewrite of DataResource into UriResolver + UriResolvers
...
Includes unit tests woot!
Note that this remove CordovaPlugin.shouldInterceptRequest(). Should be
fine since this method was introduced only a couple of releases ago, was
never documented, and afaict was only used by the Chrome Cordova plugins.
2013-06-27 21:55:28 -04:00
Joe Bowser
fbf7f1c3f9
Fixes to the update command so it doesn't delete anything other than build artifacts
2013-06-27 12:59:49 -07:00
Andrew Grieve
3b7e0504e8
Remove accidentally checked in log statement "running exec normally"
...
(cherry picked from commit 68bc57ae85 )
2013-06-26 14:23:50 -04:00
Andrew Grieve
68bc57ae85
Remove accidentally checked in log statement "running exec normally"
2013-06-26 14:22:41 -04:00
Andrew Grieve
f42e5f66fd
Explicitly print exceptions that occur within ExposedJsApi.
...
Before they trickled into JNI and the stack traces were lost.
(cherry picked from commit 10d31ea0a3 )
2013-06-26 14:21:48 -04:00
Andrew Grieve
10d31ea0a3
Explicitly print exceptions that occur within ExposedJsApi.
...
Before they trickled into JNI and the stack traces were lost.
2013-06-26 14:20:45 -04:00
Don Coleman
e64ebdfaee
[CB-3998] video duration is an int
2013-06-25 14:35:23 -04:00
Joe Bowser
7e15ff930d
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-06-24 11:31:47 -07:00
Joe Bowser
b83610a653
CB-3949: Adding code to mitigate broken intents with the application installer
2013-06-24 11:31:32 -07:00
Jeffrey Willms
16e08384c0
[CB-3927] Fix start-up race condition that could cause exec() responses to be dropped.
...
Requires a change to the JS as well.
(cherry picked from commit 9cb14838e8 )
2013-06-21 18:31:57 -04:00
Jeffrey Willms
9cb14838e8
[CB-3927] Fix start-up race condition that could cause exec() responses to be dropped.
...
Requires a change to the JS as well.
2013-06-21 18:30:50 -04:00
Fil Maj
6fe66ad79c
Accidentally commented "build" out when running ./run --emulator. Whoops D:
2013-06-21 14:23:40 -07:00
Andrew Grieve
f78b444ed1
Remove PluginManager.exec's return value (unused).
...
It's not only not used, but when it was used was messing up the
DISABLE_EXEC_CHAINING flag.
(cherry picked from commit 9946d15f23 )
2013-06-20 22:22:59 -04:00
Andrew Grieve
9946d15f23
Remove PluginManager.exec's return value (unused).
...
It's not only not used, but when it was used was messing up the
DISABLE_EXEC_CHAINING flag.
2013-06-20 22:20:58 -04:00
Joe Bowser
b032dcca16
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-06-20 16:33:17 -07:00
Joe Bowser
01d6ae55a4
CB-3854: Added support for wildcard. This probably could be improved, but it does work
2013-06-20 16:33:14 -07:00
Joe Bowser
f1b377bf07
CB-3854: Added support for wildcard. This probably could be improved, but it does work
2013-06-20 16:32:18 -07:00
Andrew Grieve
03c5208d47
Update JS snapshot to version 2.9.0rc1 (via coho)
2013-06-20 15:21:58 -04:00
Joe Bowser
3ace9348f6
Merge branch 'CB-3932' of git://github.com/angelaf/cordova-android
2013-06-19 16:03:18 -07:00
Angela Fowler
3a14017729
CB-3932 Remove baseUrl comment in handleDestroy method made redundant by CB-3766
2013-06-19 15:22:42 +10:00
Steven Gill
e726c0d60b
updated cordova.js
2013-06-18 17:01:56 -07:00
Joe Bowser
98b971b4de
CB-3902: Explicitly add market URIs to CordovaWebViewClient so this always works, not just sometimes
2013-06-18 16:20:14 -07:00
Benn Mapes
4ec3d6d064
[CB-3625] [CB-3338] updated windows cli scripts and added version option
2013-06-18 14:56:11 -07:00
Tim Kim
c531d97ed2
Need to remove reference to device plugin in template
2013-06-18 14:26:11 -07:00
Joe Bowser
8c9e416175
CB-3784: Patches are always welcome
2013-06-18 13:14:30 -07:00
Andrew Grieve
431f3337d9
Update JS snapshot to version 2.9.0rc1
2013-06-18 13:49:19 -04:00
Fil Maj
63ab701685
updated js from latest cordova-js 3.0
2013-06-17 16:53:04 -07:00
Joe Bowser
c9b164b983
Removing bench from the README
2013-06-17 15:49:40 -07:00
Joe Bowser
54d32ad910
CB-3784: Nit-picking
2013-06-17 15:45:56 -07:00
Steven Gill
c8140bad19
removed device.java
2013-06-17 15:27:02 -07:00
Fil Maj
2e5b6bce55
updated cordova.js to remove dependency on network status plugin.
2013-06-17 12:08:10 -07:00
Fil Maj
5ee178789f
Axed all permissions from template manifest except for INTERNET. Bumped minSDkVersion to 10.
2013-06-17 11:23:17 -07:00
Fil Maj
0efd9fcac0
[CB-3627] start-emulator now properly starts, waits for and unlocks an emulator, consumed by run as well.
2013-06-14 17:22:57 -07:00
Joe Bowser
c0a39570c9
CB-2391: False positive, this affects 4.2.2, not ICS. Bug breaks before we get to this point. :(
2013-06-14 17:03:40 -07:00
Joe Bowser
9ac4b570e6
CB-2391: Fix for colons crashing the WebView on ICS, tested on Samsung Galaxy S2
2013-06-14 16:55:47 -07:00
Joe Bowser
6689827278
Fixing the config.xml on tests to use the ActivityPlugin
2013-06-14 15:31:23 -07:00
Joe Bowser
86a24ebd0f
Updating the JS used in the tests
2013-06-14 15:31:03 -07:00
Joe Bowser
d2a7d18067
Fixed bad comment, it's all dying at the same time
2013-06-14 15:30:24 -07:00
Joe Bowser
b679672c0e
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-06-14 15:29:51 -07:00
Joe Bowser
90f83db9c9
CB-3504: Fixing issue with the use of WebResourceResponse on pre-Honeycomb devices.
2013-06-14 15:29:30 -07:00
Fil Maj
32d74f8623
correct refs to various lib scripts in run.
2013-06-14 14:48:23 -07:00
Fil Maj
53cc381c76
removing unused script anymore from create.
2013-06-14 14:44:26 -07:00
hermwong
d845736948
removed file system access permission
2013-06-13 16:59:54 -07:00
Fil Maj
add107583f
Proper modularization of bash scripts for [CB-3627], but not solved yet. wait_for_emulator does not work atm
2013-06-13 16:46:21 -07:00
hermwong
dd837f7130
removed vibration permission
2013-06-13 16:31:27 -07:00
Steven Gill
12ebadbb0f
Merge branch '3.0.0' of https://git-wip-us.apache.org/repos/asf/cordova-android into 3.0.0
2013-06-13 15:56:00 -07:00
Steven Gill
e30bc6b6e4
updated cordovajs
2013-06-13 15:55:48 -07:00
Tim Kim
9288158226
Made some functions in DirectoryManager public
2013-06-13 15:24:01 -07:00
Steven Gill
3a55991480
updated js
2013-06-13 14:54:30 -07:00
Steven Gill
9e44596db7
updated directory manager
2013-06-13 14:39:08 -07:00
Fil Maj
e86d811fc0
[CB-3626] fix to start-emulator: if no id is provided, should start the first emulator
2013-06-13 12:44:43 -07:00
Ian Clelland
5cff144a22
[CB-2406] Add support for binary data in FileWriter.write()
2013-06-12 13:33:03 -04:00
Joe Bowser
a021adb7fd
CB-3766: Javascript uses loadUrl, not loadUrlIntoView, which is only for documents
2013-06-12 09:33:52 -07:00
Joe Bowser
e2a090bbba
Don't call loadUrlIntoView on the actvity
2013-06-12 09:18:10 -07:00
Joe Bowser
a70c8536f9
Re-adding the Plugin.java shim for now. This will remain a 2.x-only feature
2013-06-11 10:38:42 -07:00
Steven Gill
9aaa152b9a
updated from master
2013-06-10 17:15:05 -07:00
hermwong
a2b8ebf57e
Merge branch '3.0.0' of https://git-wip-us.apache.org/repos/asf/cordova-android into 3.0.0
2013-06-10 16:21:32 -07:00
hermwong
b3fe47985a
removed android.permission.ACCESS_COARSE_LOCATION and android.permission.ACCESS_FINE_LOCATION from AndroidManifest.xml for PBR
2013-06-10 16:14:56 -07:00
Joe Bowser
e52d4fc003
CB-3736: Cleaning up code so that this makes more sense. Variables are OK
2013-06-07 16:43:53 -07:00
Joe Bowser
3753e3f353
Trying to get DataResource reverted so that we don't have to worry about this blowing up while we're breaking things out. DataResource should be on a branch until it's ready!
2013-06-06 14:35:12 -07:00
Andrew Grieve
979d8e66f2
Revert "Added "DataResource" - allows many plugins to intercept a single request"
...
This reverts commit 62c3e46529 .
Reverting all DataResource changes for the 2.8.0 release.
Conflicts:
framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
framework/src/org/apache/cordova/api/DataResource.java
framework/src/org/apache/cordova/api/DataResourceContext.java
2013-06-06 14:14:14 -07:00
Andrew Grieve
c5b37cc7e7
Revert "Changed all usages of FileHelper to use the new DataResource mechanism."
...
This reverts commit 867358ea81 .
Reverting all DataResource changes for the 2.8.0 release.
Conflicts:
framework/src/org/apache/cordova/FileUtils.java
2013-06-06 14:12:44 -07:00
Andrew Grieve
e3989bcc2b
Revert "DataRequest code cleaned up."
...
This reverts commit a001d8cfb7 .
Reverting all DataResource changes for the 2.8.0 release.
Conflicts:
framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
2013-06-06 14:10:13 -07:00
Andrew Grieve
2f9c512b59
Revert "DataResource bugfix WebviewClient logs error for http urls."
...
This reverts commit 8f91ebf194 .
Reverting all DataResource changes for the 2.8.0 release.
Conflicts:
framework/src/org/apache/cordova/FileHelper.java
framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
2013-06-06 14:08:52 -07:00
Andrew Grieve
43172cf530
Revert "CB-3496: Fixed streaming audio, this is pretty important for mobile spec"
...
This reverts commit aa81966e0b .
Going to revert all DataResource changes for on the 2.8.x branch.
2013-06-06 14:06:54 -07:00
Braden Shepherdson
e518eacbde
Replace naive relative path in version script with proper one
2013-06-06 12:00:33 -04:00
David Kemp
c3b8b279b0
CB-3420: add hidden option to InAppBrowser
2013-06-05 10:19:56 -04:00
Joe Bowser
0dd4951be7
Forgot to update this so that it doesn't destroy someone's project, FAIL
2013-06-04 14:28:16 -07:00
Joe Bowser
12d06bd727
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-06-03 14:45:49 -07:00
Joe Bowser
bc52345f05
CB-3548: Throwing this one over the fence, but this change appears sane. We should just return false.
2013-06-03 14:45:27 -07:00
Ian Clelland
c28a313374
[CB-3569] Allow FileTransfer.upload to reference android_assets
2013-06-03 16:14:22 -04:00
Ian Clelland
c509c8e7e5
[CB-3563] Update references to DroidGap in code comments
2013-05-31 11:20:33 -04:00
Ian Clelland
fb89cef256
[CB-3563] Replace instances of DroidGap in log messages with more appropriate symbols
2013-05-31 11:16:09 -04:00
Ian Clelland
9ac9fd4fe9
[CB-3563] Change default logging tag from DroidGap to CordovaActivity
2013-05-31 10:54:40 -04:00
Ian Clelland
dfb89df4f1
[CB-3561] Update documentation comments to match implementation
...
Affects CordovaInterface and CordovaActivity. There should probably be a
concerted effort to update this across the entire project.
2013-05-31 10:54:40 -04:00
Andrew Grieve
0e572aea36
[CB-3340] Add copying of the version script to bin/create
2013-05-29 10:23:00 -04:00
Andrew Grieve
420cee4ee6
[CB-3468] Add missing license headers found by RAT
2013-05-28 16:43:38 -04:00
Ian Clelland
403297d967
CB-3523: Fix NPE on app restart with outstanding callback
2013-05-28 15:11:25 -04:00
Ian Clelland
abba254a38
CB-3358: Remove one more reference to commons-codec
2013-05-28 15:09:21 -04:00
Shravan Narayan
048107e378
CB-3384 Bugfix - Non null Mimetype is not required for WebResourceResponse
2013-05-28 13:58:39 -04:00
David Kemp
78efe2a960
CB-3358: Change Commons-codec:base64 to Android:Base64
2013-05-27 22:25:23 -04:00
Andrew Grieve
8077091b34
Update JS snapshot to version 2.8.0rc1
2013-05-27 22:15:49 -04:00
Joe Bowser
683e32cffb
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-05-24 11:29:49 -07:00
Joe Bowser
1c9d76e637
CB-3496: Fixed streaming audio, this is pretty important for mobile spec
2013-05-24 11:29:28 -07:00
Steven Gill
98d9901693
removed contacts from js
2013-05-23 15:18:39 -07:00
David Kemp
ee58107caa
CB-3480: update now uses cordova.js not cordova-<ver>.js
2013-05-23 12:20:15 -04:00
Steven Gill
75f358d01e
removed contact code from js
2013-05-22 17:12:13 -07:00
Ian Clelland
01946dd4d6
[CB-3430] [CB-1413] Remove Old (2.3.3) HTTP Workaround
2013-05-22 13:57:16 -04:00
Joe Bowser
c9e16b2c39
CB-3364: Updating build instructions
2013-05-21 15:23:55 -07:00
Joe Bowser
77eada7dbd
CB-3064: We need to re-create the config object on resume, always create an object on init.
2013-05-21 13:33:09 -07:00
Steven Gill
f7c97cb1d0
removed splashscreen code from cordova.js
2013-05-21 13:04:40 -07:00
Andrew Grieve
f38a2ae14a
Add a .reviewboardrc file to make using post-review easier.
2013-05-21 12:35:47 -04:00
Steven Gill
7c22bc74bc
removed batter code from js
2013-05-20 17:40:11 -07:00
Steven Gill
dfd668d145
removed inappbrowser from cordovajs
2013-05-20 15:01:50 -07:00
Steven Gill
dbc6dd73f3
removed CordovaLocationListner
2013-05-17 15:38:08 -07:00
Steven Gill
4765c6fcc5
updated cordovajs, removed geolocation code
2013-05-17 15:19:04 -07:00
Steven Gill
78dd084303
updated cordova.js to include proper plugin loading
2013-05-17 10:51:52 -07:00
Steven Gill
cd9fb9b709
updated cordovajs
2013-05-16 18:01:24 -07:00
Steven Gill
adcbd879c8
ripped out plugins
2013-05-16 17:53:11 -07:00
Fil Maj
227733d195
[CB-3416] adding empty <plugins> element during deprecation window.
2013-05-16 14:35:58 -07:00
Shravan Narayan
13148728b3
Bugfix: Config parser for plugins with onload param.
...
The functionality was broken in the move from plugins to feature tags.
2013-05-16 15:41:59 -04:00
Shravan Narayan
8f91ebf194
DataResource bugfix WebviewClient logs error for http urls.
2013-05-16 14:29:04 -04:00
macdonst
230c635a54
[CB-3392] Fix a problem with the Windows jscript runtime
...
The problem is with this line in "create.js":
var ACTIVITY_PATH=PROJECT_PATH+'\\src\\'+PACKAGE_AS_PATH+'\\'+ACTIVITY+'.java';
[...]
exec('%comspec% /c copy "'+ROOT+'"\\bin\\templates\\project\\Activity.java '+ ACTIVITY_PATH +' /Y');
The Windows "copy" command will not create directories that don't exist, so the command above fails because "src\PACKAGE_AS_PATH" doesn't exist. This can be fixed with:
Also update cordova.js reference
2013-05-14 19:19:10 -04:00
Simon MacDonald
e1f930282c
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-05-13 22:23:25 -04:00
Simon MacDonald
cb07fe395c
CB-3068: Android menu not appearing as actionoverflow
2013-05-13 22:22:59 -04:00
Tim Kim
3917284f71
[CB-3340] - version script
2013-05-13 15:30:16 -07:00
Michal Mocny
8bfd45c095
[CB-3307] Fixing bin/create script due to cordova-$VERSION.js -> cordova.js change.
2013-05-13 10:30:02 -04:00
Shravan Narayan
a001d8cfb7
DataRequest code cleaned up.
2013-05-08 17:38:58 -04:00
Shravan Narayan
867358ea81
Changed all usages of FileHelper to use the new DataResource mechanism.
2013-05-08 17:38:58 -04:00
Shravan Narayan
62c3e46529
Added "DataResource" - allows many plugins to intercept a single request
2013-05-08 17:38:58 -04:00
Andrew Grieve
8a95ed8ee6
[CB-3307] Rename cordova-VERSION.js -> cordova.js
2013-05-08 09:52:56 -04:00
Joe Bowser
20caac1b6e
CB-3357: Fixing resource grabbing
2013-05-07 13:30:30 -07:00
Joe Bowser
48b8c69ba0
Part 2 of 2: CB-2657 Creating the dummy class so we have backwards compatibility
2013-05-07 09:46:26 -07:00
Joe Bowser
35d53a0684
Part 1 of 2: CB-2657 Moving DroidGap in git so we don't lose random commits. This is irritating
2013-05-07 09:45:50 -07:00
Joe Bowser
dbeb252fee
CB-3337: Not sure why the splashscreen was changed, fixing 9-patch
2013-05-03 15:37:48 -07:00
mbillau
21614ea891
Fix spacing, convert all tabs to spaces
2013-05-03 13:21:01 -04:00
mbillau
4b38ccef80
CB-3022: Add default text to Android Prompt
2013-05-03 13:18:30 -04:00
Abel Muiño
2d4d18fd75
[CB-3040] length is 1-based, but index is 0-based, can't use == in comparison
2013-05-03 13:13:48 -04:00
Andrew Grieve
27cd9dde38
[CB-1108] Update config.xml template's list of available <preference>s
2013-05-03 12:18:36 -04:00
Andrew Grieve
373da39ac2
[CB-1108] Make onload=true settable as a <feature> <param>
...
Plus some simplification of code.
2013-05-03 12:18:21 -04:00
Andrew Grieve
b7990b7df8
Deprecate <log> in favour of <preference name="loglevel">
2013-05-03 12:11:09 -04:00
Gorkem Ercan
4b9047b7d8
[CB-1108] Convert config.xml from <plugin> to <feature>
...
This unifies the config.xml used by iOS and Android. Now <feature> tags can be used
to add plugins. The changes are non-intrusive so the older versions of the config.xml
can still be used after this change. The value of a param named "android-package"
determines the class for the plugin.
2013-05-03 11:35:00 -04:00
ucavus
d226818be3
[CB-3304] Windows create script - Parameters should be quoted
...
Choking on spaces in filenames
2013-05-03 11:12:47 -04:00
Andrew Grieve
1ee9da79f8
Set VERSION to "dev" on master.
2013-04-30 14:33:54 -04:00
Joe Bowser
070eb6b947
Updating notice because okhttp is part of the AOSP
2013-04-29 10:57:00 -07:00
Ian Clelland
cbb0bd5ee7
[CB-2431] Update to okhttp to include jwilson's recovery fixes [f38fec5b]
2013-04-29 09:37:53 -04:00
Ian Clelland
553a25cea7
[CB-2431] Switch to OkHttp for FileTransfer connections
2013-04-29 09:31:23 -04:00
Shravan Narayan
53982272d6
[CB-3226] Fix: plugins can intercept urls with "?", "#", "%20"
2013-04-24 18:59:24 -04:00
Joe Bowser
a32cf2344f
CB-2810: Add Source and Line Number to logging, I wish we could tell the Web Console to shut up if it doesn't match our console
2013-04-23 14:56:14 -07:00
Joe Bowser
934cf32163
CB-3064: One line fix for the error where the config wasn't being read. Will have to add doc step for CordovaWebView
2013-04-23 13:53:10 -07:00
Joe Bowser
a17c7b9bbf
Fixing CB-2685: This class does nothing. Cordova is a Library not an Application
2013-04-22 16:57:54 -07:00
Joe Bowser
a03df3fad0
Merge branch 'cordova-lib' of git://github.com/bennmapes/cordova-android
2013-04-19 12:59:05 -07:00
Benn Mapes
86cd20dcc3
[CB-2788] added bash check-reqs script
2013-04-19 11:39:48 -07:00
Joe Bowser
71402b658e
Merge branches 'scripts' and 'master'
2013-04-19 10:08:16 -07:00
Joe Bowser
5d8d8e77f8
Merge branch 'cordova-lib' of git://github.com/bennmapes/cordova-android into scripts
2013-04-18 16:35:35 -07:00
Benn Mapes
4dee30ed84
[CB-2914] Cli script migration for unix bash
2013-04-18 16:34:52 -07:00
Joe Bowser
025676d6e7
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-04-18 14:52:17 -07:00
Joe Bowser
aad396ae38
CB-3165: Deprecation Notice
2013-04-18 14:44:00 -07:00
Andrew Grieve
c798d131bb
Update JS snapshot for 2.7.0
2013-04-18 15:28:00 -04:00
Ian Clelland
bf3e024648
[CB-3066] Fire onNativeReady from JS, as bridge is available immediately
2013-04-18 14:20:32 -04:00
Andrew Grieve
191f31baa7
[CB-2432] Don't try and write exif info for images from picasa
2013-04-17 16:40:00 -04:00
Joe Bowser
d3b7903af8
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-04-17 13:37:48 -07:00
Joe Bowser
99e7d1e161
Merge branches 'sunshine' and 'master'
2013-04-17 13:37:19 -07:00
Andrew Grieve
b13166f5d9
[CB-2432] Fix Camera.getPicture() for picasa images
2013-04-17 16:12:28 -04:00
Andrew Grieve
80fe4458c6
Use FileHelper in IceCreamCordovaWebViewClient.
...
Removes some duplicate logic and makes it a bit more robust.
2013-04-17 15:51:37 -04:00
Andrew Grieve
791574c26e
Make URL parsing more robust in FileHelper.
...
Fixes some cases when query parameters mess things up.
2013-04-17 15:50:29 -04:00
Joe Bowser
ac61ebf2d5
Merge branch 'master' of github.com:SunshineTech/cordova-android into sunshine
2013-04-17 11:44:49 -07:00
Benn Mapes
4599e9897d
[CB-2914] Cli script migration for windows jscript
2013-04-16 15:51:06 -07:00
avidmich
cb99ed0a01
Fixing URL transformation algorithm
...
It didn't work with URL like this:
http://host.com/path/to/file.txt#/foo?bar=baz
When hash sign is in front of question mark - it only strips the question mark, leaving the hash and breaking the whole app.
2013-04-16 15:45:32 -04:00
Andrew Grieve
4864d52966
[CB-2202] Remove Plugin.java (was deprecated).
2013-04-16 15:29:16 -04:00
Andrew Grieve
b2d61679fb
[CB-2963] Re-enable sending messages in batches.
...
Disabled by CB-1745, which is now reverted.
2013-04-16 15:04:56 -04:00
lorinbeer
383b3dadd5
[CB-3024] expanded help string for cl create script
2013-04-12 08:32:22 -07:00
Joe Bowser
c65c259123
CB-2200: Remove deprecated Android device.name
2013-04-11 13:53:12 -07:00
Joe Bowser
e7e2730929
Fixing CB-2955, breaking CB-2085, use localStorage, NOT WebSQL
2013-04-08 15:53:14 -07:00
Joe Bowser
bb9615eed0
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-04-04 16:06:03 -07:00
Joe Bowser
18877bf80e
Adding additional condition that the phone must be made by HTC for the setNavDump to be set to true to try and work around CB-2907, if it's still a problem on HTC devices running Android 2.2, that's just the luck of the draw.
2013-04-04 16:05:35 -07:00
HUANG Menghuai
778b784eb6
[CB-2908] Fix the DroidGap activity Lifecycle broken issue
...
Attempting to invoke the Activity's finish() onDestroy breaks an Activity's lifecycle
flag. OnDestroy can be called by the system, for instance, on restarting an Activity,
it's definitely different from a normal finish().
Finish() incorrectly in onDestroy results in another DroidGap derived activity
is started, while the original one is not yet onDestroy. This issue could be
found when the system is trying to restart the activity upon, for instance,
receiving immediately successive device Config changes.
2013-04-04 16:47:03 -04:00
Andrew Grieve
5ff900f7ec
Fixup for CB-2654.
2013-04-04 16:45:39 -04:00
Steren
ba31424604
Keep the splashscreen image ratio instead of streatching it.
...
An ImageView is used to be able to use ScaleType.CENTER_CROP, which is similar to the background-size:cover CSS property
2013-04-04 16:19:12 -04:00
Ian Clelland
1782111d45
[CB-2654] Delay executeScript/insertCSS callback until resources have loaded; pass JS results to callback
2013-04-04 14:34:58 -04:00
Max Woghiren
1fa63300aa
[CB-2666] Added check for null arguments.
...
If null arguments are received, send an error and an explanation.
2013-04-02 11:51:25 -04:00
Joe Bowser
b42c918973
Prep for 2.6.0 final
2013-04-01 14:54:51 -07:00
Joe Bowser
f12262ea96
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-03-28 10:02:46 -07:00
Joe Bowser
334cf45d6d
Fixing CB-1700, we had the file names reversed, so exif was never being written right. Needed to upload a file to debug this thing
2013-03-28 10:02:18 -07:00
Joe Bowser
b7bb72294a
CB-1796: Let's make sure we actually write the file instead of just writing EXIF to NOTHING
2013-03-28 10:02:02 -07:00
Joe Bowser
64ff204371
Updating JS
2013-03-28 10:01:15 -07:00
Ian Clelland
282367c6d5
[CB-1517] Properly report download progress for GZIP-encoded resources
2013-03-27 17:00:22 -04:00
James Jong
36c33a5889
CB-1944: Better error messages for Create script
...
- fixed to detect missing packages individually
- added a specific message for each missing package
- messages include how to correct and package download link
2013-03-27 15:46:45 -04:00
JasonM23
5ee7e81ff9
[CB-51] Added httpMethod for upload (defaults to POST)
2013-03-27 14:22:41 -04:00
Shravan Narayan
f4859444dd
Fixed protocol regex bug. Unknown protocol support Added whitelist support for unknown protocols
2013-03-26 00:20:11 -04:00
Andrew Grieve
73c7994cd1
Fix NPE in InAppBrowser.
...
When cordova.getActivity().getIntent().getExtras() == null.
2013-03-23 14:07:57 -04:00
Andrew Grieve
0c74090953
Log a message when exec() is made to an unregistered plugin.
2013-03-23 14:07:22 -04:00
Ian Clelland
f60d54eae4
[CB-2305] Add InAppBrowser injectSriptCode command to support InAppBrowser.executeScript and InAppBrowser.insertCSS APIs
2013-03-23 13:13:21 -04:00
Joe Bowser
31bc015cdd
Pre-2.6 prep
2013-03-21 10:35:09 -07:00
mbillau
b028ad3604
CB-2675: Add prompt dialog to Notification API
2013-03-20 23:14:42 -04:00
Max Woghiren
d2e4e35c37
[CB-2715] Simplified readAsBinaryHelper.
...
Also fixed some comments and other minor things.
2013-03-20 22:42:29 -04:00
Ian Clelland
1f37200bb6
[CB-1957] Stop any playing media when closing InAppBrowser
2013-03-20 15:56:27 -04:00
Ian Clelland
77178daad3
[CB-2308] [android] Report errors when InAppBrowser fails to load page
2013-03-20 15:42:08 -04:00
Richard Burton
1648f161d9
Implemented a conditional check to support providing the duration limit for the Android platform SDK 8 and above. The value is passed using the string literal value to ensure the logic is not dependent on SDK version specifics.
2013-03-18 11:23:21 -04:00
Richard Burton
9fa6cea69b
Implemented a conditional check to allow for the duration to be provided on the Android platform for SDK 8 and above.
2013-03-18 11:23:21 -04:00
Andrew Grieve
66b827e502
[CB-2632] Implement FileReader.readAsBinaryString
2013-03-15 16:47:33 -04:00
Andrew Grieve
7755a902dd
Add a new type to the Native->JS bridge for binary strings.
...
It's needed since the bridge truncates strings that have null
characters in them :(.
2013-03-15 16:47:04 -04:00
Max Woghiren
d25b73f47d
[CB-2546] Moved read calls to a background thread.
2013-03-15 16:01:02 -04:00
Max Woghiren
ac2969c3f8
[CB-2435] Split common methods out of FileUtils into FileHelpers
...
Also included in this change:
- Fixed getMimeType for content:// URIs.
- Made getRealPath take a URI string.
- Added basic android_asset handling.
There is no such thing as a "real path" for a file:///android_asset URI. However, it is possible to get an input stream to one.
And even more minor changes:
- removed unused FileReader/FileWriter instance variables
- added logging when getRealPath fails
- fixed indentation issues
- removed a try/catch in favor of throwing
- removed a null check in favor of throwing
- moved getEntry back to FilePlugin
2013-03-14 12:39:51 -04:00
Dave E
ee38b2ef03
Use pushd/popd instead of subshell
...
Improves the error message that happens when ant is not installed.
2013-03-14 12:31:56 -04:00
Max Woghiren
0f70e04e6e
[CB-1933] Changed button labels to an array.
...
This allows commas to be included in button label text.
2013-03-14 11:34:29 -04:00
Joe Bowser
9fc1e7272e
CB-2668: Thanks for supplying a patch, but please make sure it actually builds.
2013-03-13 16:02:06 -07:00
Yavor Georgiev
0d4d0b8a37
Adding workaround for ICS asset URLs with spaces
2013-03-13 19:52:49 +02:00
Andrew Grieve
fcd2c989a2
[CB-2418] Fix geolocation's velocity field broken on Android
2013-03-12 20:54:24 -04:00
Simon MacDonald
e0d0d6c455
CB-2459: Customize InAppBrowser location bar
2013-03-10 10:33:42 -04:00
Simon MacDonald
ce1a961b99
CB-2640: Allow InAppBrowser to open tel, sms, market urls
2013-03-08 14:14:41 -05:00
Joe Bowser
c71a08a9d9
Merge branches 'leon' and 'master'
2013-03-07 13:06:10 -08:00
Joe Bowser
17bfcea65a
Merge branch 'master' of git://github.com/sweetleon/cordova-android into leon
2013-03-07 11:20:43 -08:00
Joe Bowser
5e8959bab1
Removing baseURL because it doesn't actually do anything. If we want to make sure remote websites work, we whitelist them
2013-03-07 08:52:02 -08:00
Joe Bowser
9924dc0f92
So much for squashing, I should have branched this.
2013-03-06 15:31:25 -08:00
Joe Bowser
7388c036d7
Making framework only apply for http resources for now, so we don't break non-http handling. I had to squash this to make it pretty
2013-03-06 15:29:40 -08:00
Joe Bowser
ad4512801f
Making framework only apply for http resources for now, so we don't break non-http handling
2013-03-06 15:26:13 -08:00
Joe Bowser
409b9af398
CB-2099: Android Whitelisting now blocks images and JS with an empty response
2013-03-06 14:56:27 -08:00
Braden Shepherdson
7cc8fd7e87
Allow plugins to capture shouldInterceptRequest()
2013-03-06 11:53:10 -05:00
Joe Bowser
42c8105f13
CB-2623: Updated windows script, now it works here too for once
2013-03-05 16:13:43 -08:00
Joe Bowser
9a71cc5b4e
CB-2623: Added partial work on update script
2013-03-05 14:36:52 -08:00
Joe Bowser
c543b7469d
CB-2623 Adding update script to Android
2013-03-05 11:30:38 -08:00
Joe Bowser
7caac3265a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-03-04 16:09:55 -08:00
Joe Bowser
5d68d5a246
CB-2198: Removing option to use our broken URL stack as a history as per deprecation policy.
2013-03-04 16:09:37 -08:00
Braden Shepherdson
7187f87eae
Add readAsBinaryString and readAsArrayBuffer support
2013-03-04 17:36:40 -05:00
Joe Bowser
fb81f3e77e
CB-2596: Fixing the menubutton for text fields
2013-03-04 14:26:28 -08:00
lenny
0ae49ed098
moveFile handles absolute paths by not pre-pending anything to them
2013-03-01 22:11:29 -08:00
lenny
b8e5aaf754
ignore IntelliJ files
2013-03-01 21:56:57 -08:00
Tommy-Carlos Williams
aa4820c3b7
[CB-861] Header support for FileTransfer download
...
Added support for an optional options object as the final arg. Currently only handles the options.headers object (as per the issue).
`FileTransfer.download(source, target, successCallback, errorCallback, trustAllHosts, options)`
This is needed for using FileTransfer.download with Basic Authentication, etc. Sadly since Android 2.x doesn't support XHR2, this is needed in FileTransfer.
I have only added support to Android and iOS (see other PR's).
2013-02-28 13:10:59 -05:00
Joe Bowser
5d79d6e134
Merge branch 'next'
2013-02-27 11:07:55 -08:00
Joe Bowser
fb1455a17b
Preparing to tag 2.5.0
2013-02-26 13:49:47 -08:00
Shravan Narayan
c668eeba0f
Added CallbackContext success message with an int parameter
...
Added a small utility function to convert JSONArray to List<String>
2013-02-25 15:17:40 -05:00
Michal Mocny
62421ee49d
CB-2530: Update callbackFromNative syntax to args
...
New callbackFromNative syntax expects an array of arguments instead of a
single message.
2013-02-25 13:28:26 -05:00
Joe Bowser
e791f29ce1
CB-2333: Probably should be re-factored as a do..while, but need to handle when there is no EOL char in buffer
2013-02-22 11:58:37 -08:00
Joe Bowser
06947cc453
CB-2333: Adding body property to FileTransferError object on Android
2013-02-22 11:48:17 -08:00
Joe Bowser
8c97474524
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-02-21 16:49:19 -08:00
Joe Bowser
77a8568b28
CB-2522: We used buttons in older versions to send the post, not the submit event. Disabled form saving
2013-02-21 16:48:57 -08:00
Braden Shepherdson
e2dadbd7fe
Fix return types of getJSONObject and optJSONObject in CordovaArgs
2013-02-21 15:53:15 -05:00
Joe Bowser
17b668a115
CB-2085: Fixing deleted database for ChildBrowser
2013-02-21 11:53:06 -08:00
Joe Bowser
a30c2b6a75
CB-2504: Merged overscroll disallowance, needed to deal with merge conflict with the InAppStorage toggle
2013-02-21 10:45:50 -08:00
Joe Bowser
2660eebec2
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-02-21 10:31:00 -08:00
Max Woghiren
f415664b6d
[CB-2504] Allow the disabling of overscroll glow.
2013-02-21 12:47:59 -05:00
Takeshi Sone
5092b29312
[CB-2518] Enable Geolocation in InAppBrowser
2013-02-21 09:07:06 -05:00
Joe Bowser
d5be901bc2
Merge branch 'next'
2013-02-20 13:53:15 -08:00
Joe Bowser
5462eddfdb
Updating the JS for 2.5.0rc1
2013-02-20 13:52:29 -08:00
Joe Bowser
fef51f12c6
Apparently the JS was wrong when tagging
2013-02-20 13:06:13 -08:00
Joe Bowser
fdb3679cf5
Merge branch 'next'
2013-02-20 11:25:32 -08:00
Joe Bowser
11beb37c50
Setting to turn off Online Storage
2013-02-20 11:21:17 -08:00
Joe Bowser
5cd17730b1
Tagging 2.5.0rc1. Updating files
2013-02-19 11:53:36 -08:00
mbillau
cb192056f8
CB-2458: gracefully exit with back button
...
If users do extra initialization, we can get NPEs when hitting the back
button before loadUrl() has been called.
-Null fenced code in startOfHistory() that gave us an NPE when hitting
Back button with useBrowserHistory=true
-Call finish() in Back button code when no history since with
useBrowserHistory=true it would just hang while the app inits
-Call loadUrlIntoView() first in handleDestory() since with
useBrowserHistory=false, the default behavior would try to use the baseUrl
which is null
2013-02-18 16:42:14 -05:00
Joe Bowser
892f96e305
CB-2282: Turning on AppCache
2013-02-18 11:37:28 -08:00
Joe Bowser
13ef58a5bb
Updated XML for the test project
2013-02-18 11:26:40 -08:00
SunshineTech
2bf6509e1d
Modify Issue CB-2273.
2013-02-17 21:50:33 +08:00
Joe Bowser
a45d5a98dd
CB-1605: Going through Eclipse warnings, removing the unused imports
2013-02-15 15:46:36 -08:00
Joe Bowser
a31714f8a4
CB-2447: This is a non-trivial task. Migrated test plugin to modern plugin API.
2013-02-15 14:25:56 -08:00
Joe Bowser
23d2a806f0
Merge branch 'CB-2447' of git://github.com/jamesjong/cordova-android
2013-02-15 14:02:23 -08:00
Joe Bowser
c20b2330ab
CB-2446: Ugly, but workable fix
2013-02-15 13:57:34 -08:00
Fil Maj
8613551aec
minor readme stuff
2013-02-15 13:18:03 -08:00
Fil Maj
2ab01dadc0
Adding link to cordova.io in readme
2013-02-15 13:12:19 -08:00
James Jong
790636c8cd
CB-2447: Remove use of deprecate org.apache.cordova.api.Plugin
2013-02-15 13:18:58 -05:00
Andrew Grieve
23938830f7
[CB-2213] Add NATIVE_URI to the quick-return logic.
2013-02-14 10:50:37 -05:00
Benn Mapes
674b87057a
[CB-2297] Fix for geolocaion database error
2013-02-12 14:23:01 -08:00
Richard Kolkovich
83d9248ec8
Update framework/src/org/apache/cordova/ContactAccessorSdk5.java
...
`Im.PROTOCOL` is a String, not an int. Treat it as such to prevent an Exception being thrown when parsing `null`.
2013-02-12 16:18:50 -05:00
Joe Bowser
f9d27e4a67
CB-2408: There should be a check for the browser history, but the logic intentionally doesn't match
2013-02-12 11:16:01 -08:00
patrick kettner
2683803ef3
Add check for build targets in create script
...
I installed the android sdk via homebrew, which does not install any build targets by default.
That resulted in the create throwing the following somewhat cryptic error.
An unexpected error occurred: "$ANDROID_BIN" create project --target $TARGET --path "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited with 1
This just adds a check that the variables that are set to the values of the build targets are properly set, and exit if they are not.
2013-02-12 11:07:51 -05:00
Andrew Grieve
dd86d7a5ed
[CB-2095] Delete file on FileTransfer.download fail
2013-02-12 10:55:33 -05:00
Max Woghiren
1246a81d39
[CB-2213] Added NATIVE_URI support.
...
This is mostly the same as FILE_URI on Android.
Also replaced calls to `stripFileProtocol` with the more general-purpose `getRealPathFromURI`. This helps support some operations on content URIs.
2013-02-11 22:45:14 -05:00
Andrew Grieve
8ab7278db2
Code clean-up of FileTransfer
...
- Fix warnings about toLowerCase()
- Don't assume connections are HTTP (fails for file://)
- Use StringBuilder
- Remove no-ops of disconnect() & keep-alive
2013-02-11 22:35:17 -05:00
Joe Bowser
db099e7722
Preparing for 2.4.0
2013-02-04 11:12:52 -08:00
Joe Bowser
fcc01bc37e
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-01-31 10:45:02 -08:00
Joe Bowser
a18dacf5f2
CB-2296 - Adding the screenshot configuration
2013-01-31 10:44:46 -08:00
Anis Kadri
77f9cae50b
CB-1961 update to create script for android/windows
2013-01-30 14:57:49 -08:00
Joe Bowser
3610bbf21b
CB-2296: Adding deprecation notices for removing the setProperties methods
2013-01-30 11:31:59 -08:00
Joe Bowser
d5e3be9a55
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-01-30 11:13:28 -08:00
Joe Bowser
80b369d6d5
CB-2296: Added parsing for Integer and Boolean parameters in config.xml
2013-01-30 11:13:07 -08:00
Andrew Grieve
d29eb84010
Tagging 2.4.0rc2
2013-01-30 09:51:40 -05:00
Joe Bowser
381ce535bf
Merge branch 'puritytool'
2013-01-29 15:20:21 -08:00
Andrew Grieve
2e20bb0639
[CB-2293] Fix typo bufferSize->bytesRead.
...
Also adds a log statement to print out amount uploaded when an
IOException is thrown.
2013-01-29 13:47:15 -05:00
Joe Bowser
56cd24797e
Fix for CB-2284. 401s are appearing when we hit them
2013-01-25 16:39:02 -08:00
Joe Bowser
431ca99c23
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-01-25 14:41:26 -08:00
Joe Bowser
6ced2ff293
CB-2292: Added a check for width and height. You can't scale nothing because you can't divide by zero.
2013-01-25 14:41:14 -08:00
Joe Bowser
31055bb303
Update to purity, adding better touch support
2013-01-25 14:39:44 -08:00
Fil Maj
24a53e39dd
hey new line
2013-01-23 18:31:30 -08:00
Fil Maj
2ab113b695
Removing notice about incubation in the readme.
2013-01-23 12:21:49 -08:00
Fil Maj
9a0481a750
tweaking readme
2013-01-23 12:17:42 -08:00
Fil Maj
09035eb4c4
Setting template AndroidManifest values for version to 1.0 and code to 1.
2013-01-23 12:13:07 -08:00
Joe Bowser
1adf268e71
Updates to tests, including the use of Purity
2013-01-22 15:18:21 -08:00
Joe Bowser
23f57ad5a7
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android into puritytool
2013-01-21 14:59:04 -08:00
Joe Bowser
d9b15cf69e
Updating with fixed JS from CB-2279
2013-01-21 13:47:26 -08:00
Joe Bowser
dbfe12a993
Partial fix for CB-2269, we probably shoudln't call Config.init twice
2013-01-18 16:41:10 -08:00
Joe Bowser
2b32dfd99d
Partial Fix for CB-2269
...
* Moved Config.init call into DroidGap for the most common use-case
* The CordovaWebView docuemntation still has to be updated
* The template has to be changed, since we don't want to have two different types of config
2013-01-18 16:37:55 -08:00
Joe Bowser
679de40780
2.4.0rc1 updating
2013-01-18 15:33:38 -08:00
Joe Bowser
66f15fdd37
Adding purity to the test suite. Purity is a test class that may be renamed later
2013-01-18 15:00:02 -08:00
Joe Bowser
038f0e45b1
Upgrading Test Project properties to 4.2
2013-01-18 11:44:09 -08:00
Joe Bowser
033bfcc804
This should be Android 4.2, not Google APIs
2013-01-18 11:36:12 -08:00
Braden Shepherdson
fa87c08a29
Merge branch 'master' into arraybuffers
2013-01-18 12:33:25 -05:00
Braden Shepherdson
dfb799739a
Change binaryEcho to echoArrayBuffer.
2013-01-18 12:32:52 -05:00
Joe Bowser
1193f7ed22
Fixed Android 4.2 filepicker, time for master
2013-01-17 17:00:50 -08:00
Braden Shepherdson
7530c21a9f
Full binary data support.
...
- Removed BinaryEcho; made Echo support a new binaryEcho action.
- Added CordovaArgs wrapper for JSONArray, and a new overload for
execute that accepts a CordovaArgs. There is now a default
implementation for the JSONArray version of execute that builds a
CordovaArgs and calls that version of execute. The default
implementation for the CordovaArgs execute is to return false.
- Added byte[] version of success() in CallbackContext.
2013-01-17 15:58:38 -05:00
Simon MacDonald
a120614617
Initial input type=file support
2013-01-17 10:10:02 -05:00
Andrew Grieve
0311f0db38
CB-2208 Fix crash on File mobile-spec tests
...
Crash seems to not happen on every platform, but was showin up on the
x86 4.0.3 emulator.
2013-01-17 09:55:37 -05:00
Braden Shepherdson
547b683e61
Remove debugging.
2013-01-15 13:24:59 -05:00
Braden Shepherdson
ff1d943a69
Add CordovaArguments helper to decode ArrayBuffers
2013-01-15 13:21:09 -05:00
Braden Shepherdson
15a5c89e86
Removed debugging output.
2013-01-15 11:52:06 -05:00
Braden Shepherdson
03b974ee3f
Working Base64 encoding.
2013-01-15 11:48:09 -05:00
Braden Shepherdson
f145605c63
Mostly working arraybuffer changes, needs Base64.
2013-01-15 11:16:32 -05:00
Joe Bowser
29230d0316
CB-2171: Patches are welcome.
2013-01-11 11:26:36 -08:00
Joe Bowser
57fc49ddc2
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-01-11 10:24:50 -08:00
Simon MacDonald
5ac6853fed
CB-2154: navigator.splashscreen.show() broken in Phonegap 2.2 and 2.3.0rc2
...
Fixed the splashscreen so it will show for a minimum of 3 seconds if the user has not called loadUrl with a timeout in their main activity.
2013-01-11 10:24:03 -08:00
Fil Maj
b870214cca
Fixes CB-2204: if bin/create fails, exit with code 1
2013-01-11 10:24:03 -08:00
Braden Shepherdson
55074b925f
Added a comment to explain where the start page is getting set.
2013-01-11 10:24:03 -08:00
Braden Shepherdson
958424ce59
Add configurable start location to config.xml and template
...
Still possible to hardcode, there's a comment in the template showing
how that can be done.
2013-01-11 10:24:02 -08:00
Braden Shepherdson
d04fc289ac
Move config.xml parsing into its own Config class
...
Now the parsing happens very early in the bootstrap process, before
loadUrl() is called. This enables a future change to put the start page
in config.xml instead of hardcoding it.
2013-01-11 10:24:02 -08:00
Braden Shepherdson
e14edf134d
Merge branch 'master' into start_location
2013-01-11 12:13:43 -05:00
Simon MacDonald
dbb127447f
CB-2154: navigator.splashscreen.show() broken in Phonegap 2.2 and 2.3.0rc2
...
Fixed the splashscreen so it will show for a minimum of 3 seconds if the user has not called loadUrl with a timeout in their main activity.
2013-01-10 22:06:39 -05:00
Fil Maj
dc94fc39ec
Fixes CB-2204: if bin/create fails, exit with code 1
2013-01-10 18:29:36 -08:00
Joe Bowser
6db9a7cb12
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android into CordovaActivity
2013-01-10 16:26:24 -08:00
Benn Mapes
1f39386616
Fixed broken functions that were deprecated
2013-01-10 15:07:26 -08:00
Benn Mapes
25aef945d1
Deleted depricated methods
2013-01-10 14:51:20 -08:00
Joe Bowser
c9aa43afe0
CB-2185: Fixing getMimeType to get the mimetype of the file if it is upper-case
2013-01-10 11:32:37 -08:00
Braden Shepherdson
913e177f6f
Added a comment to explain where the start page is getting set.
2013-01-09 17:36:12 -05:00
Braden Shepherdson
ae431aec12
Add configurable start location to config.xml and template
...
Still possible to hardcode, there's a comment in the template showing
how that can be done.
2013-01-09 16:48:43 -05:00
Braden Shepherdson
8ac15048cd
Move config.xml parsing into its own Config class
...
Now the parsing happens very early in the bootstrap process, before
loadUrl() is called. This enables a future change to put the start page
in config.xml instead of hardcoding it.
2013-01-09 14:22:23 -05:00
Simon MacDonald
a1cfe87f1e
CB-2093: NullPointerException when attaching image from Gallery that contains spaces in the path
...
Guarding against a null string being passed into FileUtils.getMimeType()
2013-01-08 21:10:50 -05:00
Simon MacDonald
c130396d4e
Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/cordova-android
2013-01-08 18:48:44 -05:00
Joe Bowser
bc2e7cf317
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android
2013-01-08 13:54:44 -08:00
Joe Bowser
7ace1d652d
Fixing CB-2171, 0 byte file in filesystem on 404 from server. Patches are welcome.
2013-01-08 13:54:38 -08:00
Simon MacDonald
26effd1def
Test for correctOrientation not rotate=0
...
when determining if we are in the special case where the image should just be retureturned to the user without modification.
2013-01-08 15:21:55 -05:00
Braden Shepherdson
5f6824e5dd
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android into file_slicing
2013-01-07 18:13:54 -05:00
Braden Shepherdson
4589bdd31f
And support for slicing in readAsDataURL.
2013-01-04 15:00:55 -05:00
Joe Bowser
72e0b49e0b
Fixed CB-2089 after I tagged for the release. This will have to sit in 2.4.0
2013-01-03 10:18:41 -08:00
Joe Bowser
3caa45d860
Typo. Missed index.html in incrementation
2013-01-02 17:10:00 -08:00
Joe Bowser
7c069f14f8
Incrementing version to 2.3.0 final
2013-01-02 17:07:21 -08:00
Braden Shepherdson
552885dbd3
Add support for reading slices of text files.
2013-01-02 15:34:39 -08:00
Joe Bowser
6efeb1471c
Incremeting version to 2.3.0rc2
2012-12-10 14:26:38 -08:00
Simon MacDonald
01f062d2ba
Saving a contact with an email type of work sets it to home
2012-12-08 22:02:34 -05:00
Joe Bowser
2a42c463d2
CB-1973: We don't need to log three damn times! If it wasn't for HTC, I'd remove this entirely.
2012-12-06 10:40:57 -08:00
Joe Bowser
182843edf6
CB-1850 change: Model is getModel, name is getProduct
2012-12-05 14:58:47 -08:00
Simon MacDonald
9a9d36e9d9
CB-1969: Searching for emails in Contacts throws an exception always errors out
2012-12-05 16:28:27 -05:00
Simon MacDonald
7d5249eea6
Clean up warnings in InAppBrowser
2012-12-05 12:09:17 -05:00
Joe Bowser
f7910c41c3
Changing FILL_PARENT to MATCH_PARENT, removing Eclipse deprecation warnings
2012-12-04 14:14:19 -08:00
Joe Bowser
3973f4f952
More back button woes! The Fix for CB-1960 did weird things on both my end and Simon's end, sadly they're both different things. This should simply the code and resolve it. Sadly, all the unit tests pass as usual.
2012-12-04 12:06:05 -08:00
Joe Bowser
8a19769a47
Fix for CB-1960, we now check to see if any view is on the WebView, since they won't always be custom
2012-12-04 09:40:57 -08:00
Brian M Dube
c0ee593c10
[CB-1959] Display usage and exit when no arguments given
2012-12-02 21:21:24 -05:00
Andrew Grieve
c806451b8a
Update Android SDK verions and commons-codec version in README.md.
2012-12-02 21:19:58 -05:00
Shazron Abdullah
00e5ff1964
Updated cordova.android.js for CB-1950 - InAppBrowser events
2012-11-30 05:47:37 -08:00
Shazron Abdullah
432aec62a9
[CB-1950] InAppBrowser - support events
2012-11-30 05:40:59 -08:00
Joe Bowser
c8ec7e5191
Doing the merge and fixing DroidGap up a bit
2012-11-28 15:30:22 -08:00
Joe Bowser
a0d2b96de6
Merge commit and hacking on CordovaWebView
2012-11-28 15:10:36 -08:00
Joe Bowser
2c202b82d7
Partial Fix/Workaround for CB-1856. Also removed old deprecated code
2012-11-28 14:42:55 -08:00
Simon MacDonald
a42dc08756
Start adding events to InAppBrowser
2012-11-28 15:44:01 -05:00
Simon MacDonald
48f58110fe
CB-1938: Regression, Android back button event is no longer fired
2012-11-27 12:18:49 -05:00
Simon MacDonald
7b3724972b
Tagging to 2.3.0rc1
2012-11-26 16:09:52 -05:00
Simon MacDonald
9ca2a16218
Updating JS so that InAppBrowser will work out of the box
2012-11-23 09:38:49 -05:00
Simon MacDonald
f1e8400abf
Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/cordova-android
2012-11-22 22:28:34 -05:00
Andrew Grieve
11e0ffa90a
Add @JavascriptInterface annotations to ExposedJsApi.
...
And re-enable the JS bridge on 4.2.
https://issues.apache.org/jira/browse/CB-1879
2012-11-22 22:23:51 -05:00
Anis Kadri
2ee4326a4d
updating create command
2012-11-22 22:23:51 -05:00
Anis Kadri
226e72ac18
adding release command
2012-11-22 22:23:51 -05:00
Anis Kadri
65c78b8f3f
removing ApplicationInfo.class
2012-11-22 22:23:51 -05:00
Anis Kadri
6137c7ca06
removing appinfo.jar
2012-11-22 22:23:51 -05:00
Simon MacDonald
5bebf11b37
CB-1888: Can't add a Photo from a HTTPS address to Contact
2012-11-22 22:23:51 -05:00
Anis Kadri
68161d2714
refactoring windows scripts
2012-11-22 22:23:51 -05:00
Anis Kadri
a6473cb826
adding install function
2012-11-22 22:23:51 -05:00
Anis Kadri
0084c6f96a
refactoring android commands
2012-11-22 22:23:51 -05:00
Simon MacDonald
a87825dbee
CB-1508: Implement InAppBrowser feature
...
Initial checkin. Need to clean up the UI and add eventing.
2012-11-22 22:21:24 -05:00
Andrew Grieve
3566154cd0
Add @JavascriptInterface annotations to ExposedJsApi.
...
And re-enable the JS bridge on 4.2.
https://issues.apache.org/jira/browse/CB-1879
2012-11-22 12:39:18 -05:00
Anis Kadri
92d69e320f
updating create command
2012-11-21 16:35:27 -08:00
Anis Kadri
08a190ef5b
adding release command
2012-11-21 16:35:16 -08:00
Anis Kadri
98339ee5d8
removing ApplicationInfo.class
2012-11-21 13:37:19 -08:00
Anis Kadri
fa387fd758
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-11-21 13:33:21 -08:00
Anis Kadri
54979f2fc4
removing appinfo.jar
2012-11-21 13:33:09 -08:00
Simon MacDonald
538e90f23a
CB-1888: Can't add a Photo from a HTTPS address to Contact
2012-11-21 11:27:25 -05:00
Anis Kadri
d9107bcac6
refactoring windows scripts
2012-11-20 18:49:16 -08:00
Anis Kadri
3f3a0b9140
adding install function
2012-11-20 14:49:49 -08:00
Anis Kadri
e1347e434e
refactoring android commands
2012-11-20 14:39:37 -08:00
Joe Bowser
7657faa9c3
CB-1852: Android version of model implemented, too bad it's all code names and not human readable
2012-11-19 13:26:22 -08:00
Joe Bowser
28ef765913
Upgrading App plugin to CordovaPlugin
2012-11-19 11:33:21 -08:00
Joe Bowser
d2f59391a2
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-11-19 10:36:45 -08:00
Joe Bowser
df90bdb350
Fixing up the tests so they crash less.
2012-11-19 10:36:26 -08:00
Joe Bowser
c416c77d7a
Fix for CB-1879 by Tom Clarkson. Hacked in due to lack of pull request
2012-11-19 10:35:47 -08:00
Andrew Grieve
ce05a720d1
Update .gitignore
2012-11-16 15:41:38 -05:00
Joe Bowser
6c19a440f5
CB-1864: Figured out how to simulate back button, test both the CordovaWebView back button and the general DroidGap case using the default implementation
2012-11-15 16:04:09 -08:00
Joe Bowser
f4612fdb5d
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-11-15 13:48:15 -08:00
Joe Bowser
04b9a0b09e
Death to tabs while working on CB-1864
2012-11-15 13:47:52 -08:00
Simon MacDonald
f93c438067
CB-1860: NPE in onReceivedError with non local errorUrl
2012-11-15 11:04:50 -05:00
Joe Bowser
e1d608443a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-11-14 13:23:35 -08:00
Joe Bowser
9233c3a898
Fixing error with the tests, backbuttonmultipage wasn't added
2012-11-14 13:22:58 -08:00
Simon MacDonald
dfa514334b
Bumping Android API version to 17
2012-11-14 16:05:50 -05:00
Joe Bowser
5810a96e62
Adding reflection so that this compiles, need to test against HTC Desire HD 2.3.6 device before resolving CB-1845
2012-11-14 11:15:22 -08:00
Joe Bowser
70473a80af
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-11-13 14:31:33 -08:00
Joe Bowser
525fd30cb2
Merge branch 'Android_2.3.4_camera_crash' of git://github.com/IuriiO/incubator-cordova-android into null_camera
2012-11-13 11:37:40 -08:00
Andrew Grieve
5212cd4dcd
Disable JS Interface on Honeycomb
...
Fixes https://issues.apache.org/jira/browse/CB-1818
2012-11-13 12:50:15 -05:00
Simon MacDonald
e95bde62a2
Correctly report the mime type of 3ga files
2012-11-12 10:22:35 -05:00
Simon MacDonald
4fe73cf6ad
CB-1835: Camera.getPicture gives error when get a picture from photo library with spaces in its name on Android
2012-11-12 10:00:32 -05:00
Simon MacDonald
78b2835da4
Merge branch 'master' of https://github.com/ilbambino/incubator-cordova-android
2012-11-12 09:57:19 -05:00
Iurii Okhmat
f9a49efae9
Removed unnecessary import.
2012-11-09 16:44:33 -08:00
Iurii Okhmat
b9ddc9e678
Camera plugin (HTC Incredible) is crashing on 2.3.4 devices without SD card
2012-11-09 16:40:56 -08:00
Simon MacDonald
dc459c84a3
CB-1829: Online/Offline events do not fire on subsequent pages of an app
2012-11-09 11:28:50 -05:00
Alvaro
1d26239809
not getting the path correctly if the URI contains a file://
...
Previous to 2.2 this function was crashing if the URI wasn't different
than a 'content://' but still if it is a 'file://' it fails getting the
correct path.
This happens for example picking a picture from dropbox instead of
local gallery.
2012-11-09 09:28:26 +02:00
Joe Bowser
5ca233779d
This is as far as we can get fixing the Camera plugin by recovering state
2012-11-08 15:42:28 -08:00
Simon MacDonald
e51b4897a3
Guard against null mimeType in MediaFile.getFormatData
2012-11-08 14:01:46 -05:00
Anis Kadri
81f283e56f
CB-1794 fixing cordova commands for paths with spaces in them
2012-11-07 13:22:14 -08:00
Anis Kadri
ccdd2fd2ca
CB-1809 create script should print out meaningful error messages
2012-11-05 17:51:32 -08:00
Joe Bowser
69f11a29e1
Updating the project so that the activities are clearly separated from Test and Helper code
2012-11-02 16:15:51 -07:00
Joe Bowser
cf494f3238
Fixing the tests so that they run as an Activity again
2012-11-02 13:48:05 -07:00
Joe Bowser
d5895c635a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-11-02 13:33:13 -07:00
Simon MacDonald
2ac9873613
CB-1808: FileEntry.moveTo across file systems incorrectly calls the success callback
2012-11-02 14:50:24 -04:00
Joe Bowser
eb59e76cde
Fixing CB-1801
2012-11-01 12:23:18 -07:00
Simon MacDonald
d9db845b43
CB-1795: onCreateOptionsMenu in PhoneGap 2.2.0 Release Candidate 2 isn't working anymore
2012-11-01 10:30:34 -04:00
Joe Bowser
e55327b064
Tagging the 2.2.0 release after this commit
2012-10-31 10:57:57 -07:00
Simon MacDonald
bdd5a4e053
Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/incubator-cordova-android
...
Somedays, I hate git.
2012-10-29 16:23:36 -04:00
Andrew Grieve
ac2e2c9a42
Update JS to new tag (again). Includes latest fix to CB-1745.
2012-10-29 16:21:12 -04:00
Andrew Grieve
76f9d49e24
Disable limiting of payload size when sending data to JS.
...
Fixes https://issues.apache.org/jira/browse/CB-1745
2012-10-29 16:21:12 -04:00
Andrew Grieve
6ec8ab95fc
Update JS to new 2.2.0rc2 tag.
2012-10-29 16:21:12 -04:00
Joe Bowser
9c98625610
Partial fix for CB-1742, still don't know what this should do for notification.confirm's cancel, so we return zero for now
2012-10-29 16:21:12 -04:00
Joe Bowser
f270cde47d
Changing DroidGap back and duplicating code so that we don't have a regression on CB-1568
2012-10-29 16:21:12 -04:00
Joe Bowser
9de7efd072
Added fix for webViewClient. CB-1568
2012-10-29 16:21:12 -04:00
Joe Bowser
7b81d317a0
Moved the initialization of the IceCreamWebViewClient to CordovaWebView, we weren't loading the fix in properly after the refactor - CB-1742
2012-10-29 16:21:12 -04:00
Simon MacDonald
876f975aa2
CB-1691: Android menu button event doesn't fire when textbox has focus
2012-10-29 16:20:39 -04:00
Andrew Grieve
3c5815ac0f
Update JS to new tag (again). Includes latest fix to CB-1745.
2012-10-26 16:09:54 -04:00
Andrew Grieve
678ae2d684
Disable limiting of payload size when sending data to JS.
...
Fixes https://issues.apache.org/jira/browse/CB-1745
2012-10-26 16:08:35 -04:00
Andrew Grieve
e4f8f44fb0
Update JS to new 2.2.0rc2 tag.
2012-10-26 10:41:08 -04:00
Joe Bowser
49566d29f8
Partial fix for CB-1742, still don't know what this should do for notification.confirm's cancel, so we return zero for now
2012-10-25 14:13:17 -07:00
Joe Bowser
7f4ee7b20a
Changing DroidGap back and duplicating code so that we don't have a regression on CB-1568
2012-10-25 13:18:28 -07:00
Joe Bowser
32526a8c16
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-10-25 12:17:58 -07:00
Joe Bowser
71a7f72ab9
Added fix for webViewClient. CB-1568
2012-10-25 12:17:38 -07:00
Joe Bowser
4d0824f4a4
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-10-25 12:12:47 -07:00
Joe Bowser
d56dd40d06
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-10-25 12:11:41 -07:00
Joe Bowser
6aafd6dc3a
Moved the initialization of the IceCreamWebViewClient to CordovaWebView, we weren't loading the fix in properly after the refactor - CB-1742
2012-10-25 12:11:09 -07:00
Andrew Grieve
011b512f28
Update JS.
2012-10-25 15:02:26 -04:00
Andrew Grieve
aa2d17e489
Disable JS_OBJECT bridge on pre-gingerbread devices.
...
It's the easiest way to avoid bugs with Java strings not being converted
to JS Strings.
2012-10-25 15:00:21 -04:00
Andrew Grieve
0eee2293dc
Add support for null PluginResult payloads.
...
https://issues.apache.org/jira/browse/CB-1744
2012-10-25 12:05:39 -04:00
Simon MacDonald
a2f35d2bda
CB-1743: Globalization.getDateNames will crash Android 2.2 applications
2012-10-25 10:35:22 -04:00
Simon MacDonald
58f58d9ee8
Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/incubator-cordova-android
...
Conflicts:
framework/assets/js/cordova.android.js
2012-10-24 16:32:01 -04:00
Simon MacDonald
412bb349ac
Pull in exec fix for Android 2.2
2012-10-24 16:29:26 -04:00
Simon MacDonald
652f15f893
Guard against NullPointerException in Compasslistenter
2012-10-24 16:29:02 -04:00
Joe Bowser
8512ebb923
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-10-24 12:07:20 -07:00
Joe Bowser
f0ac173ec8
Adding the updated blank index
2012-10-24 12:06:37 -07:00
Joe Bowser
bef0d47924
Starting incrementing the tag to RC2
2012-10-24 12:06:00 -07:00
Bryce Curtis
cba0d59021
Fix exception when plugin returns a null string.
2012-10-24 12:36:30 -06:00
Andrew Grieve
7d3afcab94
Tweak the useBrowserHistory deprecation message to make the date is clear
2012-10-23 14:12:48 -04:00
Joe Bowser
5f1cda07e7
Cleaning up code, because negating string comparisons is confusing if the string itself is called false. Also clarified the deprecation message to match the Cordova policy that we agreed on for deprecation changes
2012-10-23 10:46:53 -07:00
Joe Bowser
e11beade4b
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-10-23 10:25:33 -07:00
Andrew Grieve
6a1e089b73
Change useBrowserHistory to default to true (actually)
...
Also logs a deprecation mession on start-up when it is set to false.
Fixes issue: https://issues.apache.org/jira/browse/CB-1611
2012-10-23 13:15:44 -04:00
Simon MacDonald
0aa98ac2da
CB-1697: openDatabase of Cordova for Android uses the wrong directory separator
2012-10-22 13:50:16 -04:00
Joe Bowser
f9ef38cc7a
Updating the config.xml default to be true. See discussion on CB-1611
2012-10-19 07:23:55 -07:00
Simon MacDonald
a3a215a1ba
Merge in video tag changes and fix back button issue
2012-10-17 10:14:30 -04:00
Joe Bowser
d3ee322d7c
Updating Hello World
2012-10-15 14:19:46 -07:00
Joe Bowser
7ec20e7752
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-10-15 13:52:35 -07:00
Joe Bowser
08dfb13dbf
Updating Android to 2.2.0rc1
2012-10-15 13:52:19 -07:00
Andrew Grieve
6a5cddd907
Remove use of PluginResult.Status.NO_RESULT in GeoBroker.
...
It resolves to a no-op when KEEP_CALLBACK is set, and is therefore
confusing to use it with the new CordovaPlugin setup.
2012-10-15 14:49:47 -04:00
Andrew Grieve
dc5078306d
Remove manual catching of JSONException where possible.
...
Delegate the catching to caller instead. Related to refactoring of
Plugin->CordovaPlugin.
2012-10-15 14:24:03 -04:00
Andrew Grieve
1bc032853c
Fix contact mobile-spec tests that were failing.
...
Also move contact operations back to background threads.
2012-10-15 14:21:15 -04:00
Joe Bowser
e562e4e7b9
Removed overrides, fixed CB-1620
2012-10-12 14:43:46 -07:00
Joe Bowser
0ffffa9029
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-10-12 14:26:57 -07:00
Joe Bowser
0f2303e8d5
This time, we fixed the back button for real! CB-1658
2012-10-12 14:26:36 -07:00
Braden Shepherdson
31f7f8149e
Merge branch 'master' into cordovaplugin_update
2012-10-12 17:05:47 -04:00
Braden Shepherdson
fe1f57c23f
Port Storage to use CordovaPlugin.
2012-10-12 17:05:35 -04:00
Braden Shepherdson
29a0b010da
Port SplashScreen to CordovaPlugin. Untested, no tests for it.
2012-10-12 17:00:14 -04:00
Braden Shepherdson
621e1163f8
Port Notification to CordovaPlugin.
2012-10-12 16:58:15 -04:00
Braden Shepherdson
17d64cfcbe
Port NetworkManager to CordovaPlugin.
2012-10-12 10:05:26 -04:00
Braden Shepherdson
7379d2135d
Port Globalization to CordovaPlugin.
2012-10-11 18:32:35 -04:00
Braden Shepherdson
c55fd06b99
Fix mountain of trailing whitespace.
2012-10-11 18:28:36 -04:00
Braden Shepherdson
d81727a08c
Port Location listeners and plugin to CordovaPlugin.
2012-10-11 18:26:19 -04:00
Braden Shepherdson
b582e1592a
Port FileUtils to CordovaPlugin.
2012-10-11 16:29:02 -04:00
Braden Shepherdson
dd8533a320
Port Device to use CordovaPlugin.
2012-10-11 16:11:20 -04:00
Braden Shepherdson
d72a8cbf89
Port Contacts to CordovaPlugin.
2012-10-11 16:03:49 -04:00
Braden Shepherdson
fe0876ded6
Port CompassListener to CordovaPlugin.
2012-10-11 15:50:31 -04:00
Braden Shepherdson
fa15763c5d
Port Capture to use CordovaPlugin. Untested beyond compiling!
2012-10-11 15:50:04 -04:00
Braden Shepherdson
205215d409
Port CameraLauncher to CordovaPlugin.
2012-10-11 11:34:46 -04:00
Braden Shepherdson
076bfcde87
Port BatteryListener to CordovaPlugin.
2012-10-11 11:21:02 -04:00
Braden Shepherdson
10510484b5
Port AudioHandler and AudioPlayer to CordovaPlugin.
...
Had to adapt AudioPlayer because CordovaPlugin doesn't define
sendJavascript.
2012-10-11 11:09:12 -04:00
Braden Shepherdson
e1dea5b4d3
Port AccelListener to CordovaPlugin.
...
Also using the MessageQueue to handle the sensor start timeout, instead
of a Thread.sleep() loop. This allows the listener to run synchronously.
2012-10-11 10:02:46 -04:00
Braden Shepherdson
891f8d00cf
Cleanups to CordovaPlugin.
2012-10-10 14:11:13 -04:00
Joe Bowser
0d409f0fe3
Setting browser history as the default. This was supposed to be done earlier, sorry about that. CB-1611
2012-10-10 09:45:55 -07:00
alunny
4e0c8982c9
get commons-codec from apache archive, not osuosl
...
prevents the issue where, when a new release of commons-codec comes out,
`bin/create` stops working
2012-10-08 15:12:13 -07:00
Joe Bowser
a741c66c97
Updating Native Tests to correspond with changes - CB-1580
2012-10-03 15:56:49 -07:00
Simon MacDonald
3e6a7cbdf5
CB-1574: On Android 4.1 events are only sent on every second menu button press
2012-10-03 14:41:10 -04:00
Simon MacDonald
5d34aa0afe
Guard against null pointer exception in ES File Explorer being used to get a picture using DATA_URL
2012-10-03 11:31:58 -04:00
Simon MacDonald
979ae94698
Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/incubator-cordova-android
...
Just brain dead today.
2012-10-02 14:40:48 -04:00
Simon MacDonald
8d7b85b26a
CB-1573: Can we remove framework/src/org/apache/cordova/TempListener.java
2012-10-02 14:40:24 -04:00
Simon MacDonald
686977a986
CB-1573: Can we remove framework/src/org/apache/cordova/TempListener.java
2012-10-02 14:38:02 -04:00
Andrew Grieve
9c6c782146
Apply trustEveryone to the current connection and not globally.
...
Fixes https://issues.apache.org/jira/browse/CB-1565
2012-10-02 11:45:20 -04:00
Andrew Grieve
ca9539b5b6
More tweaks to FileTransfer.
...
Some clean-up and moved IO out of critical sections.
2012-10-02 11:45:20 -04:00
Andrew Grieve
ff25be8839
Fix warnings in FileTransfer.java
2012-10-02 11:45:20 -04:00
Simon MacDonald
d1ab1b59be
Remove @Override from interface methods
...
In Java 6 you will get an error in Eclipse if your put the @Override annotation on a method of an interface. You are not really over riding the methods you are implementing it. This is an undocumented change in Java 6. Just cleaning up our usage of this so some project problems got away.
Note: Things will build fine using 'ant jar' even with the @Override's.
2012-10-02 11:42:15 -04:00
Andrew Grieve
05bc1865a6
Change FileTransfer to use the new plugin signature.
...
Fixes slow abort(): https://issues.apache.org/jira/browse/CB-1516
Fixes abort() race condition: https://issues.apache.org/jira/browse/CB-1532
2012-10-02 10:14:52 -04:00
Andrew Grieve
6e6e0275ad
Create CordovaPlugin.java and make Plugin.java a compatibility shim.
...
The intent of this is to encourage plugins to execute synchronously
when appropriate by not defaulting to using a background thread.
This will also encourage plugins that do run asynchronously to run some
of its logic synchronously before dispatching to a background thread.
This is required for tasks that can be abort()ed, such as
FileTransfer. (CB-1532)
This also makes it possible to lazily parse the JSON args, which is
important for large payloads. (CB-1530)
2012-10-02 10:14:30 -04:00
Andrew Grieve
ec3c5b2ca2
Delete IPlugin interface.
2012-10-02 10:03:06 -04:00
Andrew Grieve
5289d569b0
Fix NPE caused by NetworkManager sending update before JS is ready.
...
This was happening for me when the device has been sleeping long
enough to turn its networking off, and I start an app via adb.
2012-10-02 10:02:42 -04:00
Andrew Grieve
6f873ff6b5
Fix default bridge mode being PRIVATE_API (should be ONLINE_EVENTS).
...
This was broken when HANGING_GET mode was removed.
2012-10-02 10:02:42 -04:00
Simon MacDonald
467cbe972c
Fixing merge conflict
2012-10-02 09:54:36 -04:00
Simon MacDonald
bfd1bfe9f0
CB-1564: DroidGap.loadUrl follows a path that never checks the white list
...
Whoops, I needed to do more testing. This looks like the trick but it could use a review.
2012-10-02 09:52:30 -04:00
Simon MacDonald
3404a6c699
CB-1564: DroidGap.loadUrl follows a path that never checks the white list
2012-10-01 16:03:28 -04:00
Anis Kadri
17a4b5155e
CB-1359 set target SDK to the highest available
2012-09-28 18:18:11 -07:00
Anis Kadri
d406e2ed22
merging conflict with create script
2012-09-28 17:43:26 -07:00
Anis Kadri
0bfc9935b2
CB-1359 simplifying API_LEVEL command
2012-09-28 17:41:12 -07:00
Andrew Grieve
64c6cbe303
Update JS snapshot after deleting callback server.
2012-09-28 14:37:08 -04:00
Andrew Grieve
2245db3e80
Delete CallbackServer.java
2012-09-28 14:37:08 -04:00
Andrew Grieve
6f19a50c98
Update .classpath file to use commons-codec-1.7.jar
2012-09-28 14:27:38 -04:00
Andrew Grieve
c7ce9598a8
Remove unused async arg from PluginManager.exec().
2012-09-28 14:10:19 -04:00
Andrew Grieve
afcdccf783
Add an app-wide thead pool to CordovaInterface.
2012-09-28 14:10:13 -04:00
Joshua Granick
1bf12842ca
Allow for predefined ANDROID_BIN value, fix for paths with spaces
2012-09-27 14:05:01 -04:00
Simon MacDonald
da8fbee256
Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-09-27 11:17:04 -04:00
Simon MacDonald
4021f26e76
Globalization plugin should return an error object and not a code
2012-09-27 11:16:43 -04:00
Anis Kadri
8eab8438cf
CB-1468 fixing paths with spaces
2012-09-26 16:22:35 -07:00
Simon MacDonald
1b4096b01d
Guard against null pointer exception in ES File Explorer being used to get a picture
2012-09-26 15:52:37 -04:00
Marcel Kinard
54caa6e438
Fail the build gracefully with helpful error messages if the local.properties
...
file is missing, or if the commons-codec jar is missing, or if ant is not at
the minimum required version. Also add a little more detail to
README.md.
2012-09-25 13:09:40 -04:00
Braden Shepherdson
486eb149f2
Merge branch 'master' into plugin_reset
2012-09-24 14:38:17 -04:00
Braden Shepherdson
faa034a205
Don't unregister the listener if it was never registered.
2012-09-24 14:37:04 -04:00
Braden Shepherdson
2cd3ebc7a8
Fix NPE on reset with undefined NetworkListener.
2012-09-24 14:36:29 -04:00
Braden Shepherdson
7e3af6c235
Add onReset() to TempListener.
2012-09-24 14:21:18 -04:00
Braden Shepherdson
dd4de16d1d
Add onReset to Storage.
2012-09-24 14:21:05 -04:00
Braden Shepherdson
ba8577fa5f
Add onReset() to NetworkManager.
2012-09-24 14:20:52 -04:00
Braden Shepherdson
6192319f8c
Add onReset() to GeoBroker.
2012-09-24 14:20:36 -04:00
Andrew Grieve
fed368d553
Set the total field for FileTransfer upload progress events.
...
This also removes an incorrect assumption that content: InputStreams
will be FileInputStreams.
2012-09-24 11:50:55 -04:00
Braden Shepherdson
20c885418e
Add onReset to CompassListener.
2012-09-24 11:40:06 -04:00
Braden Shepherdson
9318ee30bd
Add onReset to BatteryListener.
2012-09-24 11:35:35 -04:00
Braden Shepherdson
8b6c9574df
Make AudioHandler stop and clean up on onReset()
2012-09-21 15:33:56 -04:00
Braden Shepherdson
313148136a
Make AccelListener stop listening onReset()
2012-09-21 14:51:45 -04:00
Joe Bowser
6e1fdc77ae
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-09-21 11:51:12 -07:00
Joe Bowser
2a9582ebb1
Fixing CB-1521 - NullPointerException on Default Jellybean Emulator
2012-09-21 11:48:33 -07:00
Braden Shepherdson
dd1cd46719
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-09-21 13:38:42 -04:00
Braden Shepherdson
9961d9e54d
Add onReset to Plugin API, call on navigate.
2012-09-21 12:00:14 -04:00
Andrew Grieve
7eb12110d1
Add a work-around for a FileTransfer bug on 2.3 only.
...
Fixes https://issues.apache.org/jira/browse/CB-1413
2012-09-21 11:54:24 -04:00
Simon MacDonald
3d62744601
CB-1512: FileTransfer API and Mojolicious
2012-09-21 11:05:54 -04:00
Andrew Grieve
17af417235
Fix up some minor FileTransfer bugs / warnings.
...
- Catch abort error in download
- Fix up merge conflicts
- Fixed a couple of compiler warnings
2012-09-20 23:39:42 -04:00
Andrew Grieve
df9d314361
Update JS to include FileProgress abort & progress support.
2012-09-20 23:39:09 -04:00
Brion Vibber
610e0c984a
Add progress callbacks, abort for FileTransfer.upload and FileTransfer.download
2012-09-20 21:53:30 -04:00
Joe Bowser
3688fca126
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-09-20 16:27:49 -07:00
Joe Bowser
9bc89c784f
Switching to ONLINE_EVENT
2012-09-20 16:27:44 -07:00
Anis Kadri
79682f5d52
updating windows create script test
2012-09-20 16:17:59 -07:00
Joe Bowser
c206ac0335
Fixing CB-1504
2012-09-19 13:47:09 -07:00
Joe Bowser
34840175f3
Adding headers and converting tabs to spaces
2012-09-19 11:12:55 -07:00
Simon MacDonald
6312457425
CB-1469: Add Globalization Plug-in for Android
2012-09-19 14:08:52 -04:00
Anis Kadri
f71e664952
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-09-18 14:45:20 -07:00
Anis Kadri
80d559f17e
removing verbosity
2012-09-18 14:45:04 -07:00
Joe Bowser
772aedc263
Fixing CB-1462, there's a difference betwene Global and Local listeners:
2012-09-18 14:24:48 -07:00
Anis Kadri
45d7c124c8
fixing windows appinfo.jar
2012-09-18 14:11:22 -07:00
Joe Bowser
73abb20b3d
Resolving CB-1496, this is faster than a pull request
2012-09-18 12:57:18 -07:00
Andrew Grieve
0baf104a75
Fix a deadlock in CallbackServer.java.
...
-Manifested when running mobile spec. Was caused by CallbackServer
obtaining lock #1 then #2 , while other thread obtained #2 then #1 .
2012-09-18 13:51:31 -04:00
Andrew Grieve
302d51cdfd
Updated JS snapshot.
2012-09-18 13:25:18 -04:00
Andrew Grieve
d3cbfd5467
Add a flag to disable exec() chaining for benchmarking.
...
- Also moved ENABLE_LOCATION_CHANGE_EXEC_MODE to NativeToJsMessageQueue
so that all exec() related flags are in one place.
2012-09-18 13:24:38 -04:00
Andrew Grieve
9e3e7e1820
Remove TODO comment about calling webView from non-ui thread.
...
I tried it and it turned out to be a bit slower instead of faster.
2012-09-18 13:24:37 -04:00
Andrew Grieve
18893bf6cd
Use a thread pool when executing async plugin operations.
2012-09-18 13:24:37 -04:00
Andrew Grieve
f53161d6f5
Always send as many messages native->JS in one payload as possible.
2012-09-18 13:24:37 -04:00
Andrew Grieve
4c9a571106
Add constant to disable non-exec() messages in Native->JS bridge.
2012-09-18 13:24:37 -04:00
Andrew Grieve
365edcad16
Optimize encoding of PluginResults within NativeToJsMessageQueue.
...
Also included in this refactoring:
-Better use of StringBuilder when encoding messages
-Defers actual encoding of messages until they are popped.
-Add a pause/unpause of message queue so that all pending messages will
be sent to JS in order at the end of a PROMPT or JS_OBJECT context.
Before they may not have been sent in order.
-Tweaked LOAD_URL so that it always happens on the UI thread (avoids
log warning).
2012-09-18 13:24:37 -04:00
Andrew Grieve
ae9047a708
Refactor how PluginResults are sent to JS.
...
There is now a sendPluginResult() as well as a sendJavascript() on
CordovaWebview.
sendPluginResult() sends the result so that it can be parsed without
using eval(), when the active bridge allows it.
2012-09-18 13:24:37 -04:00
Andrew Grieve
9c0e58df8d
Disable debug logging of loadUrl for javascript URLs.
...
When using LOAD_URL bridge mode, this is far too verbose.
2012-09-18 13:24:37 -04:00
Andrew Grieve
ee34f11c29
Set the initial network-available state on start-up.
...
I've been assuming that it always starts as true, but this will ensure
that it does.
2012-09-18 13:24:37 -04:00
Andrew Grieve
6ca6d88bff
Fix NPE when using LOCATION_CHANGE exec bridge.
2012-09-18 13:24:36 -04:00
Andrew Grieve
65a397fb63
Abstract JS->Native API calls into a class.
...
-setNativeToJsBridgeMode() and poll() can now be used via the JS interface
exported via addJavascriptInterface.
-prompt() now forwards calls to this class so that the logic will be the
same whether prompt() or the JS object is used.
2012-09-18 13:24:36 -04:00
Andrew Grieve
0a669077fb
Fix warning about .close() not being called in FileUtils.
2012-09-18 13:23:26 -04:00
Simon MacDonald
451688a12e
CB-1126: Splashscreen
2012-09-18 11:49:11 -04:00
Simon MacDonald
d181d89dd2
CB-1411: Add trustAllHosts option to FileTransfer.download on Android
2012-09-17 22:09:52 -04:00
Simon MacDonald
ac14b0d73b
CB-1481: ContactName - name.formatted returns with a trailing white space
2012-09-17 22:09:51 -04:00
Simon MacDonald
0f42c65792
CB-1321: IMS types returning as other
2012-09-17 22:09:51 -04:00
Simon MacDonald
37b3e980dc
CB-1362: We should add android:hardwareAccelerated=true to the template manifest.xml
2012-09-17 22:09:51 -04:00
Simon MacDonald
eb49e011e2
CB-1405: navigator.language
2012-09-17 22:09:51 -04:00
Josh Soref
e0a73f72ee
Spelling: throw
2012-09-17 22:09:51 -04:00
Josh Soref
e217ab28c5
Spelling: success
2012-09-17 22:09:51 -04:00
Josh Soref
ca583865ea
Spelling: substituted
2012-09-17 22:09:51 -04:00
Josh Soref
5e7efde311
Spelling: retrieve
2012-09-17 22:09:51 -04:00
Josh Soref
2c7c13420b
Spelling: polyfill
2012-09-17 22:09:51 -04:00
Josh Soref
ac4fc3e54e
Spelling: occurred
2012-09-17 22:09:51 -04:00
Josh Soref
46db36a05e
Spelling: necessary
2012-09-17 22:09:51 -04:00
Josh Soref
3d073be990
Spelling: milliseconds
2012-09-17 22:09:51 -04:00
Josh Soref
1bc49fe450
Spelling: explicitly
2012-09-17 22:09:51 -04:00
Josh Soref
1f7fe9abcc
Spelling: definition
2012-09-17 22:09:51 -04:00
Josh Soref
5217abf57a
Spelling: containing
2012-09-17 22:09:51 -04:00
Josh Soref
2ecbde891a
Spelling: conjunction
2012-09-17 22:09:51 -04:00
Josh Soref
bf7fc66646
Spelling: comparisons
2012-09-17 22:09:51 -04:00
Josh Soref
5a94b38e2f
Spelling (en-us): behavior [slightly more instances of this spelling than the British]
2012-09-17 22:09:51 -04:00
Josh Soref
1bc55f5937
Typo stray paren
2012-09-17 22:09:51 -04:00
Josh Soref
04c9542f94
Spelling: application
2012-09-17 22:09:50 -04:00
Josh Soref
17e739f68a
Spelling: aperture
2012-09-17 22:09:50 -04:00
Josh Soref
4f5515fde3
Spelling: after
2012-09-17 22:09:50 -04:00
Josh Soref
ae3ba129ea
Spelling: activities
2012-09-17 22:09:50 -04:00
Josh Soref
6b92a0fff7
Brand: cordova
2012-09-17 22:09:50 -04:00
Anis Kadri
d859bb8e67
adding windows createAppInfoJar
2012-09-17 17:14:25 -07:00
Fil Maj
f12bbf71ed
Added license headers to test java files
2012-09-17 14:25:12 -07:00
Fil Maj
b723beb545
[CB-1484] License headers audit
2012-09-17 14:19:02 -07:00
Joe Bowser
47daaaf14f
Fixing up the commons-codec issue - CB-1483
2012-09-17 13:26:23 -07:00
Joe Bowser
9ba5bae34d
Updating commons-codec
2012-09-17 09:44:47 -07:00
Philipp Klose
dbfa2d7994
Change bin/create to use bash as shell
...
Fixes script on older Ubuntu versions.
2012-09-17 11:09:53 -04:00
Joe Bowser
8134f86d1f
Fixing CB-1467
2012-09-14 11:42:16 -07:00
Joe Bowser
5c60b09bf4
Updating the manifest so that it is correct
2012-09-13 11:46:31 -07:00
Joe Bowser
20a19d67d0
Put this on the wrong branch
2012-09-13 11:44:09 -07:00
Joe Bowser
311a2f6023
Updating JS with feeling - See CB-1420
2012-09-12 12:58:30 -07:00
Simon MacDonald
59a3cf93e6
Tagging 2.1.0
2012-09-12 11:44:53 -04:00
Simon MacDonald
a42f095cef
CB-1409: Clicking the menu button crashes Jellybean
2012-09-11 09:04:42 -04:00
Simon MacDonald
a29340523f
CB-1293: Camera.getPicture crashes when selecting from a Picasa album on Android
2012-09-07 15:20:31 -04:00
Joe Bowser
5ad7a7c014
Forgot to put back echo
2012-09-06 17:12:36 -07:00
Joe Bowser
c6fa7e4aad
Reverting to the previously known to work config.xml, we'll introduce the new format in 2.2
2012-09-06 15:47:53 -07:00
Joe Bowser
d4b248fbe3
Merge conflict on the plugins
2012-09-06 15:26:38 -07:00
Joe Bowser
48881d081a
Adding support for data uri
2012-09-06 12:19:42 -07:00
Joe Bowser
331024414e
Fixed the backbutton issues with the keyboard without causing issues with the menu button so far
2012-09-05 16:10:48 -07:00
Simon MacDonald
9d0c5349bb
CB-1304: Update PhoneGap References to Apache Cordova
2012-09-03 14:31:35 -04:00
Simon MacDonald
dc40d8afac
CB-1335: Update www/ Application
2012-09-03 13:42:15 -04:00
Simon MacDonald
005877b4b8
CB-1303: Remove References to the Callback Project
2012-09-03 13:22:07 -04:00
Simon MacDonald
774d21747a
Tagging 2.1.0rc2
2012-08-31 16:44:53 -04:00
Simon MacDonald
12e5b39c05
Fixing failing 'should return MediaError for bad filename' Media test case
2012-08-31 12:50:23 -04:00
Simon MacDonald
4d5e452ece
CB-1358: Getting Force Close in incoming Cal while recording the Audio?
2012-08-31 12:45:01 -04:00
Michael Brooks
1ba3ecbef3
[ #1301 ] Remove releasenotes.md
...
The file has not been updated in 5 months. If we choose to have
platform-level CHANGELOG's then it should be started across all
projects and named consistently as CHANGELOG.
2012-08-30 16:08:16 -07:00
Michael Brooks
db6695cb02
[ #1305 ] Remove guides/ directory
...
The guides are now documented in incubator-cordova-docs.
2012-08-30 15:34:57 -07:00
Simon MacDonald
b3f5e039f2
Fixing 'FileTransfer.download() - should handle unknown host' failing mobile-spec test case
2012-08-30 17:01:16 -04:00
Andrew Grieve
c3e17fb185
Fix broken file upload in mobile-spec tests (CB-1290).
...
The explicit transfer-encoding: chunk that was added breaks in
fixed-length streaming mode. It is, however, still required to
work-around an OOM bug in HTTPS mode. The new logic works for both the
mobile-spec and the HTTPS large-file test that I used before.
Commit adding the header: 999c548e6e
2012-08-30 13:37:19 -04:00
macdonst
f7ae7fe43a
CB=1293: Camera.getPicture crashes when selecting from a Picasa album on Android
2012-08-29 12:46:12 -04:00
macdonst
e07822350e
CB-1289: The menubutton event fires twice
2012-08-28 11:55:12 -04:00
Andrew Grieve
07439ff99c
Refactor to avoid adb warnings of VFY: on start-up.
2012-08-27 15:05:20 -04:00
macdonst
f111c245c1
Tagging 2.1.0rc1
2012-08-24 16:44:18 -04:00
Anis Kadri
c3502da4a0
arg forgot dest file
2012-08-24 13:40:23 -07:00
Anis Kadri
4012108d48
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-08-24 12:15:02 -07:00
Anis Kadri
4a0605e09b
CB-1235 Fixing Android create script on Windows
2012-08-24 12:14:58 -07:00
Andrew Grieve
250380d73e
Implement LOAD_URL exec bridge.
...
Also refactors PluginManager.exec to return the PluginResult instead of
a string.
2012-08-24 14:19:41 -04:00
Andrew Grieve
b30f5d782d
Fix JS timers being disabled on pause and never re-enabled.
...
Was broken in this change:
b234b0bded
2012-08-23 15:35:08 -04:00
macdonst
b00cd9b557
Updating the .gitignore file
2012-08-23 12:38:40 -04:00
Braden Shepherdson
e11f8f646b
Greatly improve speed of fetching contacts.
...
We were selecting every column in a fairly wide table before. This code fetches
only those columns necessary to populate the data requested by the Javascript
code. In experiments with coworkers' and my own contact lists, the time to fetch
~1440 contacts has gone from over 40 seconds to less than 10 seconds. I have not
tested with fewer than 1400 contacts, but I expect at least a small improvement.
2012-08-22 10:46:32 -04:00
Andrew Grieve
92b1de8cf8
Update cordova.android.js to pull in exec changes.
2012-08-22 09:50:40 -04:00
Andrew Grieve
bbafe53a2b
Added Native-JS bridge mode that uses private WebView APIs.
2012-08-22 09:46:30 -04:00
Andrew Grieve
e239fd970f
Implement the online events based Native->JS bridge.
2012-08-22 09:46:30 -04:00
Andrew Grieve
7fa4515c28
Implements the LOAD_URL Native->JS bridge mode
...
(without keyboard work-around)
2012-08-22 09:46:30 -04:00
Andrew Grieve
b40eb0a454
Fix API lint warnings in CordovaChromeClient and CordovaWebViewClient.
2012-08-22 09:46:30 -04:00
Andrew Grieve
5e3e9ddb8e
Refactor Native->JS messaging logic into its own class.
...
This will make it easy to add more modes.
This also adds logic to set the move via a prompt() from JS.
2012-08-22 09:46:30 -04:00
macdonst
a9a5284a67
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-08-20 16:24:09 -04:00
macdonst
afe504dbbf
CB-1267: Reuse Media object for recording
2012-08-20 16:23:19 -04:00
Andrew Grieve
0c484ddcf7
Make Eclipse recognize framework as a library project
...
Instructions are here:
http://developer.android.com/tools/projects/projects-eclipse.html#SettingUpLibraryProject
2012-08-20 14:22:48 -04:00
macdonst
8d0e80620a
CB-1264: Media.stop() puts media into an unplayable state
2012-08-20 12:06:39 -04:00
Joe Bowser
1d28506b09
Fix for CB-1257
2012-08-17 14:35:08 -07:00
Andrew Grieve
1b33dbe2ae
Provide an addJavascriptInterface() exec object.
...
-Disabled for 2.3 emulator to avoid a crash bug.
2012-08-17 11:15:19 -04:00
Andrew Grieve
80654c059d
Add an Echo plugin for benchmarking purposes.
2012-08-17 11:10:16 -04:00
Andrew Grieve
999c548e6e
Fix FileTransfer running out of memory over HTTPS (CB-312).
...
Setting the Transfer-Encoding header fixes running out of memory when
using HTTPS.
This CL also adds a bit of logging so that upload progress is logged.
2012-08-16 10:30:04 -04:00
Andrew Grieve
e42913ae8a
Fix API Level linter errors in CordovaWebView.java
2012-08-16 09:36:43 -04:00
Joe Bowser
ee07cbecba
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-08-14 10:57:21 -07:00
Joe Bowser
fffaa9bced
Forgot to add the Apache headers on IceCreamCordovaWebViewClient.java
2012-08-14 10:56:54 -07:00
macdonst
6195b2c99d
CB-930: DirectoryReader creates null error code for inaccessible directory
2012-08-14 13:50:59 -04:00
Steren Giannini
06aafc96c9
Play <video> tags from the Webview in a Fullscreen video player.
...
Code from the Froyo Android Browser was adapted to support <video> elements in Cordova. The WebView creates a "CustomView" (a video player) that is displayed fullscreen.
It uses API level 7, work has to be done to support lower version.
Tested on Androdi 2.2: works
Tested on Android 4.1: doesn't work. It seems videos are handled differently (without the use of "Custom views"). To make video playing work on Android 4, add the android:hardwareAccelerated="true" attribute to the main activity of the AndroidManifest.
2012-08-14 18:13:35 +02:00
macdonst
2dc0727e36
CB-1151: FileTransfer.download decodes the URL, resulting in a 404 error
2012-08-13 15:43:55 -04:00
macdonst
a219feaa60
Downgrade min sdk version of sample app
2012-08-13 13:30:27 -04:00
macdonst
f3a09da340
Modify min sdk version in AndroidManifest.xml
2012-08-13 13:27:34 -04:00
macdonst
946e345a3f
Add service methods to legacy ctx varialbe
2012-08-10 13:14:42 -04:00
macdonst
6cb8d11b22
CB-1196: No onSuccess callback after a complete play of the local mp3 file
2012-08-10 10:53:52 -04:00
macdonst
fdcf9c5327
Reapply: CB-1211: Media record uses a .mp3 extension when it is a .3gp file
2012-08-10 09:27:37 -04:00
doggerelverse
45c714cbb5
reset of seekOnPrepared changed to properly reset only once playback has begun
2012-08-09 14:18:55 -07:00
macdonst
7352a309a0
CB-1217: Clicking back button does not dismiss navigator.notification.alert() dialog
2012-08-09 10:54:35 -04:00
Andrew Grieve
b297fe6f59
Fix a NPE in GeoBroker when there is no previous location.
2012-08-08 23:39:02 -04:00
Evgeni Petrov
e575212c49
GeoBroker checks if location service avialable for device first.
2012-08-08 23:23:01 -04:00
macdonst
c52dc10c9e
CB-1212: When camera is started, and then cancelled with no photo, attempt to read exif data results in fatal error
2012-08-08 15:53:48 -04:00
macdonst
d35c913249
CB-1211: Media record uses a .mp3 extension when it is a .3gp file
2012-08-08 15:34:26 -04:00
macdonst
9bac59b952
CB-1206: file uri not handled correctly by Media Player
2012-08-08 15:33:01 -04:00
macdonst
5016253922
Update to use latest Android SDK
2012-08-07 15:40:05 -04:00
Joe Bowser
03893071fc
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-08-03 14:08:14 -07:00
Joe Bowser
d3dc94c04b
CB-578 - Adding a test of pause and resume to make sure that they're being called. Need to elaborate on this
2012-08-03 14:07:01 -07:00
Andrew Grieve
af0feabb6a
Prefer setFixedLengthStreamingMode over setChunkedStreamingMode in FileTransfer.
...
setFixedLengthStreamingMode causes the Content-Length header to be set,
which some servers require.
We now use setChunkedStreamingMode only on Eclair devices
since there is a bug with setFixedLengthStreamingMode in that version
of the OS.
2012-08-03 12:29:37 -04:00
Joe Bowser
81ab0a414f
I forgot that Jellybean has some wacky changes on the onKeyUp and onKeyDown events, fixing CB-1181
2012-08-02 12:51:48 -07:00
Joe Bowser
ecd6ca0172
Moving the fix for # and ? to a new class to fix CB-995
2012-07-31 16:16:57 -07:00
Joe Bowser
db7ee192f7
This was a red herring. There was an XML error on the example when compared with master
2012-07-31 12:20:31 -07:00
Joe Bowser
2ec0b601fa
Commenting out this past code, turns out this breaks more things than it fixes: CB-1101
2012-07-31 11:55:01 -07:00
Joe Bowser
79feb6d5d2
CB-1101: Specifying Jellybean means that we have to override the default CORS policy
2012-07-31 11:48:38 -07:00
Joe Bowser
8013b760e3
Adding functionality to read a config.xml file with plugin details implemented inside of it
2012-07-30 16:31:33 -07:00
Joe Bowser
a29b8e5b36
Caught error with the back button again. backHistory actually goes back in history, used canGoBack() instead
2012-07-30 13:55:22 -07:00
Anis Kadri
9ef487a7a5
fixing replace for mountain lion
2012-07-28 08:13:31 -07:00
Anis Kadri
563fa46ba4
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-07-27 18:30:59 -07:00
Anis Kadri
7865c06863
CB-1148 fix for directories with spaces
2012-07-27 18:30:39 -07:00
Andrew Grieve
3d53b9244d
Adds FileTransfer support for upload headers.
...
-Support previously existed via options.params.headers. This CL
deprecates this (undocumented) way of adding headers and adds support
for options.headers.
-This also adds support for multiple headers via:
options.headers = {"Name": ["Value1", "Value2"]}.
2012-07-27 20:54:31 -04:00
Joe Bowser
f2afa4dd50
Tweaking the Android Manfest to cope with new target changes: CB-1147
2012-07-27 13:31:25 -07:00
Joe Bowser
893ecec55e
Minor fix to deal with weird keyboard focus issues and the back button. CB-1146
2012-07-27 10:33:38 -07:00
Joe Bowser
401584dbd8
Throwing code over the fence for CB-1128, We need a Samsung Galaxy S running 2.3.5 to confirm this fix
2012-07-25 12:54:03 -07:00
Joe Bowser
b234b0bded
Utility Methods based on Feedback
2012-07-24 15:54:01 -07:00
Joe Bowser
b9b2c6a013
Updating sample project
2012-07-23 10:43:23 -07:00
Joe Bowser
1d2efa0d25
Fixing leaking sockets
2012-07-20 16:02:43 -07:00
Joe Bowser
93ec092eaf
Forgot to add the example app. Works with the script
2012-07-20 09:57:26 -07:00
Joe Bowser
29ae492983
Upping the version to 2.0.0
2012-07-18 16:58:03 -07:00
Joe Bowser
b9f6a59a20
Fix for CB-1085
2012-07-18 14:37:45 -07:00
Joe Bowser
d74551216f
Throwing code over the fence to fix CB-1087, I can't repro on my Galaxy Nexus
2012-07-18 14:30:45 -07:00
Andrew Grieve
d4302ae51b
Remove cordova.xml and plugins.xml from framework/res/xml.
...
They have been superseded by config.xml, and having them stick around
was confusing.
2012-07-16 15:06:12 -04:00
Joe Bowser
9d5fb0b201
Tagging 2.0.0rc1
2012-07-13 15:46:09 -07:00
Fil Maj
e0a5fe4002
[CB-574] Added backbutton automated unit test for android.
2012-07-13 14:57:40 -07:00
macdonst
f9d9a0a4bd
Adding deprecation notice to LegacyContext
2012-07-13 15:36:56 -04:00
Joe Bowser
78f0c7b119
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into audio
2012-07-12 14:41:56 -07:00
Fil Maj
c6d8343de2
[CB-1035] Including newest JS built based on refactored common device module.
2012-07-12 13:37:08 -07:00
Anis Kadri
0ccd11e587
CB-1031 android create script fails
2012-07-11 14:00:42 -07:00
Joe Bowser
b486711d68
Combining plugins.xml and cordova.xml to make config.xml
2012-07-11 11:23:31 -07:00
Fil Maj
2eb4c5e960
[CB-1022] Reverted nanoTime back to currentTimeMillis. Updated mobile-spec tests as well. This passes all accel tests.
2012-07-11 10:26:14 -07:00
Fil Maj
85aa740c98
[CB-481] Removed todo comment introduced by bryce, clarified what is going on
2012-07-11 09:35:29 -07:00
Joe Bowser
6415848383
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into audio
2012-07-11 09:14:04 -07:00
macdonst
beb9460538
CB-952: Android showSplashScreen crashes
2012-07-10 20:52:07 -04:00
Joe Bowser
c030770be7
Working with Lorin's change
2012-07-10 14:37:26 -07:00
macdonst
0180342dff
CB-993: Android plugin problems upgrading to 1.9.0
2012-07-10 16:26:52 -04:00
macdonst
b97748d3dc
CB-1005: Can not remove contact phonenumber values
2012-07-10 11:25:20 -04:00
Joe Bowser
9d4977db00
Fixing bug on ICS where the super.onKeyDown wasn't being called
2012-07-09 14:42:29 -07:00
macdonst
f095284faa
CB-1016: Zero width or height in getPicture throws java.lang.ArithmeticException
2012-07-07 22:19:55 -04:00
macdonst
401c2f42f9
Modify PluginResult(status) so it generates a JSON string that works with JSON.parse()
2012-07-06 17:39:04 -04:00
macdonst
eb0348d47c
CB-1014: Out of Memory error when getting image from photo library
2012-07-06 12:37:08 -04:00
macdonst
1f46240ba9
CB-999: When getting images from the PHOTOLIBRARY apply the correctOrientation fix
2012-07-05 16:04:47 -04:00
macdonst
14870726e0
CB-1008: Camera with targetHeight, targetWidth loses image aspect ratio
2012-07-05 15:32:55 -04:00
macdonst
c7d6a2eecb
CB-992: Camera tries to add temp photo to gallery
2012-07-05 14:02:20 -04:00
macdonst
ce61eb2174
Implementing CordovaInterface.getContext in test folder classes
2012-07-03 11:36:04 -04:00
macdonst
f3df21ef0a
Fix mis-spelling in upgrade guide
2012-07-03 10:33:48 -04:00
macdonst
5eb554e008
CB-993: Android plugin problems upgrading to 1.9.0
...
The DroidGap.getContext() method causes an infinite loop and eventually a stack overflow error.
2012-07-02 16:37:14 -04:00
macdonst
e5e7c3fad3
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-29 15:55:34 -04:00
macdonst
2a8b9ab75e
Tagging to 1.9.0
2012-06-29 15:55:03 -04:00
Fil Maj
c8f0ffb42f
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-29 09:37:59 -07:00
Fil Maj
b3e68b96cf
Removing CordovaWebView Guide; its going into the docs
2012-06-29 09:37:31 -07:00
macdonst
ae7a550a09
Only load Exif information if necessary
2012-06-29 11:31:33 -04:00
Anis Kadri
e069bbb800
CB-937 fixing debug for windows
2012-06-28 17:11:21 -07:00
Anis Kadri
17ff6be6a9
CB-937 fixing debug
2012-06-28 17:08:32 -07:00
Anis Kadri
d42489c67a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-28 16:47:18 -07:00
Lorin Beer
3ea72e5d21
added deleted tempfile setup
2012-06-28 16:17:00 -07:00
Lorin Beer
762854ad7a
changed handling of stopRecording to reflect handling of create message
2012-06-28 15:53:47 -07:00
Lorin Beer
10465066ee
Merge branches 'master' and 'dev'
2012-06-28 15:37:11 -07:00
Lorin Beer
0cf9f51816
use enums to track internal states instead of int. Fixed 'unknown state' bug with the addition of loading state. Mega commit, lost some history.
2012-06-28 15:36:28 -07:00
Lorin Beer
3d5e2340ca
update to use ordinal instead of enum value
2012-06-28 15:29:23 -07:00
macdonst
e2047afa42
Wire rotation fix to correctOrientation parameter
2012-06-28 12:00:19 -04:00
macdonst
231b39d2dc
Reset orientation exif information when photo is rotated
...
When a photo is taken in portrait mode we rotate it so it shows up properly in the webview. The Exif orientation must be reset to normal orientation (0) or the image will not display properly on desktops.
2012-06-28 12:00:19 -04:00
macdonst
dddce30368
Rotate image if taken in portrait mode
2012-06-28 12:00:19 -04:00
macdonst
e0e4ba2bd7
Fix double image problem on Samsung phones
...
On Samsung phones even if you tell the camera not to save to the photo gallery it still does. This small fix deletes the original file as it is not needed.
2012-06-28 12:00:19 -04:00
macdonst
e0eadb6b76
Using a better scaling algorithm to resize the image
...
Instead of reading the entire image into a bitmap then scaling we use the
inSampleSize option to get a close to the target width and height as possible
then we scale that smaller image.
2012-06-28 12:00:19 -04:00
macdonst
483e5dfbea
Switch getPicture from Gallery to use file instead of content resolver
2012-06-28 12:00:18 -04:00
macdonst
8aa9d8213d
Cache bust returned Image URI if saveToPhotoAlbum is false
2012-06-28 12:00:18 -04:00
macdonst
a74f71c935
Decode image from File instead of content resolver
2012-06-28 12:00:18 -04:00
macdonst
87b81e53f0
CB-978: FileTransfer.upload from a directory with a space fails
2012-06-28 11:57:06 -04:00
Joe Bowser
a2816e31c3
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-28 08:00:59 -07:00
Joe Bowser
f78af9f27b
Forgot to add it renderscript.opt.level to the project. This will fix ant issues
2012-06-28 08:00:35 -07:00
Anis Kadri
98138a0a60
log was actually doing nothing...fixing it
2012-06-27 17:55:35 -07:00
Anis Kadri
e639b6303e
updating create script to work from distro and source
2012-06-27 17:54:57 -07:00
Anis Kadri
99fb3ebe00
creating project without source
2012-06-26 17:34:19 -07:00
Joe Bowser
5829840409
Re-adding getContext because yo dawg, I heard you like contexts in your contexts
2012-06-26 11:25:17 -07:00
Anis Kadri
4699ab5500
forgot to add +x on BOOM
2012-06-25 15:03:19 -07:00
Anis Kadri
69fc7f39b7
setting +x on script files
2012-06-25 14:59:35 -07:00
Anis Kadri
510a962a52
deleting old BOOM
2012-06-25 14:56:09 -07:00
Anis Kadri
570fc3cfb2
removing echoes
2012-06-25 14:46:10 -07:00
Joe Bowser
5d211f2fa6
Might as well keep isBackbuttonOverriden on the plugin
2012-06-22 10:38:42 -07:00
Joe Bowser
dcb127c14d
Weird merge error didn't account for isBackButtonBound
2012-06-22 10:37:33 -07:00
Fil Maj
fba87de064
Removed some legacy button code that existed in droidgap + app plugins
2012-06-22 10:07:07 -07:00
Anis Kadri
576f8cba44
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-21 21:15:59 -07:00
Anis Kadri
b9f9429542
windows build/debug/launch scripts
2012-06-21 21:15:53 -07:00
Joe Bowser
bf0df9f3c3
Since we moved binding of buttons into a view, let's remove it from the Interface
2012-06-21 15:21:56 -07:00
Joe Bowser
1d458f2782
After failed rebase, need to do merge in the branch to fix this
2012-06-21 14:49:19 -07:00
Fil Maj
5ca4b4a884
Refactored cleanup in camera code a bit. Removed overrides for Scanner functionality
2012-06-21 14:22:09 -07:00
Joe Bowser
5935052ead
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-21 14:04:48 -07:00
Fil Maj
f3f2ad9144
Merging in use of uri variable between Simon and my changes.
2012-06-21 14:03:59 -07:00
Fil Maj
9d1edc4554
Fixed the 0-byte files in gallery. Also fixed exif rewriter for saveToPhotoAlbum:false JPG files. Thanks for your help Simon!
2012-06-21 14:03:59 -07:00
Fil Maj
5143b8a492
added . in front of the temp files passed into camera app. presumably this hsould stop the gallery app from picking it up
2012-06-21 14:03:59 -07:00
Fil Maj
7c67f40fc4
Tacked on file extension to camera file
2012-06-21 14:03:58 -07:00
Fil Maj
167b600135
Removing images and saving images to jail if SaveToPhotoAlbum is set to true
2012-06-21 14:03:58 -07:00
Fil Maj
6c465e25d3
merge!!!!11one
2012-06-21 14:03:58 -07:00
Fil Maj
c183d06ed1
Added MediaScanner abilities to camera launcher plugin. Now images saved to SD card should show up in the android gallery app right away
2012-06-21 14:03:58 -07:00
Joe Bowser
574731b853
Adding updated JS
2012-06-21 14:03:58 -07:00
Fil Maj
94568a4ec8
Merging in use of uri variable between Simon and my changes.
2012-06-21 12:37:44 -07:00
Fil Maj
b22c0e5b6d
Fixed the 0-byte files in gallery. Also fixed exif rewriter for saveToPhotoAlbum:false JPG files. Thanks for your help Simon!
2012-06-21 12:09:51 -07:00
Fil Maj
ab3347d25d
added . in front of the temp files passed into camera app. presumably this hsould stop the gallery app from picking it up
2012-06-21 12:09:51 -07:00
Fil Maj
66872de8e5
Tacked on file extension to camera file
2012-06-21 12:09:50 -07:00
Fil Maj
f6d4402fdc
Removing images and saving images to jail if SaveToPhotoAlbum is set to true
2012-06-21 12:09:50 -07:00
Fil Maj
9f66ccb5f3
merge!!!!11one
2012-06-21 12:09:50 -07:00
Fil Maj
b339330592
Added MediaScanner abilities to camera launcher plugin. Now images saved to SD card should show up in the android gallery app right away
2012-06-21 12:09:50 -07:00
Joe Bowser
56acd2953b
Adding updated JS
2012-06-21 11:12:30 -07:00
Anis Kadri
6f8e13297e
fixing create
2012-06-20 19:08:18 -07:00
Anis Kadri
e9a9144098
adding windows scripts
2012-06-20 19:07:41 -07:00
Joe Bowser
d1905dbee8
Fixing work-around to work for both ? and #
2012-06-20 14:16:02 -07:00
Joe Bowser
adc88f01b7
Attempt to test icecream_workaround from viafirma
2012-06-20 12:45:51 -07:00
Joe Bowser
ccf0c5db67
Got up and down mixed
2012-06-20 12:07:04 -07:00
macdonst
507554b8e8
Fixing merge error
2012-06-20 12:47:00 -04:00
macdonst
4795133daf
CB-919: Camera Plugin returned with empty error message
...
Instead of guarding against a null cursor we detect if the device is using internal or external storage to save the photos and adjust our DB queries accordingly.
2012-06-20 12:43:37 -04:00
macdonst
c1c9075962
CB-919: Camera Plugin returned with empty error message
...
Guarding against null cursor.
2012-06-20 12:20:42 -04:00
macdonst
a691e9f744
CB-910: Camera out of memory error
...
Whenever possible do not load the image into a Bitmap as it takes too much memory and blows up the Java heap.
2012-06-20 11:00:13 -04:00
macdonst
8969eed506
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-19 20:22:30 -04:00
Anis Kadri
be83095edf
updating windows create.js and creating node test
2012-06-19 20:21:45 -04:00
macdonst
5c7783305a
CB-883: SplashScreen without show() method, only hide()
2012-06-19 20:21:13 -04:00
Joe Bowser
f394f7457b
Tweaks to CordovaWebView to support other keys
2012-06-19 16:35:22 -07:00
Anis Kadri
d60806bfa6
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-19 16:28:11 -07:00
Anis Kadri
32febcb892
updating windows create.js and creating node test
2012-06-19 16:28:00 -07:00
macdonst
6c594b6f5f
Fixing merge error in FileUtils.notifyDelete
2012-06-19 11:29:00 -04:00
Joe Bowser
67d46432ed
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-18 16:01:19 -07:00
Joe Bowser
adf4166caa
Incrementing version to 1.9.0rc1 and doing some variable cleanup
2012-06-18 16:00:42 -07:00
Joe Bowser
40b9810a63
Starting the Buttons Branch
2012-06-18 11:31:53 -07:00
Lorin Beer
d9e7984279
fixed seek behaviour, but introduces a bunch of new problems
2012-06-18 10:29:56 -07:00
Lorin Beer
e5b9900d3b
halfway through refactor
2012-06-17 23:59:13 -07:00
Lorin Beer
fc3f1431b2
made internal status static variables final as well, specifically so that they can be used in switch statements
2012-06-17 22:56:22 -07:00
Lorin Beer
c8bf2f4cb1
removed audio load code from startPlaying to a private function
2012-06-17 22:37:12 -07:00
Lorin Beer
d16555ec4b
added file requirement to constructor, all references to AudioPlayer constructor had direct access to file, so this caused no other changes
2012-06-17 22:19:33 -07:00
Lorin Beer
3c9415b1c2
added create message handler, updated AudioPlayer constructor usage
2012-06-17 22:18:09 -07:00
Anis Kadri
aa45670d87
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-15 18:38:56 -07:00
Anis Kadri
e6d801a594
adding appinfo
2012-06-15 18:38:46 -07:00
Anis Kadri
0aec2be4dd
updating bash create script and node test
2012-06-15 18:36:06 -07:00
Anis Kadri
c86b618aaa
adding bash helper scripts
2012-06-15 18:35:34 -07:00
Joe Bowser
451afabfbb
One more time, getting the title default right
2012-06-15 15:37:38 -07:00
Joe Bowser
f60049f713
Default should be false not true
2012-06-15 15:34:26 -07:00
Joe Bowser
ee0cd679d3
Adding more undocumented features for app title bar and full-screen
2012-06-15 15:16:14 -07:00
Joe Bowser
07ed6daeda
Removed merge because I missed the preference set
2012-06-15 15:01:46 -07:00
Joe Bowser
b5800ced61
Incrementing version to 1.9.0rc1
2012-06-15 14:54:46 -07:00
Joe Bowser
6d879f19f8
I think we need to rethink how we automate this test
2012-06-15 13:31:06 -07:00
Joe Bowser
dde79c14f5
Adding the TitleBar pull request
2012-06-15 11:28:42 -07:00
Joe Bowser
b08f245504
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-15 10:17:15 -07:00
Joe Bowser
cbd0b7a94b
This is a poorly written test. What was I thinking?
2012-06-14 15:23:55 -07:00
Joe Bowser
f060d09272
Fixing up tests
2012-06-14 15:23:55 -07:00
Joe Bowser
6edad7e7de
This is a poorly written test. What was I thinking?
2012-06-14 15:11:12 -07:00
Joe Bowser
f0f596c892
Fixing up tests
2012-06-14 13:55:26 -07:00
Joe Bowser
dbe65f1d35
Adding the WebDriver Tests
2012-06-14 13:35:48 -07:00
Joe Bowser
cdaf620f92
CB-582: Automating User WebView/WebViewClient/WebChromeClient tests
2012-06-14 10:33:32 -07:00
macdonst
09b753d09e
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-14 10:34:33 -04:00
macdonst
838fa5635f
CB-920: FileTransfer UTF-8 bug
2012-06-14 10:33:44 -04:00
Anis Kadri
0a4d218010
updating test for CB-916
2012-06-13 15:52:26 -07:00
Anis Kadri
24944cff22
deleting old stuff
2012-06-13 15:42:31 -07:00
macdonst
34820f4344
Removed need for getFormatData/Image to load image into memory
2012-06-13 15:57:17 -04:00
Anis Kadri
56047e5fc8
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-12 16:06:42 -07:00
Darryl Pogue
80ee6c1a91
Support showing the app title bar through a preference.
...
This does not change the default behaviour, and will only show the title bar when the showTitle preference is true. This allows apps to show and make use of the ActionBar in Android 3.x and 4.0.
2012-06-12 10:03:50 -07:00
Bryce Curtis
5649fbac20
Fix exception when defaultValue=null.
2012-06-11 14:55:08 -05:00
Bryce Curtis
586d3ecd60
Backbutton broken by adding new onKeyDown method without calling its super.
2012-06-11 14:53:43 -05:00
Joe Bowser
9ebdca66d9
Weird comment conflict
2012-06-11 10:28:24 -07:00
Anis Kadri
41ddcf2218
updated reference in test
2012-06-08 18:35:25 -07:00
Anis Kadri
cbe1216bc2
checking if project exits
2012-06-08 18:04:08 -07:00
Anis Kadri
234ee63859
updating build.xml templates reference
2012-06-08 17:43:29 -07:00
Anis Kadri
2402541974
adding tools verification to batch file
2012-06-08 17:43:10 -07:00
Anis Kadri
8b1fb30f59
fixing create script
2012-06-08 17:42:53 -07:00
Anis Kadri
bf6864bce0
updating cordova.js version
2012-06-08 17:42:06 -07:00
Joe Bowser
34ebdaddc1
Adding logs
2012-06-08 17:17:11 -07:00
Joe Bowser
9f42772b7e
Adding the volume button event changes
2012-06-08 16:25:09 -07:00
macdonst
47211f6cb3
Revert: Adding getContext, startActivity to CordovaInterface
2012-06-08 14:38:58 -04:00
macdonst
95b48705fe
Adding getContext, startActivity to CordovaInterface
2012-06-08 14:03:20 -04:00
macdonst
6c1a2e1230
CB-878: Splash screen in Android fullscreen mode showing not correct
2012-06-08 13:59:32 -04:00
Anis Kadri
55b1e40885
renaming create2
2012-06-08 10:36:10 -07:00
macdonst
d87f404d6e
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-08 13:03:44 -04:00
macdonst
48c6ec87cf
CB-878: Splash screen in Android fullscreen mode showing not correct
2012-06-08 13:03:12 -04:00
Anis Kadri
71972dcaab
updating templates reference
2012-06-07 20:11:28 -07:00
Anis Kadri
3fd158ad6e
renaming create2 and templates2
2012-06-07 20:10:14 -07:00
Anis Kadri
447af8da6a
removing old create and templates
2012-06-07 20:08:22 -07:00
Anis Kadri
e8b80e8752
updating Windows !@#% build script
2012-06-07 19:56:08 -07:00
Anis Kadri
30a1164f6a
Merge branch 'master' of https://github.com/imhotep/incubator-cordova-android into build
2012-06-07 18:18:16 -07:00
Joe Bowser
80a5ea137b
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-07 13:20:24 -07:00
Steven Gill
db8a8f3556
updated NOTICE file
2012-06-07 13:12:19 -07:00
Joe Bowser
81195db87d
Massive Merge Commit of DEATH TO SPACES
2012-06-06 14:35:45 -07:00
Steven Gill
23ec117f57
updated NOTICE file
2012-06-06 11:55:11 -07:00
macdonst
d3e24b0c48
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-06 10:46:37 -04:00
Joe Bowser
58c3f9a187
Updating the JS and the version for tagging
2012-06-06 10:45:44 -04:00
Joe Bowser
03aaab6f8b
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-06-05 15:45:33 -07:00
Joe Bowser
a489ae0fb6
Updating the JS and the version for tagging
2012-06-05 14:26:02 -07:00
Joe Bowser
c8af154205
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-06-05 10:05:36 -07:00
macdonst
6d1e0356ac
Changing all tabs to spaces
2012-06-05 09:49:50 -04:00
macdonst
adfdb16dc5
CB-860: MediaFile.getFormatData broken for Image from Capture
2012-06-05 08:45:33 -04:00
Anis Kadri
825b9eafc2
testing create2 script
2012-06-04 17:59:42 -07:00
Joe Bowser
0ad9ff0d87
Merge commit. TABS ARE NOT SPACES
2012-06-04 15:20:00 -07:00
macdonst
24e5c24dd4
Cb-858: Media record defaults to sdcard which may not be mounted
2012-06-04 16:21:13 -04:00
Anis Kadri
8451133d00
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-06-04 11:38:07 -07:00
Julien Bouquillon
be165c677f
upgrade to latest cordova.android.js
2012-06-02 22:57:35 +02:00
Julien Bouquillon
55ee289ed6
Merge remote-tracking branch 'upstream/master' into volumebtns
2012-06-02 22:52:34 +02:00
macdonst
22e5ccfed4
Merge branch 'master' of https://github.com/will-quast/incubator-cordova-android
2012-06-02 15:57:53 -04:00
macdonst
508cafad1d
Change 'websites' to 'urls'
2012-06-02 11:12:12 -04:00
Fil Maj
ca979a99e8
small tweaks to readme re: testing
2012-05-31 16:01:20 -07:00
Joe Bowser
4ecbaa79cf
Weird merge error. Yo dawg, I heard you like catching exceptions, so we put a catch around your catch. FAIL
2012-05-31 14:24:45 -07:00
Anis Kadri
c12f01261a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-05-31 12:24:03 -07:00
Anis Kadri
d6d2749411
updating script to cleanup on exit/error
2012-05-31 12:23:56 -07:00
Anis Kadri
509588b130
adding a new create script
2012-05-30 19:59:20 -07:00
macdonst
c21e8c9c87
CB-849: Cannot search by birthday
2012-05-30 21:07:56 -04:00
Joe Bowser
e7411e8260
Merge commit of changes on 1.8
2012-05-30 14:45:45 -07:00
Joe Bowser
59f9b6f359
Working on tests
2012-05-30 13:33:07 -07:00
macdonst
5f93a26eea
CB-844: Contact.find does not return urls
2012-05-30 12:52:25 -04:00
macdonst
d79403e352
CB-837: CaptureCB - mediaFile.fullPath does not resolve to file
2012-05-30 09:38:55 -04:00
William Quast
ed94d0dd30
Make PluginResult return valid JSON so the JS side can use JSON.parse
2012-05-29 18:59:31 -05:00
Joe Bowser
43df9f6b9c
Missed this error in the merge commit
2012-05-29 15:49:04 -07:00
Joe Bowser
fd12f57f10
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-05-29 15:45:04 -07:00
Joe Bowser
ca1a322c76
Changing from currentTimeMillis to nanoTime, we need precision on Android 2.3
2012-05-29 14:58:32 -07:00
Joe Bowser
7d0cc5837d
Auto detect whether we have the jar already. Also, just create the directory whether it exists or not
2012-05-29 14:34:14 -07:00
Joe Bowser
5edb3acad5
Two automated tests completed
2012-05-29 13:42:56 -07:00
Joe Bowser
e35a8de4bb
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-05-29 10:34:08 -07:00
Steven Gill
b77f1cbff8
updated create script CB 839
2012-05-30 00:11:11 +10:00
Joe Bowser
8b93e87e3e
Merge commit with master, we need to kill all tabs
2012-05-28 13:45:25 -07:00
Julien Bouquillon
cb61e90148
Merge remote-tracking branch 'upstream/master' into volumebtns
2012-05-28 10:42:49 +02:00
Davide Bertola
ccd4365922
Fix calling cordova.plugin.storage.failQuery function from native code
2012-05-26 08:46:57 +02:00
macdonst
d7b79f5042
Upping version to 1.8.0rc1
2012-05-24 21:39:45 -04:00
macdonst
95fa0f4461
CB-808: CameraLauncher leaks bitmaps in Android
2012-05-24 14:49:23 -04:00
Joe Bowser
c37b2d236b
Merge commit and fix.
2012-05-24 09:31:11 -07:00
macdonst
2d77bcf1a4
Merge branch 'CB-792' of https://github.com/don/incubator-cordova-android
2012-05-23 20:39:47 -04:00
Julien Bouquillon
0c9295f8bc
listening to volume events now override default behaviour
2012-05-24 02:01:27 +02:00
Julien Bouquillon
3b27d89c4a
Merge remote-tracking branch 'upstream/master' into volumebtns
2012-05-23 23:43:55 +02:00
Julien Bouquillon
8356ac67e8
prevent volumeup/down default behaviour
2012-05-22 21:42:46 +02:00
macdonst
fae0c3dcfd
Fix problem in Android template example getPicture
2012-05-22 14:48:02 -04:00
Fil Maj
6b24f2d547
Small spacing fixes
2012-05-18 15:23:57 -07:00
Fil Maj
2d5dcf24da
[CB-463] updated js and rewrote accel plugin again to support the start/stop approach. optimized. single callback used for message passing
2012-05-18 15:22:56 -07:00
Fil Maj
15ddef26f4
removed a trailing log
2012-05-18 15:22:56 -07:00
Fil Maj
531efe1e30
[CB-463] added accuracy checking to native accel implementation, this way getCurrentAcceleration returns fairly accurate results
2012-05-18 15:22:56 -07:00
Fil Maj
df89d33fab
removed a trailing log
2012-05-18 15:20:54 -07:00
Fil Maj
cb98bbce1f
[CB-463] added accuracy checking to native accel implementation, this way getCurrentAcceleration returns fairly accurate results
2012-05-18 15:20:54 -07:00
Fil Maj
24adc6d00c
[CB-463] added the JS updates for accel refactor
2012-05-18 15:20:54 -07:00
Fil Maj
71e47aa772
[CB-463] rewrite of accel plugin
2012-05-18 15:20:54 -07:00
Juan G. Hurtado
dffd2deb53
Merge branch 'icecream_workaround' of github.com:viafirma/incubator-cordova-android into icecream_workaround
2012-05-18 08:49:26 +02:00
Juan G. Hurtado
8ff48b371e
Fix imports for changes in 45680a5
...
Commit 45680a5 had errors importing packages. This commit fix them.
2012-05-18 08:48:08 +02:00
Juan G. Hurtado
6de66b87cb
Add Android 4.0 workaround for links with params
...
Android 4.0.x has a known bug [1] while accessing local files with
params:
file://file.html?param=2
This commit adds a workaround for this problem by removing the params
part of the local URI before accessing the file.
[1] http://code.google.com/p/android/issues/detail?id=17535
2012-05-18 08:48:07 +02:00
Don Coleman
5dacb8d2d5
[CB-792] Add HTTP status code to FileTransferError
2012-05-17 14:51:41 -04:00
Fil Maj
0850229c9f
[CB-804] ADded proper cordova icon sizes for the create script
2012-05-17 11:14:23 -07:00
filmaj
1f45503e2f
[CB-659] create script for android on windows now works fully. also pulls down commons-codec jar appropriately
2012-05-17 10:59:38 -07:00
Bryce Curtis
c8a521c182
Need to call pluginManager.onDestroy() to clean up plugins.
2012-05-16 23:27:49 -05:00
Bryce Curtis
5c48ccd92a
Optimize loading "about:blank"
2012-05-16 23:27:19 -05:00
Bryce Curtis
f74d8aaf2b
CB-800: Fix preferences for the CordovaWebView. - Test case needed to implement CordovaInterface.
2012-05-16 22:45:35 -05:00
filmaj
7eb3e5d139
[CB-659] create script should work on android
2012-05-16 19:38:11 -07:00
Joe Bowser
ffa1eb1ee9
Adding tests to the README
2012-05-16 16:13:46 -07:00
Joe Bowser
24dfbfd84f
Merge branch 'CordovaWebView' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-05-16 15:25:31 -07:00
Joe Bowser
ad6d71fef3
Removing the classes we agreed were not used
2012-05-16 14:59:48 -07:00
Bryce Curtis
c178031f06
Remove unused imports.
2012-05-16 16:48:06 -05:00
Bryce Curtis
20db698475
Add usage comment.
2012-05-16 16:47:37 -05:00
Bryce Curtis
dd624ccd9c
CB-779: Verify that fullscreen and backgroundColor preferences are set properly - This check-in enables background color and adds test for it.
2012-05-16 16:47:24 -05:00
Bryce Curtis
ac504768b2
CB-779: Verify that fullscreen and backgroundColor preferences are set properly - This check-in enables background color and adds test for it.
2012-05-16 16:47:02 -05:00
Bryce Curtis
2d7b7160c3
CB-779: Verify that fullscreen and backgroundColor preferences are set properly - This check-in enables fullscreen and adds test for it.
2012-05-16 15:49:25 -05:00
Bryce Curtis
2fbb9c285d
CB-369: Authentication Code doesn't seem to work. -- Verified basic auth works and provided test case.
2012-05-16 15:13:42 -05:00
Joe Bowser
47d99e5193
Adding the Cordova Upgrade Guide
2012-05-16 11:46:50 -07:00
Joe Bowser
0437d6cc1a
Added JUnit to the README, removed WebDriver for now. Need to figure out distribution.
2012-05-16 11:37:38 -07:00
Joe Bowser
c6851cf7c5
First Draft of how to use CordovaWebView
2012-05-16 10:58:33 -07:00
Juan G. Hurtado
45680a562e
Add Android 4.0 workaround for links with params
...
Android 4.0.x has a known bug [1] while accessing local files with
params:
file://file.html?param=2
This commit adds a workaround for this problem by removing the params
part of the local URI before accessing the file.
[1] http://code.google.com/p/android/issues/detail?id=17535
2012-05-16 08:42:50 +02:00
Joe Bowser
3b9d46fadc
Forgot to add the proper constructor. The Clients need to know about their webView.
2012-05-15 15:46:10 -07:00
Joe Bowser
f840f3aceb
Setting up a default CordovaWebViewClient and CordovaChromeClient for when we are blowing up via XML layouts
2012-05-15 15:30:15 -07:00
Joe Bowser
afa1ecf3c5
Removing tests that don't work and modifying CordovaWebView so it works as a stand-alone component again. Mobile-spec currently doesn't work
2012-05-15 13:24:43 -07:00
Joe Bowser
295b9f4f5b
Forgot to recheck Plugin. Adding it back
2012-05-15 09:36:53 -07:00
Joe Bowser
79048a5a84
Fixing FileUtils change. We are using contexts now, not CordovaInterfaces. CordovaInterface is a SHOULD, not a MUST
2012-05-15 08:55:42 -07:00
Bryce Curtis
d683bd3744
Enable onMessage() to return a value.
2012-05-15 10:00:02 -05:00
Bryce Curtis
9f5f4973ae
Add comments.
2012-05-15 09:55:55 -05:00
Bryce Curtis
441785b51d
Update for getActivity().
2012-05-14 23:25:10 -05:00
Bryce Curtis
0d32115c3f
Merging nightmare.
2012-05-14 23:24:08 -05:00
Bryce Curtis
e660768e4b
Removed.
2012-05-14 23:19:15 -05:00
Bryce Curtis
01abb32025
Update
2012-05-14 23:18:26 -05:00
Bryce Curtis
d44d9ddca6
Merge branch 'CordovaWebView' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
...
Conflicts:
framework/src/org/apache/cordova/FileUtils.java
framework/src/org/apache/cordova/GeoListener.java
framework/src/org/apache/cordova/GpsListener.java
framework/src/org/apache/cordova/NetworkListener.java
2012-05-14 23:16:32 -05:00
Bryce Curtis
13f92b2b76
Add exit message.
2012-05-14 22:51:36 -05:00
Bryce Curtis
e6aa64760e
Updates.
2012-05-14 22:18:01 -05:00
Bryce Curtis
3829df665f
Formating and removal of commented code.
2012-05-14 22:06:33 -05:00
Bryce Curtis
c8fafa6bbd
Updates.
2012-05-14 21:49:30 -05:00
Joe Bowser
aede2235d0
Updating Activities
2012-05-14 16:07:00 -07:00
Joe Bowser
c56c73f250
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-05-11 16:08:40 -07:00
Joe Bowser
fc50a0d954
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-05-11 16:08:06 -07:00
Joe Bowser
c6349668dd
Tweaked create so it fetches the commons-codec using curl
2012-05-11 16:07:43 -07:00
Joe Bowser
dd0b6b1e30
Adding empty tests. May have to re-think the way we test this method
2012-05-11 15:14:35 -07:00
macdonst
eb66eb02cb
Switch to using stripFileProtocol in FileUtils.notifyDelete
2012-05-11 16:43:00 -04:00
Joe Bowser
5b324c85b0
Broke the merge, need to add GPSListener.java
2012-05-11 10:38:21 -07:00
Joe Bowser
fc9cff7d26
Merging master into CordovaWebView
2012-05-11 10:36:17 -07:00
Fil Maj
6a628f7f2d
[CB-683] updating JS for fix for 683
2012-05-10 16:43:08 -07:00
Joe Bowser
f3e70c79eb
A quick stab at CB-510
2012-05-10 16:42:37 -07:00
Fil Maj
08a32272d3
[CB-683] Pause and resume events should route through fireDocumentEvent so we get the event object passed into the handler
2012-05-10 16:40:41 -07:00
Fil Maj
a705b72740
CB-481 refactored prompt() call in JS to exec, moved showing of webview out of chrome client and into app plugin (so we can invoke via exec)
2012-05-10 15:50:02 -07:00
Joe Bowser
de6652dd9d
Moving the Callback Server Start/Stop to the onPageStarted fixed timing errors
2012-05-10 15:07:14 -07:00
Joe Bowser
b2f49b15ba
Don't commit Eclipse preferences
2012-05-10 12:25:47 -07:00
Joe Bowser
c0dcbecbea
Updating the project, removing generated artifacts
2012-05-10 12:18:26 -07:00
Julien Bouquillon
b323f329cc
add volumeupbutton/volumedownbutton events
2012-05-10 02:06:31 +02:00
Michael Brooks
2625a57fdd
Fix README.md formatting to install commons-codec-1.6.jar
2012-05-09 15:32:53 -07:00
Joe Bowser
2142d00bb9
Added loadConfiguration to the standalone WebView
2012-05-08 15:43:42 -07:00
Joe Bowser
4ce585be02
Updating the history configuration. We can switch between histories
2012-05-08 13:58:24 -07:00
macdonst
c2631ee0f7
Properly querying the Andoid content DB when deleteing an image file
2012-05-08 15:23:00 -04:00
Joe Bowser
8ab1733374
Removing the hacked-up jars that I used to get this to work, since I can't distribute them
2012-05-07 16:30:24 -07:00
Fil Maj
bafa438ce3
updating JS to latest for geolocation updates
2012-05-07 16:22:01 -07:00
Fil Maj
18cc90b3d8
adding uppercase java file!
2012-05-07 16:09:20 -07:00
Fil Maj
0fd1e3c57b
axing lowercase java file
2012-05-07 16:09:20 -07:00
Fil Maj
1ee484f70d
Fixes for new geo stuff
2012-05-07 16:09:20 -07:00
Fil Maj
724ea49f0b
restructured geolocation plugin
2012-05-07 16:09:20 -07:00
Fil Maj
6fc2a3b84e
adding node_modules to gitignore
2012-05-07 16:09:14 -07:00
Fil Maj
b84d64912b
comeat me lawyers
2012-05-07 16:08:28 -07:00
Joe Bowser
e28f09e95b
Merge Commit from latest master
2012-05-07 15:57:37 -07:00
Joe Bowser
21f6d9c527
Modifying generated classpath
2012-05-07 15:52:49 -07:00
Joe Bowser
8e0c3c1fa1
Updating README telling people to copy commons-codec
2012-05-07 15:52:34 -07:00
Joe Bowser
9e10160366
Removing the commons-codec
2012-05-07 15:48:59 -07:00
Joe Bowser
d38dd4c131
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-05-07 15:25:23 -07:00
Joe Bowser
84aaf02b0f
Removing Default Android Graphics and replacing them with our own
2012-05-07 15:24:57 -07:00
Joe Bowser
269b90ad6f
updating the test plugins
2012-05-07 14:49:21 -07:00
Joe Bowser
c11c4bea94
Adding header to test cordova.xml
2012-05-07 14:46:34 -07:00
Joe Bowser
7de660808c
Accidentally committed a vim swp file
2012-05-07 14:36:13 -07:00
Joe Bowser
1fcaf2435f
Adding more Apache licence headers
2012-05-07 14:27:33 -07:00
Fil Maj
87fbb5c92f
documented running npm install
2012-05-07 12:31:24 -07:00
Fil Maj
3636a18bba
added package.json for npm install goodness
2012-05-07 12:29:44 -07:00
Fil Maj
ea8d6b17ec
dont check in node_modules peepz!
2012-05-07 12:29:08 -07:00
Joe Bowser
27e511b785
Adding Apache headers to the tests on the branch
2012-05-07 11:41:34 -07:00
Joe Bowser
9dfa503bad
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-05-07 11:15:38 -07:00
Joe Bowser
a087116915
Working towards Apache compliance
2012-05-07 10:56:37 -07:00
Joe Bowser
216f6a9b32
Adding more Apache Headers. Not sure if this should have headers or not
2012-05-04 16:47:37 -07:00
Joe Bowser
e32503fad7
Forgot to add lifecycle/index2.html's header
2012-05-04 16:40:38 -07:00
Joe Bowser
c33f768570
Adding Apache Header to Test Directory
2012-05-04 15:22:15 -07:00
Joe Bowser
20c7b512f3
We should not be having a compiled version of cordova.jar in the test directory
2012-05-04 13:55:43 -07:00
Joe Bowser
5abe8dd506
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-05-04 11:49:48 -07:00
Joe Bowser
e4119f3fd2
Adding Apache headers to the new classes
2012-05-04 11:19:40 -07:00
Joe Bowser
480e5ca4d1
Working on CB-585
2012-05-04 11:18:19 -07:00
Joe Bowser
e2d91c2556
Updating the JS and re-tagging 1.7.0
2012-05-01 14:25:42 -07:00
Joe Bowser
634a9c0f4c
Updating the version to 1.7.0
2012-04-30 13:42:38 -07:00
Joe Bowser
f4cf2cecb5
Moving preferences into CordovaWebView, need to discuss prefs when using CordovaWebView
2012-04-27 14:44:19 -07:00
Joe Bowser
5ab5cf03b5
Adding screenshot and activity to the test, although Actvity isn't a standard plugin
2012-04-25 11:28:09 -07:00
Joe Bowser
13ba1e4900
Tweaking the DroidGap to use the new SplashScreen
2012-04-25 10:41:47 -07:00
macdonst
c846111099
Adding SplashScreen plugin to plugins.xml
2012-04-25 13:17:48 -04:00
macdonst
960e0f3412
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-04-25 11:53:39 -04:00
Joe Bowser
39f261c6e2
Incrementing project to 1.7.0rc1
2012-04-25 11:49:55 -04:00
Joe Bowser
17c919edd9
Tweaks to move history over into the WebView
2012-04-24 15:50:06 -07:00
macdonst
d7c8bc799d
Refactor Android SplashScreen
2012-04-24 15:14:37 -04:00
Joe Bowser
99b3693f40
Starting to move the history into the CordovaWebView, and getting the WebDriver working again
2012-04-23 16:32:59 -07:00
Joe Bowser
483bb53d9c
Minor tweak to the test so it loads the correct HTML
2012-04-23 15:22:41 -07:00
Joe Bowser
80ec23887e
Fixed the bug caused when running on Eclipse
2012-04-23 14:43:54 -07:00
Joe Bowser
ea81b97bfc
Changing viewClient to default visibility
2012-04-23 14:33:06 -07:00
Joe Bowser
be39bf8d91
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-04-23 14:30:22 -07:00
Joe Bowser
f4da7e164d
Incrementing project to 1.7.0rc1
2012-04-23 11:37:33 -07:00
Joe Bowser
ca66c4bf59
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-04-23 10:33:37 -07:00
Joe Bowser
4192489836
Adding the CordovaException class
2012-04-20 15:05:48 -07:00
macdonst
05192a91da
Removing un-needed logs
2012-04-19 21:03:55 -04:00
Fil Maj
3835144b93
[CB-473] run ant clean before ant debug install
2012-04-19 17:25:19 -07:00
Joe Bowser
bdf452b02a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-04-19 16:48:32 -07:00
Joe Bowser
bcc2957f20
Fix for CB-549
2012-04-19 16:45:15 -07:00
Fil Maj
81059b398f
Proper fix for CB-164. Online/offline events now propagated to webview properly
2012-04-19 16:35:55 -07:00
Joe Bowser
2e4667da88
Removing the cordova jar, it shouldn't be in the repo
2012-04-19 16:25:54 -07:00
Joe Bowser
9718aa5d4a
Removing Jail functions for now
2012-04-19 16:12:37 -07:00
Joe Bowser
d5dd43289b
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-04-19 15:37:54 -07:00
Fil Maj
31d5a94ea9
[CB-164] Changed network plugin to sync from async and removed setKeepCallback(true) on plugin result in there. Fixes location.reload() not firing deviceready due to network plugin being unresponsive
2012-04-19 12:33:45 -07:00
Joe Bowser
1e5457a47d
Reverting the back button change that I made, for some reason certain methods aren't inherited when you extend DroidGap
2012-04-19 12:22:33 -07:00
macdonst
7b75e2f1b0
CB-539: FileTransfer.download fails when target starts with 'file://'
2012-04-18 13:56:29 -04:00
Joe Bowser
180696baec
Fixed back button behaviour. WIN
2012-04-17 17:50:07 -07:00
Joe Bowser
76820ebaff
CB-480 work, back button and history issues are preventing this from being tested properly
2012-04-17 17:13:33 -07:00
Joe Bowser
1bd7a662df
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-04-17 12:33:57 -07:00
Joe Bowser
c341cf0d47
Adding fix for CB-482
2012-04-17 12:20:23 -07:00
Joe Bowser
327589a1d7
Added another runnable, this code is hideously awful
2012-04-13 16:27:09 -07:00
Joe Bowser
531b8f641f
Adding old code back, we can't access webViewClient methods without them being on the UI thread. :(
2012-04-13 15:43:17 -07:00
macdonst
f2c38ea0a7
Automatically update index.html in templates directory on version change
2012-04-13 16:36:46 -04:00
Joe Bowser
0772a315c4
CB-489 - Adding .js to the example, thought it was removed for a reason
2012-04-13 13:08:13 -07:00
Joe Bowser
8ac274cdca
Removing runnable code for timeout because it's not thread-safe
2012-04-13 13:00:39 -07:00
macdonst
08d7a9c87a
Remove duplicate files from repository
...
We should only have these files in one place in the repo. Changes have been made to the scripts to pick up the xml files from their proper location.
2012-04-13 15:35:49 -04:00
Joe Bowser
fea79bc971
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-04-13 11:14:20 -07:00
Joe Bowser
eb48055acd
Getting setup to tag 1.6.1
2012-04-12 16:37:27 -07:00
Joe Bowser
e4a52de0a5
Copying new XML into the templates for 1.6.1. Turns out tags are broken
2012-04-12 14:33:29 -07:00
Joe Bowser
f2526bbc78
Updated tweaks to get up and running
2012-04-12 14:18:06 -07:00
Joe Bowser
1794f2e047
Massive refactor of CordovaInterface. Deprecation and Exception throwing to notify the user that we're changing things
2012-04-12 11:27:08 -07:00
Joe Bowser
b99e9abb5f
Working. Pushing the callback server change again.
2012-04-11 13:23:45 -07:00
Joe Bowser
e77f9bb8fc
Rolling back half-baked change that broke the code in the branch, we need to rethink the Callback Server
2012-04-11 11:44:53 -07:00
Joe Bowser
628f88cf79
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into CordovaWebView
2012-04-11 09:12:19 -07:00
macdonst
ac06892dec
CB-472: FileWriter.seek(0) does not actually seek to the beginning of the file
2012-04-11 10:44:09 -04:00
Joe Bowser
87238f26f6
Managed to get this building minus Jail Activity, still a long way to go
2012-04-10 17:34:34 -07:00
Joe Bowser
95013e87dd
Fixing the manifest errors
2012-04-10 16:01:53 -07:00
Joe Bowser
d604e8b9b4
Updating the tests a bit, still not running
2012-04-10 15:53:40 -07:00
Joe Bowser
9a2eb04054
Tweaking DroidGap so it compiles into a JAR, starting testing
2012-04-10 14:39:01 -07:00
Joe Bowser
f34da8a96f
Fixing eclipse classpath
2012-04-10 14:22:25 -07:00
Joe Bowser
5e1997c8d8
Updating with tagged JS
2012-04-10 13:26:35 -07:00
Bryce Curtis
36e6b572b7
Update to version 1.6.0.
2012-04-10 09:01:37 -05:00
Joe Bowser
3bda8afdc1
Updating the sample index.html
2012-04-09 17:11:51 -07:00
Joe Bowser
cdf148bb58
Starting Release Process
2012-04-09 17:11:13 -07:00
Joe Bowser
b532cf8545
Fixing the template, since this doesn't have to be unit tested. :)
2012-04-09 13:43:36 -07:00
macdonst
ecebcbabf8
CB-446: Enhance setting data source for local files in AudioPlayer
2012-04-09 10:13:43 -04:00
macdonst
aa00e07b3c
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-04-05 19:52:36 -04:00
macdonst
cb473dfed4
CB-453: FileWriter.append - Chinese characters are not appended to the file correctly
2012-04-05 19:51:45 -04:00
Bryce Curtis
8b05ce41dd
Update project template cordova.js reference and title.
2012-04-05 15:39:33 -05:00
macdonst
5d43835db8
CB-446: Enhance setting data source for local files in AudioPlayer
2012-04-05 13:43:00 -04:00
macdonst
838286df96
Return MediaError object and not error code from native side of Media API
2012-04-05 13:31:09 -04:00
Joe Bowser
527f17d19e
Tweaking the tests so that they merge
2012-04-04 13:38:35 -07:00
macdonst
04aa6d3c38
CB-438: File metadata.modificationTime returns an invalid date
2012-04-04 13:03:39 -04:00
macdonst
e213772f98
Updating cordova.android.js for CB-421 and CB-426
2012-04-03 13:09:31 -04:00
macdonst
0577b4bf5d
CB-426: camera.getPicture ignores mediaType in 1.5
2012-04-03 13:02:25 -04:00
Bryce Curtis
a37d0699db
[CB-423] Problem displaying patch-9 splash screen.
2012-04-02 11:34:57 -05:00
Joe Bowser
2818e05e71
Move the callback server into the View, preparing to start CordovaWebView testing
2012-03-30 13:28:19 -07:00
macdonst
5fa77e97bd
CB-163: contactFindOptions.filter does not work as expected on Android
2012-03-30 16:28:04 -04:00
macdonst
8d479c8269
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-03-30 15:31:54 -04:00
macdonst
700ae50e9b
CB-321: Media API: 'mediaSuccess' callback param to new Media() is called soon after new obj created
2012-03-30 15:29:26 -04:00
Bryce Curtis
900be3afe0
Tests to verify Android native features.
2012-03-30 11:37:29 -05:00
macdonst
d2b329636f
Fixing license header in com.phonegap.api.PluginManager
2012-03-29 15:08:44 -04:00
Joe Bowser
49b50ce66c
Minor tweaks to DroidGap, allows for the ChromeClient and ViewClient to be overridden
2012-03-29 12:03:20 -07:00
Joe Bowser
b793fbfc28
Partially moved the callback server into the WebView. The WebView MUST own the CordovaWebViewClient and the CordovaWebChromeClient
2012-03-28 16:49:59 -07:00
Fil Maj
993fb296d6
updating network status plugin label and updating cordova-js to latest
2012-03-28 13:47:45 -07:00
Joe Bowser
59ff94fefb
Moving init code into the WebView
2012-03-27 11:28:55 -07:00
macdonst
dfc86b1af1
Fix for CB-389: resolveLocalFileSystemURI does not work on a resized image captured from Camera.getPicture()
2012-03-26 21:35:34 -04:00
Joe Bowser
f3c29840a7
Moving whitelisting into the WebView, still need to read the config in the WebView if required
2012-03-26 15:39:58 -07:00
Joe Bowser
6dabe4c010
Work on CB-369, Moving Authentication OUT of DroidGap
2012-03-26 10:22:37 -07:00
macdonst
1e2c38598f
CB-383: Fixes issue with misspelled destinationType for Camera.getPicture()
2012-03-24 14:09:57 -04:00
Joe Bowser
8ecfcb12c7
Cleaning out the asssets/www directory. This should house mobile-spec
2012-03-23 14:57:58 -07:00
Joe Bowser
ae8bc77ee7
Adding the tests from the GitHub Prototype
2012-03-23 14:56:55 -07:00
Joe Bowser
e25490751c
Creating the CordovaWebView, modifying DroidGap to use that
2012-03-23 14:51:25 -07:00
Joe Bowser
9d0e8fa436
Tagged 1.6rc1
2012-03-23 14:30:18 -07:00
Bryce Curtis
9d26598334
[CB-367] Back button event should fire on key up not key down
...
Also changed menu key and search key to be consistent.
2012-03-23 15:17:09 -05:00
Joe Bowser
a688319ea7
First stab at CB-21, I really need more info before I can close this
2012-03-20 15:22:00 -07:00
Joe Bowser
bbf10e3baa
Fixing a bug with File Upload on Android where Chunked mode isn't used by default
2012-03-20 11:25:17 -07:00
Bryce Curtis
7e70d76232
[CB-352] Support initializing DroidGap with existing WebView, WebViewClient and webViewChrome.
...
[CB-353] Create PluginEntry object to use by PluginManager.
2012-03-19 16:20:57 -05:00
Joe Bowser
04b3e4d847
Fixing CB-343: We need to respect the whitelist
2012-03-16 10:55:06 -07:00
Joe Bowser
dc93556ef0
Checking for the callback server before we call sendJavascript for the Kindle Fire, CB-247
2012-03-15 14:29:25 -07:00
Fil Maj
692a59a692
spacing fixes, null check in getPhoneType in contacts, returning error integers instead of objects in contacts
2012-03-15 12:27:37 -07:00
Joe Bowser
df691518e3
Added temporary Cordova splash for now
2012-03-15 10:54:43 -07:00
Joe Bowser
8f2cdcc049
Changing to the modern icon
2012-03-15 10:48:00 -07:00
Joe Bowser
d27064794c
Tweaked File Transfer to fix CB-74
2012-03-13 11:46:25 -07:00
Joe Bowser
8a7af93765
Fixing CB-210 with patch and adding fix for CB-210
2012-03-12 13:30:16 -07:00
Fil Maj
f3c96ce1a0
removed old javascript files and removed unused target + commented out lines in build.xml
2012-03-09 12:36:08 -08:00
Fil Maj
715c0a5bea
updates to JS: removing require+define from global scope, tweaking geolocation code, online/offline events fire on document now
2012-03-09 12:32:22 -08:00
Fil Maj
4b05ead3ac
cordova.require("cordova") is pretty funny. wish i didnt write it
2012-03-09 11:27:56 -08:00
Fil Maj
b4292868eb
switched from "require" syntax to "cordova.require"
2012-03-08 17:58:45 -08:00
Joe Bowser
c5025ee2bb
We show the default 404 on non-resolved domains
2012-03-06 14:09:11 -08:00
macdonst
8923e52a5e
Adding support for legacy plugins
2012-03-05 15:11:24 -05:00
macdonst
aa4f2cc4d9
Tagging 1.5.0
2012-03-01 21:29:18 -05:00
macdonst
4a23f86411
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-03-01 15:57:31 -05:00
macdonst
a69bd65152
Updating cordova.android.js to override FileReader
2012-03-01 15:57:21 -05:00
Fil Maj
7392b63b99
updating cordova.js to include camera constants fix. added clean dependency to build-javascript target in ant file
2012-03-01 11:56:37 -08:00
macdonst
73aa5cc7c3
Updating cordova.android.js to latest version from Apache git repo
2012-03-01 10:45:27 -05:00
Joe Bowser
7bf35e9c83
Merged cordova.android.js. Please move fixes to the cordova-js project
2012-02-29 17:24:04 -08:00
Joe Bowser
adb871f9e1
Updating the JS, even though it shouldn't be here. CB-290
2012-02-29 17:03:37 -08:00
macdonst
21b7346277
Revert change in location of FileSystem
2012-02-29 13:23:32 -05:00
Joe Bowser
79935d31ef
Putting back the CordovaInterface work after talking with Simon
2012-02-29 09:34:46 -08:00
Bryce Curtis
d2fc08959a
Fix WebSQL for Android 4.0.2.
2012-02-28 23:26:21 -06:00
Bryce Curtis
3ebc1d71df
Updating cordova.android.js with File API fixes.
2012-02-28 22:32:30 -06:00
Bryce Curtis
f6503f8476
File APIs should return error code instead of object.
2012-02-28 22:30:27 -06:00
Fil Maj
d593448182
updating cordova.android.js. This resolves CB-283: unregistration of backbutton event handlers do not fire appropriate native method
2012-02-28 17:21:21 -08:00
Joe Bowser
403b87b68b
Reverting interface change, not enough time for testing, need to remove it manually
2012-02-28 16:30:25 -08:00
Joe Bowser
bf69362709
Fix to CordovaInterface methods, DroidGap has the managedQuery since it inherits from Activity. (CB-282)
2012-02-28 11:59:51 -08:00
macdonst
c00fb987f6
Switching to require syntax for AudioPlayer
2012-02-28 13:00:33 -05:00
macdonst
7c6450de50
Fixing the call to Media.onStatus()
2012-02-28 11:02:01 -05:00
macdonst
10cbcd7f5a
Adding startActivity method to CordovaInterface as many plugins rely on this method
2012-02-27 13:07:56 -05:00
macdonst
e918ffd751
Tagging 1.5.0rc1
2012-02-25 00:28:06 -05:00
macdonst
3ed41597d2
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into license
2012-02-24 17:51:20 -05:00
macdonst
5722d976ce
Fixing app crash when clicking Menu or Back buttons while splashscreen is being shown.
2012-02-23 12:36:38 -05:00
macdonst
8555c42196
CB-3: Apache source headers in callback-android
2012-02-23 11:36:08 -05:00
macdonst
e85394dd99
Refactoring the checks for file:// into a convenience method
2012-02-22 15:56:03 -05:00
macdonst
cc5cfad58d
Removing extraneous logging from DroidGap.java left over from rebase
2012-02-22 10:44:16 -05:00
macdonst
363b1429e3
Fix issue with document.location.href not calling loadUrlIntoView
...
Now we peek at the history and add the url the stack if loadUrlIntoView is not being called.
2012-02-22 10:19:47 -05:00
macdonst
900ff9ed2c
Redirect Issue
2012-02-22 10:18:57 -05:00
Joe Bowser
c9d4276207
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-02-20 12:46:20 -08:00
Bryce Curtis
fef0e429db
Update build to use new common cordova.android.js instead of building js from multiple Android js files.
2012-02-20 11:04:37 -08:00
Bryce Curtis
26044ad662
Add cordova.android.js from common-js build.
2012-02-20 11:04:37 -08:00
Fil Maj
42430d5d11
more file:// URI truncation :D
2012-02-20 11:04:37 -08:00
Fil Maj
770a257ed3
trim file:// URI from uri->path conversion method
2012-02-20 11:04:37 -08:00
Fil Maj
9fe1f21c9f
Use strings not objects
2012-02-20 11:04:37 -08:00
Fil Maj
49d8d22d7f
remove trailing slash
2012-02-20 11:04:37 -08:00
Fil Maj
d274891c2c
remove file:// protocol from various fileutils methods
2012-02-20 11:04:36 -08:00
Fil Maj
c099c65365
remove file:// protocol from various fileutils remove methods
2012-02-20 11:04:36 -08:00
Fil Maj
79ba28d6c4
truncating file:// protocol where applicable in metadata func
2012-02-20 11:04:36 -08:00
Fil Maj
b4d1ca6181
Need to add/trim file:// where applicable
2012-02-20 11:04:36 -08:00
Fil Maj
657faaff7f
Prefix URIs for file API with file:/// and persistent storage should never point to SD card
2012-02-20 11:04:36 -08:00
Fil Maj
a43e80ae1d
Return string for root location in requestFileSystem
2012-02-20 11:04:36 -08:00
Fil Maj
5253b5fb31
removing unnecessary try/catch
2012-02-20 11:04:35 -08:00
Fil Maj
8b12bf79e4
Unifying File API error code/response style
2012-02-20 11:04:35 -08:00
Fil Maj
45d75524c9
Changed JavaScript invoked from PluginResult native code to use new modular JS approach
2012-02-20 11:04:35 -08:00
Fil Maj
8a137395ae
changing JS invoked from native to work with modular js
2012-02-20 11:04:35 -08:00
Fil Maj
390fe537f8
woops java type checks! love it!
2012-02-20 11:04:35 -08:00
Fil Maj
40cd71484c
Adding unsupported action plugin result return if invalid action string is specified to accel and compass listener plugins
2012-02-20 11:04:35 -08:00
Bryce Curtis
9188773152
Arguments are passed as JSON array, not JSON object.
2012-02-19 00:15:23 -06:00
Bryce Curtis
cc8edea065
Call js code using new common js way.
2012-02-18 13:19:50 -06:00
Bryce Curtis
14b368e731
Update build to use new common cordova.android.js instead of building js from multiple Android js files.
2012-02-17 17:30:25 -06:00
Bryce Curtis
4d03577220
Add cordova.android.js from common-js build.
2012-02-17 17:28:35 -06:00
Joe Bowser
040619cd61
Moved the CordovaInterface over to master, doing this before working on CordovaJS
2012-02-17 13:11:15 -08:00
Fil Maj
d6fef8d6e3
more file:// URI truncation :D
2012-02-17 11:40:22 -08:00
Fil Maj
7c1eb7da9b
trim file:// URI from uri->path conversion method
2012-02-17 10:55:04 -08:00
Fil Maj
d87ee719a3
Use strings not objects
2012-02-16 18:17:25 -08:00
Fil Maj
a52ba37cf7
remove trailing slash
2012-02-16 17:48:48 -08:00
Fil Maj
cd667d6af5
remove file:// protocol from various fileutils methods
2012-02-16 17:46:16 -08:00
Fil Maj
7e4158ce94
remove file:// protocol from various fileutils remove methods
2012-02-16 17:31:07 -08:00
Fil Maj
0ba803ff46
truncating file:// protocol where applicable in metadata func
2012-02-16 17:21:03 -08:00
Fil Maj
6c48c6a3a1
Need to add/trim file:// where applicable
2012-02-16 15:33:19 -08:00
Fil Maj
7ee135e516
Prefix URIs for file API with file:/// and persistent storage should never point to SD card
2012-02-16 15:18:13 -08:00
Fil Maj
fd69095d3d
Return string for root location in requestFileSystem
2012-02-15 17:30:32 -08:00
Fil Maj
357c0ee1ca
removing unnecessary try/catch
2012-02-15 16:57:40 -08:00
Fil Maj
40637c1486
Unifying File API error code/response style
2012-02-15 16:47:32 -08:00
Fil Maj
a84d2eab02
Changed JavaScript invoked from PluginResult native code to use new modular JS approach
2012-02-15 10:39:20 -08:00
Fil Maj
52213541a3
changing JS invoked from native to work with modular js
2012-02-15 10:37:24 -08:00
Fil Maj
c7d4d83476
woops java type checks! love it!
2012-02-15 10:35:20 -08:00
Fil Maj
003e3d4d85
Adding unsupported action plugin result return if invalid action string is specified to accel and compass listener plugins
2012-02-15 10:35:19 -08:00
Joe Bowser
95b9cd0229
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-02-09 15:05:30 -08:00
Joe Bowser
044a61d881
Adding custom headers to upload
2012-02-09 15:02:13 -08:00
macdonst
9aa1cd756a
Refactor out the Java casting code
...
When we return JSON to the Java side it does not have the proper methods such as Contact.save() so we need to cast the JSON to the correct JS object. This used to be done from the Java layer calling the right method to cast the JSON. In this new approach the JavaScript layer will no what needs to be cast and call it's own internal function to do the cast.
2012-02-09 16:41:26 -05:00
Joe Bowser
ee4c91539a
Change related to FileTransfer, need to get a test going for this somehow
2012-02-08 16:49:17 -08:00
Joe Bowser
77547f8826
Changing to CordovaInterface in preparation of CordovaWebView
2012-02-06 14:13:34 -08:00
Bryce Curtis
52a3a919f9
Missing first line of license in header.
2012-02-06 10:40:48 -06:00
macdonst
1293d64589
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-02-06 10:16:16 -05:00
Anis Kadri
54968b755b
CB-75 contact.remove does not remove the contact fully
2012-02-06 10:13:57 -05:00
macdonst
d8d7c29afe
Adding com.phonegap.api stubs for legacy user created plugins
2012-02-06 10:04:02 -05:00
Anis Kadri
1c7626aba2
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-02-03 19:36:27 -08:00
Anis Kadri
e0fea2c352
CB-75 contact.remove does not remove the contact fully
2012-02-03 19:32:31 -08:00
macdonst
210cc2bd5e
Fixing MediaFileData problem for MP4 video types
...
Problem:
Using Capture Video and mediaFile.getFormatData() on Android:
Droid / 2.2.3: successfully get height, width, duration
Samsung Galaxy Tab 10.1 / 3.1: recording appears to succeed,
however height / width / duration all come back as 0.
Fix:
The Samsung Galaxy Tab 10.1 returns a MP4 video and not 3GPP as was expected in the Capture class.
2012-02-03 12:24:45 -05:00
macdonst
664a061d10
Rename to Cordova
2012-02-03 10:38:40 -05:00
Joe Bowser
fa4d6d369a
Switching headers. Got OK months ago from Simon and Bryce on re-write. No Android Demo code in current project
2012-02-01 13:09:58 -08:00
macdonst
3bff8aec88
Tagging 1.4.1
2012-02-01 15:35:57 -05:00
macdonst
e64cb2fc4f
Removing deprecated methods from Device
...
Device.overrideBackButton
Device.exitApp
Device.resetBackButton
2012-02-01 10:46:27 -05:00
macdonst
c5ada0f09f
Deprecating navigator.app.overrideBackbutton
...
Everyone should be using:
document.addEventListener("backbutton", yourCallbackFunction, false);
2012-01-31 15:02:11 -05:00
macdonst
44edcbb3cf
Updating version to 1.4.0
2012-01-30 16:07:20 -05:00
macdonst
3fd2f590fd
Updating version to 1.4.0rc1
2012-01-27 12:06:26 -05:00
macdonst
4f61531422
Fixing a timing issue with the web view history not being cleared properly
2012-01-27 12:02:31 -05:00
macdonst
6e82ec4152
Allow internal SD Card to be used as storage
2012-01-25 16:34:46 -05:00
Joe Bowser
9206dca741
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-25 11:41:24 -08:00
Joe Bowser
503640f6b5
Removing the classic render feature, since it's not working properly
2012-01-25 11:40:46 -08:00
Bryce Curtis
e1e04f859c
Remove unused files/classes until they are needed.
2012-01-24 22:42:41 -06:00
Bryce Curtis
e30896155c
Added license header to new files.
2012-01-24 22:35:16 -06:00
Bryce Curtis
282f59cd99
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-24 15:03:40 -06:00
macdonst
89e260a5a1
CB-199: FileTransfer.download fails on Android 4.0
...
The download method in FileTransfer was setting the HttpURLConnection.setDoOutput to true. On Android 4.0 this would force the connection to be a POST when what we actually want is a GET.
I removed the offending line and tested the fix in 2.1, 2.2, 2.3 and 4.0.
2012-01-24 11:24:06 -05:00
Bryce Curtis
20891aee1a
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-23 21:10:40 -06:00
macdonst
6e5ef1e819
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-23 20:15:51 -05:00
Anis Kadri
e8544d30d1
Merge branch 'master' of github.com:imhotep/incubator-cordova-android
2012-01-23 16:21:11 -08:00
Bryce Curtis
f9af33b750
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-23 18:04:33 -06:00
Joe Bowser
d28a60ed97
Moving the WebViewClient out, allowing for PhoneGap to not break on empty console.log
2012-01-23 15:04:03 -08:00
Joe Bowser
0890be5815
Moved Chrome Client out of DroidGap.java
2012-01-23 14:42:55 -08:00
Joe Bowser
308a5f1509
Changing to use JS directly. There are issues with this approach, and it should use the KeyboardHandler
2012-01-23 14:21:20 -08:00
Joe Bowser
7904bcc054
Editing a comment about LinearLayoutSoftKeyboardDetect
2012-01-23 14:01:07 -08:00
Joe Bowser
c7e3b46e2e
Moving LinearLayoutSoftKeyboardDetect out into its own class and making it more plugin-like
2012-01-23 13:49:55 -08:00
Joe Bowser
490a13d3c4
Removing GapView, since it doesn't actually do anything
2012-01-23 11:57:15 -08:00
Bryce Curtis
1dfe7e59a7
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-20 15:01:46 -06:00
Joe Bowser
a2cdcd47be
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-20 12:43:06 -08:00
Joe Bowser
a42451969f
Merge branch 'master' of github.com:cordova/cordova-android
2012-01-20 12:41:29 -08:00
Joe Bowser
7955c6dd02
Merge branch 'master' of github.com:callback/callback-android
2012-01-20 12:39:21 -08:00
macdonst
56096ad00e
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-20 13:38:06 -05:00
Anis Kadri
faacdd6b02
Merge pull request #1 from pehrlich/master
...
documentation updates
2012-01-17 16:20:31 -08:00
Peter Ehrlich
bdd7449af3
documentation additions
2012-01-17 16:31:08 -05:00
Anis Kadri
64c462c8ad
fixing whitelist handling
2012-01-13 17:29:46 -08:00
Joe Bowser
cb0b054079
Merge pull request #3 from alunny/preferences
...
add support for <preference name="fullscreen"> to res/xml/phonegap.xml
2012-01-10 13:09:04 -08:00
Joe Bowser
41b49df944
Merge pull request #2 from alunny/with-tests
...
adding JUnit dependency
2012-01-10 13:01:11 -08:00
alunny
ffa76246e3
making preference reading code more robust
2012-01-09 17:31:58 -08:00
alunny
3af4d6b139
using preference=fullscreen for fullscreen view
...
involves loading configuration before the layout is set up
2012-01-09 17:31:50 -08:00
alunny
752b1b0e30
reading preferences from phonegap.xml
...
adds PreferenceNode and PreferenceSet classes as wrappers for the W3C
config.xml <preference> nodes
populates a PreferenceSet @preferences member
2012-01-09 17:29:50 -08:00
alunny
d91beb5ad9
adding JUnit dependency
...
* framework/libs/junit-4.10.jar
* `ant test` task for running junit tests on jar
* updates to LICENSE and NOTICE files
2012-01-09 17:14:26 -08:00
Bryce Curtis
8db5e06c62
Fix CB-135 Multithreaded access on CallbackServer javascript object.
2012-01-06 22:23:49 -06:00
Joe Bowser
bc309c9f00
Merge conflicts with something on the official repo, moving old pull request in
2012-01-06 15:52:09 -08:00
Joe Bowser
9078fe17b5
Merge pull request #40 from infil00p/master
...
Clean Merge of Classic Render Mode
2012-01-06 15:48:59 -08:00
macdonst
3172ae4525
Merge branch 'master' of git://github.com/cordova/cordova-android
2012-01-06 16:33:20 -05:00
macdonst
58774addad
CB-145: Android contact.save() crashes for native contacts.
2012-01-07 05:33:02 +08:00
bcurtis
8c191331ae
Merge branch 'master' of github.com:cordova/cordova-android
2012-01-05 15:21:16 -06:00
Bryce Curtis
7f7c211769
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-05 15:08:43 -06:00
Bryce Curtis
51bf8c39af
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android
2012-01-05 14:42:41 -06:00
Jukka Zitting
4bba9ac5a0
Minor incubation disclaimer fix.
2012-01-05 21:39:18 +01:00
Jukka Zitting
e9eb08486a
README.md: Replace "PhoneGap" with "Cordova" and add incubation disclaimer
...
(This is a test commit to for checking the git push problem by Bryce)
2012-01-05 21:33:26 +01:00
Bryce Curtis
3466ef6dfd
Merge pull request #1 from obrand/basic-auth
...
Added authentication framework
2012-01-05 09:27:02 -08:00
Olivier Brand
36bca7d609
Renamed crdentials/principals to userName/password
2012-01-05 08:26:54 -08:00
Joe Bowser
cc04b54adf
Merge branch 'master' of github.com:callback/callback-android
2012-01-04 16:02:03 -08:00
Olivier Brand
e96ae91800
Added authentication framework
2012-01-04 13:47:44 -08:00
macdonst
1d5af102c7
Camera default destination should be FILE_URI
2012-01-05 03:29:55 +08:00
macdonst
b106d2cae8
Proved generating sqlite database path to open database without permission error
2012-01-05 01:50:56 +08:00
macdonst
c66142d6b8
Fixing issue with FileTransfer.upload when the passed in url contains a ?
2012-01-04 00:48:29 +08:00
macdonst
5fac30ea34
Merge pull request #58 from libbybaldwin/add-compass-demo-android
...
add compass demo for Android
2011-12-22 10:01:55 -08:00
macdonst
fae551f0ce
Fix NullPointerException in DroidGap.onMeasure()
...
It looks like on some devices the onMeasure() method is called before the callbackServer is instantiated. This causes a NullPointerException which kills the application.
2011-12-22 09:51:11 +08:00
Libby Baldwin
65e3a8a453
add compass demo for Android
2011-12-19 18:30:54 -08:00
macdonst
1511183dfd
Tagging 1.3.0
2011-12-16 13:29:15 -05:00
macdonst
a640804897
Tagging to 1.3.0rc2
2011-12-13 09:41:54 -05:00
macdonst
f95fdb5873
Fix for CB-104: Capture not returning an error code on cancel
2011-12-06 06:08:35 +08:00
macdonst
4b9e50146e
Tagging to 1.3.0rc1
2011-12-05 11:27:08 -05:00
macdonst
26408fabe4
Merge pull request #32 from willshen/master
...
A couple cleanup and bug fix in the code base
2011-12-01 10:11:44 -08:00
wshen
1dfc65face
removed FileExistsException that is not needed
2011-12-01 10:04:49 -08:00
wshen
18bf4cd94b
merging from callback
2011-12-01 09:59:42 -08:00
wshen
729d141c3f
removed FileExistsException that is not needed
2011-12-01 09:42:23 -08:00
macdonst
29001eeb3a
Merge pull request #42 from aflx/download
...
added download() to the filetransfer
2011-12-01 08:20:04 -08:00
macdonst
acc9173e6e
Merge pull request #46 from macdonst/reflect
...
Remove WebViewReflect.java from Android
2011-11-30 13:46:48 -08:00
Alexander Keller
f387720e54
FileTransfer returns JSONObject with code, source and target for upload and download
2011-11-30 09:15:01 +01:00
Joe Bowser
2094854588
Merge branch 'master' of github.com:callback/callback-android
2011-11-29 14:04:17 -08:00
Alexander Keller
8dbb8f58b1
made getEntry of FileUtils public in order to avoid duplicate code in FileTransfer
2011-11-29 09:38:39 +01:00
Alexander Keller
75963c88d5
changes after review of macdonst, download returns FileEntry
2011-11-29 08:39:57 +01:00
macdonst
188e3e7d7d
Remove WebViewReflect.java from Android
...
While looking at issue #34 I realized that we don't need the WebViewReflect class anymore. Since we only support 2.1 or better and all the methods that WebViewReflect was protecting us from are available in the API version.
2011-11-28 15:44:36 -05:00
macdonst
e02322b66b
Remove addWhiteList from public API
2011-11-29 03:47:49 +08:00
Alexander Keller
8904c67fb5
added download() to the filetransfer
2011-11-26 18:16:44 +01:00
Joe Bowser
feff655530
Fixing merge error with the setInitialScale
2011-11-25 14:40:08 -08:00
Joe Bowser
71ea25f40a
Fixing scale, setting legacy scale
2011-11-25 14:38:11 -08:00
Joe Bowser
7840448133
Work-around Feature for Classic PhoneGap 320x480 resolution
2011-11-25 14:38:11 -08:00
macdonst
e77e552293
Fix for Issue #33 : onReceivedError incorrectly sets openExternal to true
2011-11-25 14:38:09 -08:00
William Shen
5ceb6e2cfa
Changed createCaptureFile to explicitly check for PNG and to throw an IllegalArgumentException if it is not a JPEG nor a PNG
2011-11-25 14:38:09 -08:00
Bryce Curtis
035ad08c69
Optimize enumerations as suggested by @plowman.
2011-11-25 14:38:08 -08:00
Bryce Curtis
80d0a0cb4c
Change API to postMessage() to call a plugin's onMessage() method.
2011-11-25 14:38:07 -08:00
macdonst
05e233bf1d
Fix for issue #281 of phonegap/phonegap-android: Detect for localStorage if Java has disabled it
2011-11-25 14:38:06 -08:00
macdonst
853a734f82
Fix for Issue #33 : onReceivedError incorrectly sets openExternal to true
2011-11-25 05:29:24 +08:00
William Shen
d5580557f1
removed unused import
2011-11-23 11:25:53 -08:00
William Shen
7a6a59383b
removed a couple extra semicolons
2011-11-23 11:03:14 -08:00
macdonst
c70a1e8594
Fix for phonegap-android issue #261 : Wrong application scale
2011-11-24 02:56:00 +08:00
William Shen
cd5bf6195e
cleaning up handling of exceptions. removing unnecessary exception declaration in FileUtils. removing try-catch that should not have been done in HttpHandler
2011-11-23 10:52:43 -08:00
William Shen
7c8db0ea44
fixing redundant assignment of variable
2011-11-23 10:39:20 -08:00
macdonst
119f6cca85
Merge pull request #14 from willshen/master
...
Modified createCaptureFile in CameraLauncher to Improve Encoding Type Safety
2011-11-22 17:24:51 -08:00
Bryce Curtis
4a25d780ce
Optimize enumerations as suggested by @plowman.
2011-11-22 14:36:24 -06:00
Bryce Curtis
798cb3e347
Change API to postMessage() to call a plugin's onMessage() method.
2011-11-22 14:36:00 -06:00
macdonst
63ae953432
Fix for issue #281 of phonegap/phonegap-android: Detect for localStorage if Java has disabled it
2011-11-23 03:50:26 +08:00
Joe Bowser
36caaf366f
Merge pull request #25 from infil00p/minor_menu_tweak
...
Change based on new message passing API in IPlugin
2011-11-21 16:07:30 -08:00
macdonst
3ebfb6717c
Fix for CB-17: WebView caching resized pictures
2011-11-22 05:30:24 +08:00
Joe Bowser
9409caad69
Change based on new message passing API in IPlugin
2011-11-16 14:50:26 -08:00
macdonst
5406d6c98f
Linting the JS code
2011-11-17 04:38:11 +08:00
Joe Bowser
29c7e12505
Merge pull request #15 from infil00p/master
...
Working on Compliance, Removed the Crypto Library! Seriously guys, please read this!
2011-11-16 10:09:24 -08:00
Bryce Curtis
cbdd400fe7
Fix Issue #23 - Crash when using splash screen.
2011-11-15 23:13:49 -06:00
Bryce Curtis
a6db1112c6
Fix bug with showing loadingDialog property.
2011-11-15 23:06:29 -06:00
Bryce Curtis
bfef72a7c4
Add onload attribute to plugin in plugins.xml to create the plugin at load time instead of lazy loading.
2011-11-15 14:29:32 -06:00
Bryce Curtis
7ce2a8cb71
Make sure we clear appView history too.
2011-11-15 13:55:08 -06:00
Bryce Curtis
2a866e2a7c
Refactor backHistory() code so calling navigator.app.backHistory() has consistent behavior with backbutton.
2011-11-09 23:37:16 -06:00
Bryce Curtis
827af8a920
Deprecate addService().
2011-11-09 23:12:53 -06:00
Bryce Curtis
0caca9ae55
Remove old code.
2011-11-09 15:46:45 -06:00
Bryce Curtis
0bbcf5cfd2
Add onMessage(id, data) to plugin API.
...
A solution was needed to notify the audio player to pause when a phone call comes in. The option was to add a specific onPhone() method or generalize it. Since there are other "events" that are useful to plugins, a generalized solution was used. It is also extensible without changing the plugin API again.
Any plugin can call DroidGap.onMessage() to send a message/event to all other plugins. NetworkManager was updated to send changes in connection status to plugins, so they can intelligently handle lost connections.
2011-11-09 10:34:49 -06:00
Bryce Curtis
fd93404c7c
Backbutton should go back in appview history before going back in our history stack.
...
JQMobile uses htmlPage#div to navigate "multipage" apps. When the webview navigates between tags in the same page, it is added to the webview history.
2011-11-09 09:14:13 -06:00
Bryce Curtis
e9fcb296bb
Merge branch 'master' of github.com:callback/callback-android
2011-11-07 15:03:56 -06:00
Joe Bowser
d5d95ad489
Merging changes
2011-11-04 13:46:44 -07:00
macdonst
db0a1919f3
Remove PhoneGap.stringify, replace with JSON.stringify
...
Since we don't support Android 1.5/1.6 anymore we don't need to check to see if JSON.stringify is around as it is included in Android 2.1+. By removing this check for JSON.stringify we remove two conditional checks on each call to PhoneGap.exec.
As well we get rid of 60 lines of code which are currently bloating phonegap.js.base.
2011-11-04 13:40:52 -07:00
Bryce Curtis
141b8355ac
Don't fire resume upon init - only when returning from background.
...
Lifecycle behavior for PhoneGap app:
window.onload = loading html page
pause = html page entering background (not displayed)
resume = html page entering foreground (displayed)
window.onunload = leaving html page
2011-11-04 13:40:51 -07:00
William Shen
affab67ca3
Changed createCaptureFile to explicitly check for PNG and to throw an IllegalArgumentException if it is not a JPEG nor a PNG
2011-11-03 18:41:08 -07:00
macdonst
cf9848bd59
Remove PhoneGap.stringify, replace with JSON.stringify
...
Since we don't support Android 1.5/1.6 anymore we don't need to check to see if JSON.stringify is around as it is included in Android 2.1+. By removing this check for JSON.stringify we remove two conditional checks on each call to PhoneGap.exec.
As well we get rid of 60 lines of code which are currently bloating phonegap.js.base.
2011-11-04 04:30:46 +08:00
Bryce Curtis
7ad3f76d9a
Don't fire resume upon init - only when returning from background.
...
Lifecycle behavior for PhoneGap app:
window.onload = loading html page
pause = html page entering background (not displayed)
resume = html page entering foreground (displayed)
window.onunload = leaving html page
2011-11-03 14:22:29 -05:00
Joe Bowser
7244a5a727
Merge branch 'master' of github.com:callback/callback-android
2011-11-02 13:10:50 -07:00
Fil Maj
538cdb03fc
No -e caused the bash script to fail
2011-11-02 12:01:36 -07:00
Bryce Curtis
8057bca4f2
Merge pull request #11 from nisc/remote-issue-11
...
Fixes to make example project build
2011-11-01 19:42:07 -07:00
nisc
546b33c936
Fixes to make example project build and compile
...
On Ubuntu 11.04, that is.
2011-11-01 22:04:28 +01:00
Bryce Curtis
9b5a63e8e4
Updated readme.
2011-10-31 21:14:05 -05:00
Bryce Curtis
798d502083
Update for 1.2.0.
2011-10-31 20:46:22 -05:00
Bryce Curtis
813637eb78
Update to download and run callback-test repository.
2011-10-31 20:45:38 -05:00
Bryce Curtis
e4a5000f9e
This is an informative message, not an error message. It is normal to get this when leaving a page.
2011-10-31 20:39:42 -05:00
Bryce Curtis
fd07cfc461
Update version to 1.2.0.
2011-10-31 17:29:08 -05:00
Bryce Curtis
d1ec1f7693
Don't fire resume at app startup.
2011-10-31 14:18:32 -05:00
Joe Bowser
e1d3f1491f
Accidentally added stray char when changing the licence
2011-10-28 16:31:48 -07:00
Joe Bowser
5075a3e087
Merge branch 'master' of github.com:callback/callback-android
2011-10-28 13:26:17 -07:00
Joe Bowser
a35a33c05e
Adding the Apache Headers
2011-10-27 14:04:39 -07:00
Joe Bowser
5a40613ccc
Switching to ASF header for Callback
2011-10-27 12:04:54 -07:00
Bryce Curtis
2d690ad014
Use LOG instead of System.out.println for logging.
2011-10-26 14:28:39 -05:00
Fil Maj
ff2ee67cb8
JSPrompt "Security check" should whitelist all file URIs too
2011-10-25 15:34:32 -07:00
Joe Bowser
505081f42f
Merge branch 'master' of github.com:callback/callback-android
2011-10-25 15:21:15 -07:00
Joe Bowser
80ee464dce
Fix for Console.log, didn't call the super of the method needed
2011-10-25 15:21:06 -07:00
Bryce Curtis
e4a992095f
Set activity state correctly when ending activity.
2011-10-25 14:57:55 -05:00
Joe Bowser
aa6e011255
Removing the Camera permission, since it is not required by PhoneGap by default
2011-10-25 11:31:01 -07:00
Bryce Curtis
12816aa8f3
Run error dialog on UI thread.
2011-10-25 11:44:06 -05:00
Bryce Curtis
60b5d42324
Set activity state correctly when ending activity.
2011-10-25 11:39:37 -05:00
macdonst
d3d1c06c09
Merge pull request #2 from macdonst/webview
...
Fixing compilation error in DroidGap
2011-10-24 07:33:33 -07:00
macdonst
010e162cd7
Fixing compilation error in DroidGap
2011-10-24 10:32:14 -04:00
Bryce Curtis
191e1bf150
Merge branch 'master' of github.com:callback/callback-android
2011-10-21 16:44:12 -05:00
Bryce Curtis
cdeddf1bb2
Merge pull request #1 from brycecurtis/webview
...
Load multi-page apps in same webview and update pause/resume for consiste
2011-10-21 14:43:13 -07:00
Bryce Curtis
bd7ed19b52
Load multi-page apps in same webview and update pause/resume for consistency.
...
1. Make handling of multi-page apps consistent with iOS and Blackberry to load into same webview (instead of starting a new activity).
2. Make lifecycle consistent. pause is called when going into background, resume is called when coming into foreground. It is no longer called when loading or leaving an HTML page. Use window.onload/onunload to get these notifications.
2011-10-21 16:29:55 -05:00
Joe Bowser
64b770b761
Merge pull request #279 from infil00p/master
...
Clean-Up and Fix for Alert
2011-10-21 13:01:50 -07:00
Joe Bowser
628473cc5b
Making Alert cancellable so that it does not break the back button
2011-10-21 12:42:30 -07:00
Joe Bowser
75f3651376
Merge pull request #278 from infil00p/master
...
Modifying build.xml to use custom versions, adding ant files, and fixing HTC Logcat
2011-10-21 11:00:37 -07:00
Joe Bowser
3e25953d33
HTC Fix
2011-10-21 10:34:59 -07:00
hardeep
996791696b
Merge pull request #275 from imhotep/master
...
Improved whitelisting
2011-10-20 16:18:42 -07:00
Anis Kadri
a08854eaf0
improved whitelisting
2011-10-20 15:09:48 -07:00
Anis Kadri
81ec4bc4fb
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-10-20 13:58:11 -07:00
Joe Bowser
0b9ed0c7c7
Merging Simon's fix for Android 4
2011-10-20 13:54:26 -07:00
macdonst
ffb614dd91
Merge pull request #274 from macdonst/android4
...
Fixing Project Properties file
2011-10-20 13:49:10 -07:00
macdonst
e26685becf
Fixing Project Properties file
2011-10-20 16:48:16 -04:00
macdonst
90b8c20e28
Merge pull request #273 from macdonst/android4
...
Updating to use Android 4.0 build environment
2011-10-20 13:27:42 -07:00
macdonst
a8db71cd67
Updating to use Android 4.0 build environment
2011-10-20 16:26:30 -04:00
Joe Bowser
543fe1f43f
Upgrading to Ice Cream Sandwich
2011-10-20 11:13:44 -07:00
macdonst
1f2f9a02dd
Merge pull request #272 from macdonst/mediaErr
...
Media err normalization with iOS
2011-10-19 12:25:27 -07:00
macdonst
551f0f7e4a
Normalize MediaError's with iOS
2011-10-19 15:22:50 -04:00
macdonst
369d140040
Return MediaError object instead of value
2011-10-19 15:06:36 -04:00
Anis Kadri
ac509369e9
forgot to resolve conflict
2011-10-14 15:49:16 -07:00
Anis Kadri
5faed8378c
Merge branch 'master' of github.com:phonegap/phonegap-android
...
Conflicts:
framework/res/xml/phonegap.xml
framework/src/com/phonegap/DroidGap.java
2011-10-14 15:43:13 -07:00
Bryce Curtis
7ee04ebf31
Fix Issue #258 - navigator.app.exitApp() and navigator.app.backHistory() not working in PhoneGap 1.1.0 on Android
2011-10-12 11:22:35 -05:00
Joe Bowser
0ec47c5bd8
Merge pull request #264 from infil00p/master
...
This time, let's handle BOTH the Back Button and the Search Button
2011-10-10 14:23:29 -07:00
Bryce Curtis
fe3e7041b7
Don't override history.back since jQuery also does it.
2011-10-06 22:21:09 -05:00
Joe Bowser
75ab33ad0c
Adding handling of Search Button for the jsPrompt
2011-10-05 16:01:10 -07:00
Joe Bowser
1377f60b29
Merge pull request #263 from infil00p/master
...
Fix the back button on jsConfirm
2011-10-05 14:16:20 -07:00
Joe Bowser
8b595f9796
Fixing the jsConfirm so it doesn't break the back button
2011-10-05 13:57:38 -07:00
Bryce Curtis
1f8d6b4866
Use endActivity() for consistency. Improve error handling.
2011-10-04 21:32:42 -05:00
macdonst
ea87dfe08a
Merge pull request #259 from macdonst/issue257
...
Fix for Issue #257 : File Transfer with file:/// URIs
2011-10-04 08:57:37 -07:00
macdonst
2d388025ad
Fix for Issue #257 : File Transfer with file:/// URIs
2011-10-04 11:53:46 -04:00
Bryce Curtis
424078432a
Add comments and rename loadWhiteList() to loadConfiguration().
2011-10-03 10:49:27 -05:00
Bryce Curtis
bb2bd22fad
Correct log level comparison.
2011-10-03 10:29:14 -05:00
Bryce Curtis
6b29787df7
Merge pull request #247 from brycecurtis/LOG
...
Formalize logging with printf-type optimization.
2011-10-03 08:24:13 -07:00
macdonst
804ac714ae
Updating version number to 1.1.0
2011-10-01 03:57:06 +08:00
macdonst
9ede0ceca1
Merge pull request #250 from macdonst/delcam
...
Fixing issues in the Camera code
2011-09-30 11:33:06 -07:00
macdonst
24ad506da5
Fixing JavaScript comparrison issues
2011-09-30 14:26:48 -04:00
macdonst
80695ec5e4
Fix issue with DATA_URL and refactor code
2011-09-30 11:30:04 -04:00
macdonst
6098f46d08
When you use the File API to remove a file need to check to see if we need to delete a row from the content store
2011-09-29 23:09:44 -04:00
macdonst
367d7500d5
Deletes any duplicate images taken by camera
2011-09-29 22:29:35 -04:00
macdonst
0d57404cf1
Merge pull request #249 from macdonst/gallery
...
Adding video select to getPicture to line up with iOS
2011-09-29 12:13:44 -07:00
macdonst
67393c516e
Adding video select to getPicture to line up with iOS
2011-09-29 14:49:34 -04:00
Bryce Curtis
ebb9f09168
Improve closing an HTML page and returning to previous page.
2011-09-29 11:02:54 -05:00
Bryce Curtis
a4d66c63a4
Call the initial onResume() on a plugin when it is created. This corrects the lifecycle behavior for plugins.
2011-09-28 22:40:53 -05:00
Bryce Curtis
6a9253e928
Formalize logging with printf-type optimization. Wrap Android log facilities instead of using System.out.println().
2011-09-28 22:19:23 -05:00
Bryce Curtis
0f988717d0
When app.exitApp() is called on multi-page app, pass to previous pages in stack and close them too.
2011-09-28 21:52:17 -05:00
Bryce Curtis
025577c41d
Add comment for method onOverrideUrlLoading()
2011-09-28 21:36:43 -05:00
macdonst
f271e2e0fa
Merge pull request #246 from macdonst/compass2
...
Fix for Issue #228 : Align Compass support with iOS
This is the second time I've had to merge this pull request.
2011-09-28 14:58:22 -07:00
macdonst
821eb24a54
Fix for Issue #228 : Align Compass support with iOS
2011-09-28 17:35:50 -04:00
Bryce Curtis
336a58ca5a
Clean up code and consolidate bindBrowser with init.
2011-09-28 10:03:05 -05:00
Bryce Curtis
aa6e4185de
Merge pull request #242 from brycecurtis/page2
...
Clean up code that loads sub-pages and correct behavior.
2011-09-28 07:54:52 -07:00
Bryce Curtis
75c2cdb3ad
Clean up code that loads sub-pages and correct behavior.
2011-09-27 15:59:42 -05:00
Bryce Curtis
e92057a00f
Merge pull request #241 from brycecurtis/whitelist
...
White list support. Enhance imhotep submission.
2011-09-26 09:18:39 -07:00
Bryce Curtis
80df4a8fb2
White list support. Pull request https://github.com/phonegap/phonegap-android/pull/211 from imhotep would not merge, so combined it with enhancements for this commit.
2011-09-26 10:58:41 -05:00
macdonst
bb777c096c
Fix for Issue #172 : Out of memory when uploading video using FileTransfer on Android
2011-09-24 00:15:59 +08:00
macdonst
94c1fb3e63
Fix for issue #237 : DirectoryManager.getFreeDiskSpace() returns kilobytes instead of bytes free
2011-09-20 23:12:45 +08:00
macdonst
e9bb66622c
Merge pull request #233 from macdonst/is229
...
Issue #229 : Deprecate FileMgr code in file.js
2011-09-13 14:00:32 -07:00
macdonst
362841008a
fix for Issue #229 : Deprecate FileMgr code in file.js
2011-09-13 16:57:32 -04:00
macdonst
6fabcfc8d3
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-09-13 11:07:48 -04:00
macdonst
9040eea76c
Fix for Issue #213 : Unknown connection type for CDMA - EvDo rev. A
2011-09-13 23:07:17 +08:00
macdonst
9c0b15f7af
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-09-10 16:01:35 -04:00
macdonst
2b20b1880d
Fix for issue #196 : targetWidth/targetHeight ignored when PictureSourceType is library
2011-09-11 03:51:28 +08:00
macdonst
61c4836366
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-09-09 10:46:51 -04:00
Bryce Curtis
e8826090bb
Remove lingering code for old 1.x support.
2011-09-08 16:02:08 -05:00
Bryce Curtis
e1b3a8cdce
Cleanup formatting.
2011-09-08 15:43:08 -05:00
Bryce Curtis
0b6a39bc6f
Add ability to override url handling in plugins. This takes part of code from "Issue 216: Droidgap now allows plugins to override url loading" by davejohnson.
2011-09-08 15:36:20 -05:00
Dave Johnson
aa577416de
Fix so that we get the correct id when more than 9 targets
2011-09-07 16:31:29 -07:00
brianleroux
d34c0b086e
Merge branch 'master' of github.com:brianleroux/phonegap-android
2011-09-06 14:16:16 -07:00
macdonst
073f71563c
Fix for Issue #222 : Android plugin FileUploader with UTF-8 in params
2011-09-06 14:15:45 -07:00
macdonst
9eb02a4882
Fix bad tel: link in example/index.html
2011-09-06 14:15:45 -07:00
macdonst
6c3d13fc74
Fix for Issue #220 : Android audio streaming doesn't work for https
2011-09-06 14:15:45 -07:00
macdonst
70de3d49a2
Fix for Issue #218 : audio capture audio/3gpp mimetype getting set to video/3gpp
...
Works around an issue where MimeTypeMap.getMimeTypeFromExtension() always returns video/3gpp when the file extension is .3gp or .3gpp.
2011-09-06 14:15:45 -07:00
Dave Johnson
e41746b6a8
Add overrideUrlLoading overriding ... yeah ... to plugins by the plugin adding a <url-filter.../> and implmenting the onOverrideUrlLoading(...) method
2011-09-06 14:15:45 -07:00
macdonst
6af5e2e2e1
Fix for Issue #210 : devready event never fires if we can't get network connection info
2011-09-06 14:15:45 -07:00
macdonst
9083e921d9
Fix for Issue #208 : Media.release() accidentally makes a call to the Media error callback
2011-09-06 14:15:45 -07:00
Bryce Curtis
4a38f160fb
Re-checkin commit for "Fix Issue #203 : Prompt crashes on Android 3.2 tablet."
2011-09-06 14:15:45 -07:00
macdonst
0297807bd0
Fix for issue #141 : EXIF data stripped from captured photos in android
...
In order to fix this issue I needed to read the EXIF data. Save it to a temporary object then after the bitmap is compressed I open the file and write the saved EXIF data.
Supports the following EXIF fields if they are set in your image:
APERTURE
DATETIME
EXPOSURE_TIME
FLASH
FOCAL_LENGTH
GPS_ALTITUDE
GPS_ALTITUDE_REF
GPS_DATESTAMP
GPS_LATITUDE
GPS_LATITUDE_REF
GPS_LONGITUDE
GPS_LONGITUDE_REF
GPS_PROCESSING_METHOD
GPS_TIMESTAMP
ISO
MAKE
MODEL
ORIENTATION
WHITE_BALANCE
2011-09-06 14:15:45 -07:00
Bryce Curtis
2e9cbdf38d
Remove old phonegap.js file.
2011-09-06 14:15:44 -07:00
Bryce Curtis
498f879383
Fix Issue #203 : Prompt crashes on Android 3.2 tablet.
2011-09-06 14:15:44 -07:00
macdonst
91f4097fd8
Fix for Issue #222 : Android plugin FileUploader with UTF-8 in params
2011-09-06 23:31:02 +08:00
macdonst
0ece6cedfe
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-09-06 11:01:06 -04:00
brianleroux
f3fd6901d6
BOOM
2011-09-02 14:42:37 -07:00
macdonst
4f121aa07d
Fix bad tel: link in example/index.html
2011-09-03 01:35:01 +08:00
macdonst
4119fd513a
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-09-01 20:39:11 -04:00
macdonst
a6ae85b4ea
Fix for Issue #220 : Android audio streaming doesn't work for https
2011-09-02 08:38:28 +08:00
brianleroux
5ffdaeb213
updated readme
2011-09-01 14:44:02 -07:00
brianleroux
95c48f7f6c
fixing merge
2011-09-01 14:37:59 -07:00
brianleroux
d34dcf8ee5
cli moving to a phonegap folder, local to the proj and tests
2011-09-01 14:34:11 -07:00
brianleroux
e7f206b598
adding benchmarking automation
2011-09-01 13:15:19 -07:00
brianleroux
9aacb7f811
fixing rebase removing debug from root
2011-09-01 13:14:51 -07:00
brianleroux
caf2694ced
updated the improved cli docs
2011-09-01 13:12:10 -07:00
brianleroux
7bf8c617c3
slightly more coherent organization of concerns
2011-09-01 13:12:09 -07:00
brianleroux
9ad78a50f7
added node, nodeunit and a couple of stubbed in coffeescript tests
2011-09-01 13:12:09 -07:00
brianleroux
85a24d491e
adding benchmarking automation
2011-09-01 13:11:01 -07:00
macdonst
65fd082537
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-09-01 15:02:32 -04:00
macdonst
d9ec6df5a8
Fix for Issue #218 : audio capture audio/3gpp mimetype getting set to video/3gpp
...
Works around an issue where MimeTypeMap.getMimeTypeFromExtension() always returns video/3gpp when the file extension is .3gp or .3gpp.
2011-09-02 02:40:35 +08:00
macdonst
63bd7f470e
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-09-01 09:41:04 -04:00
Bryce Curtis
c419f7d269
Merge pull request #215 from davejohnson/feature/urlhandling
...
Add overrideUrlLoading overriding ... yeah ... to plugins by the plugin a
2011-08-31 07:56:23 -07:00
Dave Johnson
3e5a52ceee
Add overrideUrlLoading overriding ... yeah ... to plugins by the plugin adding a <url-filter.../> and implmenting the onOverrideUrlLoading(...) method
2011-08-30 16:52:56 -07:00
Anis Kadri
97faebda41
adding isUrlWhiteListed in shouldOverrideUrlLoading
2011-08-29 17:35:11 -07:00
Anis Kadri
f111ea56ed
whitelist support
2011-08-29 16:13:02 -07:00
Anis Kadri
e2acd1af33
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-08-29 15:46:27 -07:00
macdonst
ff4ea29713
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-26 16:16:45 -04:00
macdonst
8d35b1aeef
Fix for Issue #210 : devready event never fires if we can't get network connection info
2011-08-27 04:16:11 +08:00
Dave Johnson
75233711e3
Moved around the scripts so that you can create a self contained project that you can run debug, emulate and log from
2011-08-26 10:54:37 -07:00
macdonst
4b488fc911
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-25 12:45:03 -04:00
macdonst
facb752cc7
Fix for Issue #208 : Media.release() accidentally makes a call to the Media error callback
2011-08-26 00:16:37 +08:00
macdonst
c5d3a60f56
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-23 09:38:21 -04:00
Bryce Curtis
8a5dec8d8b
Re-checkin commit for "Fix Issue #203 : Prompt crashes on Android 3.2 tablet."
2011-08-22 16:22:22 -05:00
macdonst
43baa58ab3
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-22 13:48:06 -04:00
macdonst
a9c34e65fb
Fix for issue #141 : EXIF data stripped from captured photos in android
...
In order to fix this issue I needed to read the EXIF data. Save it to a temporary object then after the bitmap is compressed I open the file and write the saved EXIF data.
Supports the following EXIF fields if they are set in your image:
APERTURE
DATETIME
EXPOSURE_TIME
FLASH
FOCAL_LENGTH
GPS_ALTITUDE
GPS_ALTITUDE_REF
GPS_DATESTAMP
GPS_LATITUDE
GPS_LATITUDE_REF
GPS_LONGITUDE
GPS_LONGITUDE_REF
GPS_PROCESSING_METHOD
GPS_TIMESTAMP
ISO
MAKE
MODEL
ORIENTATION
WHITE_BALANCE
2011-08-23 01:47:10 +08:00
macdonst
5180340f18
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-22 13:27:18 -04:00
Bryce Curtis
8a4737947b
Remove old phonegap.js file.
2011-08-22 09:50:42 -05:00
Bryce Curtis
0e316321f9
Fix Issue #203 : Prompt crashes on Android 3.2 tablet.
2011-08-21 20:50:57 -05:00
Dave Johnson
ef8e8a3ab4
Fix up a few things for the ant create to work on mac
2011-08-21 00:29:07 -07:00
brianleroux
fe265ce9e1
added optional path to debug
2011-08-20 13:57:19 -07:00
davejohnson
28b972be52
Add new windows create script for android as a cscript script. Also created an ant xml that should work on mac too.
2011-08-20 13:42:46 -07:00
davejohnson
4a9fbb6869
Remove xlargescreen since it is only supported if you are building with the latest SDK. Yes people *should* be building with that but it's not even on any phones yet
2011-08-20 13:30:11 -07:00
davejohnson
8cf00fc788
Moved default plugins.xml, www, and manifest.xml into a folder structure that can be straight copied over a new android project. change the bash script to update the target of the phonegap framework dir before building
2011-08-20 13:27:53 -07:00
brianleroux
8b908fbad0
updated the improved cli docs
2011-08-19 22:20:53 -07:00
brianleroux
e44cc8add1
slightly more coherent organization of concerns
2011-08-19 21:50:46 -07:00
brianleroux
5a3208291c
added node, nodeunit and a couple of stubbed in coffeescript tests
2011-08-19 20:39:35 -07:00
brianleroux
1c064b0922
test fully automated from mobile-spec edge
2011-08-18 22:40:09 -07:00
brianleroux
ffdb240114
auto launching on debug
2011-08-18 19:39:27 -07:00
brianleroux
2f9060dd3e
first pass at a test script
2011-08-18 19:20:41 -07:00
brianleroux
efe021916e
slightly better docs
2011-08-18 18:31:13 -07:00
brianleroux
65cf68b5d2
no more ruby dependency
2011-08-18 18:21:51 -07:00
macdonst
91d8dd42c1
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-17 15:45:35 -04:00
macdonst
7e2044c5b4
Merge pull request #195 from m00sey/master
...
Expose Volume control
2011-08-17 12:45:09 -07:00
macdonst
3666490347
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-17 13:45:24 -04:00
macdonst
80891b8495
Fix for Issue #200 : NetworkManager missing HSDPA in getType
...
Added HSDPA, HSUPA, HSPA and HSPA+ type detection to NetworkManager.
2011-08-18 00:42:57 +08:00
macdonst
55379d6fba
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-12 11:45:52 -04:00
Bryce Curtis
361a7aacc5
Issue #194 : Resolve flashes between screen, and enable setting of background color & optional loading dialog.
2011-08-11 16:21:22 -05:00
macdonst
19040671a9
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-11 17:01:07 -04:00
Bryce Curtis
4ecfbac586
Include plugin reference and permissions for battery events.
2011-08-11 15:37:11 -05:00
Bryce Curtis
8d46d33675
Implementation of Battery Event Spec. ( http://dev.w3.org/2009/dap/system-info/battery-status.html )
2011-08-12 04:31:43 +08:00
Bryce Curtis
a735a631f6
Formalize document and window event listeners and allow plugins to override eventListeners.
2011-08-12 04:31:43 +08:00
Kevin Griffin
381d1615b4
formatting
2011-08-09 23:19:50 -04:00
Kevin Griffin
ad8086fab5
exposing volume control
2011-08-09 23:18:01 -04:00
Anis Kadri
19332c1903
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-08-09 16:25:19 -07:00
macdonst
fd22a7915e
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-08-01 21:18:28 -04:00
macdonst
8c7db9aa32
Remove redundant import when droidgap create is run
2011-07-31 03:19:01 +08:00
macdonst
7bb34dea14
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-29 00:02:07 -04:00
macdonst
004453b03f
Upping version to 1.0.0
2011-07-29 12:01:46 +08:00
macdonst
a1edf92fa4
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-28 23:58:09 -04:00
macdonst
e28458869f
Issue #185 : Fix mis-spelling in file.js
2011-07-29 11:56:29 +08:00
Anis Kadri
b4c4fa9667
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-07-26 17:01:40 -07:00
macdonst
229e15f685
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-26 00:31:37 -04:00
macdonst
39d6952494
Upping version to 1.0.0rc3
2011-07-26 12:30:41 +08:00
macdonst
b864a8a6c6
Upping version to 1.0.0rc3
2011-07-26 00:20:35 -04:00
macdonst
f5dac1451d
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-26 00:18:33 -04:00
macdonst
2bf765897b
Normalize Android Camera.takePicture with iOS and BB versions.
...
Both iOS and BlackBerry support the PNG image format so I added support for Android.
Also, iOS and BB use targetWidth/targetHeight to specify the resolution of the image. I've swiched from using maxResolution to targetWidth/targetHeight in this change list.
2011-07-26 12:18:04 +08:00
macdonst
411288b051
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-25 11:05:38 -04:00
macdonst
1c97467e39
Issue #169 : Media.seekTo() does not update Media._position value.
...
Calling Media.seekTo() now updates the Media._position value. I could not make seekTo() to work when your audio clip is not playing as that is not a supported action of the AndroidMedia player class.
2011-07-23 03:21:45 +08:00
macdonst
7c39edfcd0
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-21 22:31:26 -04:00
macdonst
9f673db79f
Issue #176 : rc2 for Android does not have updated main.js - demo app code
...
This commit fixes the issue in main.js but it will still need to be packaged up in the rc3 zip.
2011-07-22 10:06:43 +08:00
Dave Johnson
8c807315e9
there was a "Location" and a "Geolocation" plugin defined. We use "Geolocation" in the JavaScript
2011-07-21 16:42:59 -07:00
Joe Bowser
be48b576d9
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-07-21 13:16:09 -07:00
Joe Bowser
648e56cb67
Merging maxResolution
2011-07-21 13:15:52 -07:00
macdonst
b37defd3cf
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-21 15:18:10 -04:00
macdonst
c093881f54
Issue #174 : contact attribs should return null instead of empty array
...
Currently the implementation will return an empty array for the following Contact attributes: phoneNumbers, emails, addresses, ims, organizations, addresses, websites and photos. With this fix these attributes will be null unless the lenght of the array is greater than 0.
2011-07-22 03:16:45 +08:00
Brian LeRoux
e09c728fd0
Edited framework/src/com/phonegap/DroidGap.java via GitHub
2011-07-21 11:47:20 -07:00
macdonst
d098b6133e
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-21 11:59:41 -04:00
Anis Kadri
c067299ace
Merge github.com:phonegap/phonegap-android
2011-07-20 13:17:00 -07:00
macdonst
029ddeade0
Fix Issue #170 : Sub pages reload on orientation or keyboard changes
...
Needed to add android:configChanges="orientation|keyboardHidden" to the com.phonegap.DroidGap activity in AndroidManifest.xml.
2011-07-20 23:21:34 +08:00
macdonst
17ccb2db4d
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-20 11:13:33 -04:00
Bryce Curtis
6b84ead393
Issue #167 : Remove window.app and use navigator.app instead. Remove App() from namespace.
2011-07-19 11:00:13 -05:00
macdonst
9bf3a82964
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-18 16:11:51 -04:00
macdonst
7afa2d3840
Upping version to 1.0.0rc2
2011-07-19 04:11:17 +08:00
macdonst
e789349c23
Handle content:// uri's in resolveLocalFileSystemURI
...
Sometimes Android will hand you a content:// uri in the place of a file path. Particularily the Camera.getPicture() code will do this. I've updated the file utils code to handle this type of uri and return a real file path.
2011-07-19 04:10:55 +08:00
macdonst
f7ebc98375
Upping version to 1.0.0rc2
2011-07-18 12:48:26 -04:00
Bryce Curtis
2787a960d8
Issue #153 : Display default value in prompt().
2011-07-16 15:07:34 -05:00
Dave Johnson
4af8952dc3
Merge pull request #161 from don/master
...
Write error to log when plugins.xml is missing
2011-07-15 22:03:42 -07:00
Don Coleman
701717fd55
remove comment from xml declaration
2011-07-15 23:47:08 -04:00
Don Coleman
3de2084af2
write error to log when plugins.xml is missing
2011-07-15 23:45:32 -04:00
Joe Bowser
6d532c9fe5
Minor change to Android Manifest for Android 3.2 to force it out of Compatibltiy Mode
2011-07-15 16:19:08 -07:00
macdonst
eb0e0d9d11
Issue #156 : Camera.DestinationType.FILE_URI on Android not conforming to API Spec
...
Instead of capturing the orginal image to /sdcard/Pic.jpg or /sdcard/Capture.jpg we detect if the SD card is mounted. If mounted the file is placed in the apps temp directory at:
/sdcard/Android/data/{package name}/cache/
If the SD card is not mounted we default to internal storage at:
/data/data/{package name}/cache/
2011-07-16 05:03:48 +08:00
Bryce Curtis
53410781e4
Issue #154 : Propagate existing parameters when starting new DroidGap activity.
2011-07-15 15:00:12 -05:00
Bryce Curtis
2bee9a8442
Remove deprecated addService() method. The new way to register a plugin is to include it in res/xml/plugins.xml.
2011-07-15 14:26:20 -05:00
Bryce Curtis
7c9eca1fab
Replace deprecated call to activityStop.
2011-07-15 14:04:46 -05:00
Bryce Curtis
017fa1b917
Use the same database based upon application context for each html page loaded as part of this app.
2011-07-13 16:48:29 -05:00
Bryce Curtis
24bb836221
Shouldn't return error on first call. This prevents successful invocation, which prevents deviceready from firing.
2011-07-13 00:21:34 -05:00
macdonst
6993c7edd1
Merge pull request #152 from macdonst/issue151
...
Issue151: Remove minification of phonegap.*.js file
2011-07-12 15:03:25 -07:00
macdonst
4cc3772e84
Issue #151 : Remove minification of phonegap.*.js file
2011-07-12 15:33:46 -04:00
macdonst
2a3c387ce3
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-12 12:23:34 -04:00
macdonst
c80ddc1b22
Issue #149 : Deprecate support for Android 1.X devices
...
Right now we are just removing the code for Contacts on 1.5/1.6 devices. We still need to keep around our implementation of Geolocation and Storage for older devices since some versions of Android have broken implementations of these features. Android 3.0 I'm looking at you!
2011-07-13 00:18:38 +08:00
macdonst
e1092590d6
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-12 11:05:56 -04:00
macdonst
24f979394f
Remove deprecated Network.isReachable (use the Network Information API instead)
2011-07-12 23:01:42 +08:00
macdonst
9971d61601
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-12 10:58:28 -04:00
Bryce Curtis
6c65a6a016
Make sure we load the correct resource id for plugins.xml.
2011-07-11 22:56:20 -05:00
macdonst
37b9cc47bd
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-11 23:30:41 -04:00
macdonst
66f7afbed2
Issue #146 : File API - File::writeAsText not in the API, remove
2011-07-12 11:13:24 +08:00
macdonst
b1c0be3dd6
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-11 22:53:46 -04:00
Dave Johnson
60be45b9d9
Fix example to not include the min.js that is non-existent
2011-07-11 18:21:55 -07:00
macdonst
393bd5a1f5
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-11 17:28:56 -04:00
macdonst
1de036a744
Setting version as 1.0.0rc1
2011-07-12 05:25:53 +08:00
macdonst
a235513991
Setting version as 1.0.0rc1
2011-07-11 17:24:33 -04:00
macdonst
22a9cabeb9
Updating Contacts for June 16th W3C Spec
2011-07-11 23:18:24 +08:00
Bryce Curtis
5de4ae7554
Remove dependency on notification.activityStart/Stop so they can be deprecated to an optional plugin. Also remove hideLoadingDialogOnPage option, since it no longer is relevant.
2011-07-08 23:07:22 -05:00
Bryce Curtis
f19d8f9bba
Change to PhoneGap naming convention affects droidgap creation & update. Also, create script uses phonegap-x.js, not phonegap-x.min.js.
2011-07-08 16:27:57 -05:00
macdonst
d4ccc702b2
Merge pull request #145 from macdonst/fixJar
...
Update .gitignore and .jar file name
2011-07-08 13:44:45 -07:00
macdonst
a0c748620a
Update .gitignore and .jar file name
2011-07-08 16:40:55 -04:00
macdonst
b85a769372
Merge pull request #144 from macdonst/is129
...
Fix for #129 : PhoneGap JS Naming Convention
2011-07-08 12:03:26 -07:00
macdonst
dd52081deb
Fix for #129 : PhoneGap JS Naming Convention
2011-07-08 14:35:31 -04:00
macdonst
ebd92a4b12
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-07 16:49:22 -04:00
Bryce Curtis
0a7a77e77b
Accept IPlugin for result callback when starting activities for result.
2011-07-07 14:11:03 -05:00
Bryce Curtis
9d1e73656f
Merge pull request #138 from davejohnson/iplugin-fix
...
Update PluginManager to accept plugins implementing IPlugin too
2011-07-07 12:00:36 -07:00
macdonst
6e62a76564
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-07 13:08:25 -04:00
macdonst
3895570edd
Fixed Issue 140: Contact.displayName is not being set correctly
2011-07-08 01:06:27 +08:00
Fil Maj
28b01fe494
Fix for #120 : zooming in on input elements when filling out forms. Note, you also have to set initial-scale and maximum-scale properties in your meta name=viewport tag.
2011-07-07 09:19:39 -07:00
macdonst
709eacd9dc
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-07-07 11:49:24 -04:00
Dave Johnson
090890b22a
Update PluginManager to accept plugins that implement IPlugin rather than extend Plugin
2011-07-07 00:12:44 -07:00
Bryce Curtis
ce9d577415
Remove unused code and variable.
2011-07-06 13:56:49 -05:00
Bryce Curtis
cfc9631873
Copy plugins.xml when creating a new project.
2011-07-06 13:36:29 -05:00
Bryce Curtis
3bf48f82af
Merge pull request #136 from brycecurtis/plugins
...
Loading plugins from res/xml/plugins.xml
2011-07-06 11:12:20 -07:00
Dave Johnson
f9bcf71a7a
Merge pull request #134 from davejohnson/plugin-refactor
...
Plugin refactor
2011-07-06 11:10:00 -07:00
Bryce Curtis
9d5aa9406c
Loading plugins from res/xml/plugins.xml
2011-07-05 23:21:32 -05:00
Dave Johnson
0b1e760fc1
Add better support for Activity result callbacks from plugins. Add some sugar for calling success / error callbacks from plugins
2011-07-05 14:13:55 -07:00
Dave Johnson
941b64f6a2
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-06-30 13:43:06 -07:00
macdonst
7cc1cc4a3f
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-30 15:43:50 -04:00
Bryce Curtis
c98b758e94
Update version to 0.9.6.1
2011-06-30 13:15:30 -05:00
macdonst
102d37d48a
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-30 11:58:12 -04:00
Bryce Curtis
4b647fc58d
Merge pull request #128 from brycecurtis/pages
...
Update version number and fix issues with prompt().
2011-06-30 08:56:53 -07:00
Bryce Curtis
b7156c6803
Bump up version to 0.9.6 for example.
2011-06-30 10:53:23 -05:00
Bryce Curtis
b8cc36e805
Don't clear activity stack by default.
2011-06-30 10:42:27 -05:00
Bryce Curtis
76b2df208e
Add comment
2011-06-29 18:28:29 -05:00
Bryce Curtis
9643314553
Add more control over how url is loaded.
2011-06-29 18:25:49 -05:00
Bryce Curtis
1e3422ae70
Load new urls in new DroidGap activity - not same webview as initial url.
2011-06-29 18:23:20 -05:00
Bryce Curtis
fc1bea4947
Update version to 0.9.6.
2011-06-29 16:43:52 -05:00
macdonst
afb48e52b6
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-29 09:55:31 -04:00
Fil Maj
b5dc62d9ef
fix to build script: gotta strip out new lines from read in version string
2011-06-28 15:20:13 -07:00
macdonst
2a786044de
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-28 14:26:50 -04:00
Joe Bowser
f3d7ce8fc3
VERSION:
2011-06-27 16:01:43 -07:00
Bryce Curtis
85dab52cf7
Handle errors when adding a service.
2011-06-27 13:49:24 -05:00
Bryce Curtis
c96c9b00b9
Revert to polling if there are any errors with callback server. This addresses various problems with proxies set by carriers.
2011-06-27 13:48:02 -05:00
Joe Bowser
b059a31787
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-06-27 10:23:16 -07:00
Joe Bowser
8cb71673c2
Changing default target to the highest for maximum compatibility
2011-06-27 10:22:57 -07:00
macdonst
5c8913351c
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-27 12:34:33 -04:00
macdonst
8ef93ff0e5
Issue 123: Fixing problem where name object is not specified
2011-06-28 00:34:11 +08:00
Joe Bowser
042c34192b
Trying to merge
2011-06-24 14:09:34 -07:00
macdonst
ac2e92321f
Issue #121 : Problem with resolveLocalFileSystemURI if file name has spaces
2011-06-24 14:08:46 -07:00
Bryce Curtis
05eacf4792
Always call plugin's onPause/onResume with multitasking flag when these lifecycle events occur in activity. It is up to the plugin to handle as necessary.
2011-06-24 14:08:46 -07:00
Kevin Griffin
435c903baf
formatting - sigh
2011-06-24 14:08:46 -07:00
Bryce Curtis
53de070a41
Return true when handling key events, indicating that no further processing is necessary.
2011-06-24 14:08:46 -07:00
Bryce Curtis
54fdcbfd46
Urls with same path and file but different # or ? should compare to same url.
2011-06-24 14:08:46 -07:00
Joe Bowser
44aa0aeb0f
Adding SSL dev code
2011-06-24 14:08:46 -07:00
Kevin Griffin
7d53eb8e3e
formattage
2011-06-24 14:08:46 -07:00
Joe Bowser
7bc0d624ac
Fixing conflict
2011-06-24 14:08:26 -07:00
Kevin Griffin
a5039f021d
made the mistake of opening anything in finder
2011-06-24 14:06:21 -07:00
Bryce Curtis
80e66d87a9
Issue 112: PhoneGap.Channel: replace instanceof Function with typeof === 'Function'
2011-06-24 14:06:21 -07:00
Bryce Curtis
d35e8cd44b
Fix security vulnerability - make sure any requests to run native code only come from url currently loaded into webview.
2011-06-24 14:06:20 -07:00
Benjamin Weingarten
eb3b1f91d4
Fix bug where isreachable doesn't return correct results for https
...
(http secure) url protocol.
2011-06-24 14:06:20 -07:00
macdonst
8a1ab69235
Updating Network Connection API to match spec released on June 7th
2011-06-24 14:06:20 -07:00
Bryce Curtis
66f3018767
Set PhoneGap.UsePolling flag based upon result from CallbackServer.
2011-06-24 14:06:20 -07:00
macdonst
ff7de25b62
Issue #106 : Typo in LocalFileSystem.prototype._castDate
2011-06-24 14:06:20 -07:00
macdonst
85eb6e4997
Issue #104 : Bug in FileUtils.copyDirectory & moveDirectory
...
Adding better test to see if a directory is being moved/copied into itself.
Copy /sdcard/myDir to /sdcard/myDir-backup is okay but
Copy /sdcard/myDir to /sdcard/myDir/backup should thow an INVALID_MODIFICATION_ERR
2011-06-24 14:06:20 -07:00
macdonst
0280d5dd82
Updating Connection object to conform with recently released spec
...
- Replacing currentNW and homeNW with networkName.
- Changing Connection constants to strings instead of ints.
- Firing online/offline events on network change.
2011-06-24 14:06:20 -07:00
Nitobi
3c90a9a23c
Fixed droidgap update command
2011-06-24 14:06:20 -07:00
macdonst
088c342198
Improve performance of our encoding
...
Move from using String.replaceAll() to a modified version or URLEncoder.encode().
2011-06-24 14:06:20 -07:00
macdonst
af18a8e1aa
Issue #80 : Unable to open large json files on android 2.2 + phonegap 0.9.5
...
I could not get rid of the url encoding and decoding without hampering some users ability to pass non-ascii characters back to JavaScript. However, I was able to reduce the amount of data being passed from Java to JavaScript by 40% by decoding common characters that occur in JSON and XML. These characters will survive the round trip just fine and don't need to be encoded.
This is the best solution I could come up with. You won't be able to read files as large as you could in 0.9.4 but it will get close and it will support non-ascii characters.
2011-06-24 14:06:20 -07:00
Joe Bowser
11a29e11e1
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-06-24 14:02:02 -07:00
macdonst
226e4dddcd
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-24 16:43:31 -04:00
macdonst
08c44f5c5d
Issue #121 : Problem with resolveLocalFileSystemURI if file name has spaces
2011-06-25 04:41:19 +08:00
macdonst
66dbd9ef8b
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-24 10:56:05 -04:00
Bryce Curtis
1c3ea54dcb
Always call plugin's onPause/onResume with multitasking flag when these lifecycle events occur in activity. It is up to the plugin to handle as necessary.
2011-06-23 23:22:48 -05:00
Bryce Curtis
a65638ab59
Merge pull request #118 from m00sey/master
...
Always fire onPause, onResume and onNewIntent events for Plugins.
2011-06-23 20:51:35 -07:00
macdonst
1a9471a2e0
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-22 14:48:49 -04:00
Kevin Griffin
c15971253f
formatting - sigh
2011-06-22 11:05:33 -04:00
Bryce Curtis
a67dfdb75e
Return true when handling key events, indicating that no further processing is necessary.
2011-06-21 22:53:45 -05:00
Bryce Curtis
9b52827744
Urls with same path and file but different # or ? should compare to same url.
2011-06-21 22:50:53 -05:00
Fil Maj
c5b268756b
Merge pull request #103 from doggerelverse/droidgap_update
...
Fixed droidgap update command
2011-06-21 17:22:02 -07:00
Joe Bowser
afa85a74b3
Adding SSL dev code
2011-06-21 10:08:42 -07:00
Kevin Griffin
517b5e0db9
formattage
2011-06-21 11:46:54 -04:00
Kevin Griffin
327bda49a0
Sending pause/resume notifcations to plugins regardless of 'keepRunning' state.
...
Not sure why you wouldn't want to send them
Added a OnNewIntent override for Plugins to use.
2011-06-21 11:32:22 -04:00
Kevin Griffin
c978341d83
made the mistake of opening anything in finder
2011-06-21 11:32:18 -04:00
macdonst
939754e1c9
Merge pull request #110 from Worklight/isReachble_fix
...
Fix bug where isReachable doesn't return correct results for https
2011-06-20 09:48:55 -07:00
macdonst
5e733ede9f
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-16 09:57:02 -04:00
Bryce Curtis
d1448e9073
Issue 112: PhoneGap.Channel: replace instanceof Function with typeof === 'Function'
2011-06-15 13:01:03 -05:00
macdonst
e5fb0c0e71
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-14 09:59:19 -04:00
Bryce Curtis
33bfb44f67
Fix security vulnerability - make sure any requests to run native code only come from url currently loaded into webview.
2011-06-13 15:16:08 -05:00
Benjamin Weingarten
a89c8bf482
Fix bug where isreachable doesn't return correct results for https
...
(http secure) url protocol.
2011-06-12 13:50:49 +03:00
macdonst
b46cbfd673
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2011-06-08 15:17:36 -04:00
macdonst
a67aeed571
Updating Network Connection API to match spec released on June 7th
2011-06-09 03:11:39 +08:00
macdonst
fbb6b22de6
Updating Network Connection API to match spec released on June 7th
2011-06-08 15:03:03 -04:00
Bryce Curtis
315b5a59b3
Set PhoneGap.UsePolling flag based upon result from CallbackServer.
2011-06-07 14:18:18 -05:00
macdonst
8da5ad8eca
Issue #106 : Typo in LocalFileSystem.prototype._castDate
2011-06-07 22:03:58 +08:00
macdonst
740e50ce61
Issue #104 : Bug in FileUtils.copyDirectory & moveDirectory
...
Adding better test to see if a directory is being moved/copied into itself.
Copy /sdcard/myDir to /sdcard/myDir-backup is okay but
Copy /sdcard/myDir to /sdcard/myDir/backup should thow an INVALID_MODIFICATION_ERR
2011-06-07 03:12:55 +08:00
macdonst
3ce0fc4897
Updating Connection object to conform with recently released spec
...
- Replacing currentNW and homeNW with networkName.
- Changing Connection constants to strings instead of ints.
- Firing online/offline events on network change.
2011-06-07 02:36:01 +08:00
Nitobi
8d1722ad67
Fixed droidgap update command
2011-06-03 10:59:48 -07:00
macdonst
7d41646a35
Improve performance of our encoding
...
Move from using String.replaceAll() to a modified version or URLEncoder.encode().
2011-06-02 10:31:56 +08:00
macdonst
992ee0bca4
Issue #80 : Unable to open large json files on android 2.2 + phonegap 0.9.5
...
I could not get rid of the url encoding and decoding without hampering some users ability to pass non-ascii characters back to JavaScript. However, I was able to reduce the amount of data being passed from Java to JavaScript by 40% by decoding common characters that occur in JSON and XML. These characters will survive the round trip just fine and don't need to be encoded.
This is the best solution I could come up with. You won't be able to read files as large as you could in 0.9.4 but it will get close and it will support non-ascii characters.
2011-06-01 21:27:27 +08:00
Joe Bowser
d00a9f33cd
Merge branch 'master' of github.com:phonegap/phonegap-android into keyboard
2011-05-31 15:41:03 -07:00
Joe Bowser
431c80782e
Changing the layout class so it has the screen dimensions to take into account Device Orientation
2011-05-31 15:38:03 -07:00
Bryce Curtis
39ec9c095d
Need to unregister for network intent receiver on shutdown to prevent leaks.
2011-05-31 15:13:54 -05:00
Bryce Curtis
10e1808c56
Clean up CallbackServer when about:blank page has loaded. This fixes errors when shutting down.
2011-05-31 15:11:02 -05:00
macdonst
9036eb8fcc
Issue #94 : feature request: Event for Keyboard show/hide
2011-05-30 15:12:31 -04:00
Fil Maj
4280fdf252
Fix for ticket #58 : Certain 1.5/1.6 devices would throw a FileNotFoundException when taking pictures. Patch submitted by Agustin of AVANTIC (thanks!).
2011-05-26 12:42:44 -07:00
macdonst
ca5e141b5b
Changing Media class to return seconds
...
The media commands getCurrentPosition() and getDuration() will now return seconds (float) instead of milliseconds to line up with iOS and the docs.
2011-05-27 01:54:48 +08:00
Dave Johnson
8f7a5decb6
Add DS_Store to gitignore
2011-05-25 17:28:24 -07:00
macdonst
1d79b6617b
JavaScript cleanup to pass jsHint
...
I did my best to clean up the JavaScript so it would pass through jsHint more cleanly. There still are issues but there are a lot fewer now. This helped to make the JS code more consistent.
2011-05-21 02:31:24 +08:00
macdonst
6c3eefe6f9
Issue #85 : window.openDatabase throws DOM Exception 18 on Android 3.1
...
Instead of checking the userAgent catch the exception. If we do get an exception it will setup our version of Droid Db.
2011-05-21 02:13:03 +08:00
macdonst
2177cd0a39
Moving navigator.connection to navigator.device.connection
...
Android 2.2 introduces the navigation.connection interface but it does not work properly in WebView. So in order to get the proper connection information we had to implement our own connection interface which is accessible at navigator.network.connection.
2011-05-18 03:26:31 +08:00
macdonst
6618015151
Fixing a number of issues in File API
...
Issue #82 : The RandomAccessFile class in Android's version of Java does not write non-ASCII characters very well. I've switched to using a FileOutputStream which seems to work just great. Tested by myself and folks from Egypt and the Netherlands.
Issue #87 : Fixed a problem where the file errors were being returned as evt.target.result.code.code.
2011-05-17 22:11:38 +08:00
macdonst
e99f75d59b
Issue #85 : window.openDatabase throws DOM Exception 18 on Android 3.1
...
The way were were detecting we were on an Android 3.0 device was not applicable for Android 3.1. I've made and update so that any Android 3.X device will use our implementation of web sql databases instead of the built in one which thows a security error.
2011-05-16 23:14:24 +08:00
macdonst
ab8cfe01d0
Removing generated code from project
...
framework/gen/com/phonegap/R.java
2011-05-16 10:37:25 +08:00
macdonst
e84c59d23c
Merge pull request #78 from kernelsandirs/master
...
Added Media.seekTo(int milliseconds);
Merging this code in now and making some notes to enhance the Media class.
2011-05-15 19:32:02 -07:00
macdonst
e81fc239a7
Setting defaults in Media Capture
...
Some tests of Media Capture were failing as the CaptureAudio/Image/VideoOptions objects did not have defaults set.
2011-05-14 01:10:18 +08:00
Bryce Curtis
839c577243
Need to use EclairClient for 3.x devices too. This fixes the HTML5 geolocation problem on Android 3.x.
2011-05-10 11:44:09 -05:00
macdonst
116169a4c5
Issue #79 : FileWriter.seek() is broken in 0.9.5.
...
The FileEntry.createWriter() method passes in a FileEntry object instead of a File object. As a result the FileWriter.length was not being set properly so when you do a writer.seek(writer.length) it would go to 0, so your next write would overwrite your file.
In order to fix this issue the FileEntry.createWriter() method now makes a call to FileEntry.file() to get the correct file size. The File object is now passed to the FileWriter constructor.
2011-05-07 00:41:57 +08:00
macdonst
346ed60f0d
Android 2.2+ supports W3C Connection API
...
For Android version 2.2 or better the navigator.connection object already
exists. If this case we should immediately fire the onPhoneGapConnectionReady
event so we don't tie up the 'deviceready' event.
2011-05-06 04:22:38 +08:00
defrex
bde59adc04
Add docs and fixed to pass through the Google Closure Compiler without warnings
2011-05-04 16:00:03 -07:00
kernelsandirs
ffbc010d7b
Added Media.seekTo(int milliseconds);
2011-05-04 11:51:26 -07:00
macdonst
bdadbbc339
Implement W3C Network Information API
...
Adding a new object to navigator called 'connection'. Users can query the
connection object to find out what type of network, if any, the device is
connected to. The connection object will be updated each time there is a
connectivity change on the device.
2011-05-04 22:23:16 +08:00
kernelsandirs
b94eedaf07
Added Media.seekTo(int milliseconds);
2011-05-03 21:27:08 -07:00
macdonst
58ecac335b
Capture modifications:
...
Renaming supportedAudioFormats to supportedAudioModes.
Renaming supportedImageFormats to supportedImageModes.
Renaming supportedVideoFormats to supportedVideoModes.
Adding copywrite header to the Capture.java file.
2011-05-03 00:12:19 +08:00
macdonst
fd8bb2f671
Issue 72: Contact.Save: onSuccess callback is called when contact is not saved.
2011-04-29 02:08:25 +08:00
Bryce Curtis
0aacfbdd50
Update version to 0.9.5
2011-04-27 14:10:13 -05:00
macdonst
2cd116e4e7
Issue 60: Contact search unicode problem
...
Contact search was not working for unicode letters. The CallbackServer was changed so that it returned url encode strings. On the JavaScript side the PhoneGap callback handler decodes the returned string.
2011-04-25 22:22:12 +08:00
Bryce Curtis
673a8871df
Ticket 136: window.openDatabase() in Android 3.0 throws SECURITY_ERR (most code written by Simon MacDonald - I just tested and checked in)
...
When you call window.openDatabase() on an Android 3.0 device you get and error something like this:
E/Web Console( 1791): SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent.
Simon worked with Pat for a bit and they think this is a WebKit or Android/WebKit interaction bug. In the meantime this fix determines if you are on Android 3.0 and uses Droid_DB if so.
2011-04-19 16:54:16 -05:00
Fil Maj
44945f9d5e
Partial resolution for ticket 57: some issues with camera functionality not firing callbacks properly.
2011-04-18 18:12:01 -07:00
Roman
887f754014
Hidden NPE fixed, which appeared when someone pass null as arguments
...
(for such SQL as e.g. CREATE TABLE).
It is especially important when work with dome 3d party persistemce
libraries, like e.g. http://github.com/zefhemel/persistencejs which
passes these nulls.
2011-04-18 17:02:55 -07:00
macdonst
674015460f
Fixing file commands so that they run async
2011-04-13 03:13:10 +08:00
macdonst
40084293c3
Ticket 127: Android FileReader/FileWriter methods should return FileError object on error.
2011-04-07 07:17:41 +08:00
Fil Maj
ed4c57e791
Woops, finger slipped.
2011-04-06 11:01:36 -07:00
Fil Maj
bf164f4161
Fix for ticket 121: Checking for null return on native openDatabase call not enough as only allowed one DB per PhoneGap app. Have to proxy openDatabase and check at runtime.
2011-04-06 10:50:24 -07:00
Bryce Curtis
626119ae3b
Bug 126: NullPointerException in onDestroy()
2011-04-05 15:42:25 -05:00
Ron Reiter
307f9d1871
Add maxResolution flag
2011-04-04 02:57:10 +03:00
macdonst
e766188689
W3C Media Capture API
...
An implementation of the W3C Media Capture spec:
http://dev.w3.org/2009/dap/camera/Overview-API
Capture operations are supported for audio, video, and images. Each
capture operation launches the native audio recorder, video recorder,
or camera application, respectively.
2011-04-01 15:52:53 -04:00
macdonst
d74569ffa7
Read As Text missing load event call
...
FileReader.readAsText didn't call the onload callback on success.
2011-04-01 23:04:14 +08:00
macdonst
d424af03e4
Ticket 124: File Transfer multipart badly formed trips mod_security
...
A standard from has no trailing whitespace after a content-disposition line like so: "Content-Disposition: form-data; name="data";" however when using the extra params of Android FileTransfer a space is added on the end "Content-Disposition: form-data; name="data"; "
This fix simply removes the trailing whitespace.
2011-04-01 22:43:38 +08:00
Bryce Curtis
f6f80537c3
Merge branch 'master' of https://github.com/jos3000/phonegap-android into jos3000-master
2011-03-30 13:48:51 -05:00
Bryce Curtis
908485751b
Add check to only init and run JS code once - even if included multiple times.
2011-03-30 13:29:24 -05:00
macdonst
b850d225f4
Support old way of adding service in PhoneGap 0.9.5
...
PhoneGap 0.9.4 replaced PluginManager.addService() with navigator.app.addService(). This is problematic with the older plugin as they are not being maintained. I'm adding in a PluginManger JavaScript class which will implement the addService method and call navigator.app.addService() method under the hood. This way we won't break old code.
2011-03-30 21:04:03 +08:00
Jos Shepherd
010c774988
Added native prompt() dialog support
2011-03-25 16:31:27 +00:00
macdonst
969f0c87d7
PhoneGap Android Ticket 113:
...
FileTransfer returns FILE_NOT_FOUND_ERR on http 500 error
For some reason on Android if you do a getInputStream() on a HTTP Connection and the server returns a 500 error it will report a FileNotFoundException. Catching this exception and throwing an IOException so that we can report a more accurate error in JavaScript.
2011-03-24 23:31:12 +08:00
Fil Maj
b3e9794189
Fix for lighthouse ticket 115: certain versions of Android 2.2 return "null" for window.openDatabase. Hook in PhoneGap fallback for storage in this case.
2011-03-23 11:07:45 -07:00
Bryce Curtis
935295c9b8
Bug 110 - When you close an app on Android you see a JS error in logcat.
2011-03-18 17:27:36 -05:00
Anis Kadri
648df2624f
Merge github.com:phonegap/phonegap-android
2011-03-15 16:27:11 -07:00
Fil Maj
04de2052fd
As best a fix as can be made for issue 95: on HTC devices, if text input is in bottom half of page, it does not get scrolled up to top half of page when you tap it and virtual keyboard comes up.
2011-03-15 12:46:05 -07:00
Fil Maj
60eb60b4f5
Merge branch 'master' of github.com:phonegap/phonegap-android
2011-03-14 16:15:28 -07:00
Fil Maj
ec307fdda8
Null check in droidgap classic (build script).
2011-03-14 16:15:19 -07:00
Bryce Curtis
7344964c05
Add support for setting sms body using uri "sms:#?body=text".
2011-03-13 22:36:09 -05:00
Anis Kadri
1e4dc1bf5d
Merge github.com:phonegap/phonegap-android
...
Conflicts:
framework/assets/www/phonegap.js
framework/src/com/phonegap/DroidGap.java
2011-03-13 15:07:23 -07:00
macdonst
1fc56921aa
Ticket #90 : Move _createEvent from File to PhoneGap
...
Got rid of _createEvent from file.js as it is redundant code.
2011-03-10 04:26:11 +08:00
Bryce Curtis
21a34a8980
Ticket 106 - Simplify splash screen logic based upon idea from vadim.
2011-03-08 22:00:33 -06:00
Fil Maj
8d73b364f2
Issue 107: always send resume event to JS.
2011-03-07 16:50:10 -08:00
Fil Maj
fb2c25c6c6
Issue 107: Always send pause event to JS.
2011-03-07 16:48:23 -08:00
Mark Darbyshire
47ca081f36
Implement localStorage.key() and localStorage.length
...
This brings PhoneGap's implementation in line with the spec at http://dev.w3.org/html5/webstorage/
It makes the following demo work when you include PhoneGap: http://people.w3.org/mike/localstorage.html
I was hopeful it would make my app, which makes use of LawnChair, work, but I've had no such luck as of yet.
2011-03-07 15:55:14 -08:00
Fil Maj
939b70243d
Use icon with no width/height if specified. Set default icon to highest-resolution icon when possible.
2011-03-07 13:27:52 -08:00
Fil Maj
d44bb7a9d8
Fix so that if not all icons are specified, doesnt error the build out.
2011-03-07 13:27:52 -08:00
Fil Maj
dccc29daf2
Syntax fixes to my ruby :P
2011-03-07 13:27:52 -08:00
Fil Maj
b402efd1f7
First pass at extracting icon width/height info and assigning to proper resolution dirs (i.e. ldpi, mdpi, hdpi) during build.
2011-03-07 13:27:52 -08:00
macdonst
0c3a8fb9f7
File API: System and Directories
...
http://www.w3.org/TR/file-system-api/
User can retrieve PERSISTENT and TEMPORARY file systems, list their
contents, and manipulate files and directories within them.
Modify existing FileWriter implementation
-----------------------------------------
- Change the way user creates a FileWriter. User must either pass a
File object to the FileWriter constructor, or use the
FileEntry.createWriter() method.
- Drop support for the 'filePath' and 'append' parameters in the
FileWriter constructor. The file path is determined from either the
File object passed to the FileWriter constructor, or the FileEntry
object used to create the FileWriter. To append to a file, use the
FileWriter object's seek method:
// writer is a FileWriter object
// seek to length of file to append
writer.seek(writer.length);
Replace FileMgr JavaScript APIs not specified in any File API spec
------------------------------------------------------------------
- Remove navigator.fileMgr.createDirectory(dirName) function. To
create a directory, use the DirectoryEntry.getDirectory() method,
which is part of the File API: Directories and System spec. Set
the Flags.create to 'true':
// directory is a DirectoryEntry object
directory.getDirectory(path, {create:true}, successCB, failCB);
- Remove navigator.fileMgr.getRootPaths() function. To retrieve the
root file systems, use the window.requestFileSystem() function,
which is part of the File API: Directories and System spec.
- Remove navigator.fileMgr.getFileProperties(fileName) function. To
get the properties of a file, use the FileEntry.file() method, which
is part of the File API: Directories and System spec.
- Remove navigator.fileMgr.deleteFile(fileName) function. To delete a
file, use the Entry.remove() method, which is part of the File API:
Directories and System spec.
- Remove navigator.fileMgr.deleteDirectory(dirName) function. To
delete a directory, use the Entry.remove() (if it is empty), or
DirectoryEntry.removeRecursively() methods, which are part of the
File API: Directories and System spec.
Clean up existing FileManager native code. Move some functionality to
file utility class.
2011-03-05 04:26:31 +08:00
paulb777
64d4337d5f
Update index.html to Add networking to example
2011-02-28 23:49:14 +08:00
paulb777
a9e1751812
Add networking to example and fix contacts
2011-02-28 23:46:26 +08:00
Bryce Curtis
2bc7bd6768
Worked around JavaScript bridge exception for Android 2.3. Use "prompt" instead of calling objects directly. There were several objects called from JavaScript, including BrowserKey, so key events had to be reworked.
2011-02-27 20:07:24 -06:00
Fil Maj
1711fb07d7
Small patch to build script: ruby needs double quotes to interpolate variables into it properly.
2011-02-16 16:26:01 -08:00
paulb777
6f4673f590
JSLint clean JavaScript sources. No fatal errors remain. Options can turn off rest of warnings
2011-02-15 16:10:09 -08:00
Vadim Voituk
5e858f8bc3
Added CupcakeLocalStorage.clear() method (in according to http://dev.w3.org/html5/webstorage/#the-storage-interface )
2011-02-04 12:08:22 -08:00
Fil Maj
691b093ccd
Upped script version in assets.
2011-02-04 11:55:20 -08:00
Fil Maj
99002f9dce
Fix for build: version needs to be included in .jar and .js generated files.
2011-02-04 11:35:05 -08:00
Fil Maj
b07072c12b
Fix for ticket 86 (build fail if phonegap-android dir is located under a dir with "lib" in it). Also bug fix in build if config.xml didnt contain an <icon> element.
2011-02-04 11:20:22 -08:00
Bryce Curtis
36dd964ba4
Logging status from wrong object.
2011-02-03 21:11:06 -06:00
macdonst
f848527c28
Upping version to 0.9.4
2011-02-03 09:48:31 +08:00
Bryce Curtis
6aa055f46e
Change super.setProperty() to use super.set<type>Property() in example comments.
2011-02-02 14:37:09 -06:00
macdonst
7952668cf7
Throwing error on FileWriter.abort() if writer is not in the correct state. Lining up with iPhone and BlackBerry
2011-02-03 02:26:49 +08:00
macdonst
a0c761664d
Call onwriteend not onloadend in FileWriter.abort()
2011-02-03 02:08:41 +08:00
macdonst
9fd9cf55cf
Adding version number to phonegap jar/js files
2011-02-03 01:51:59 +08:00
macdonst
3c9089b9c7
Enable hardware volume control buttons in DroidGap applications
2011-02-02 23:33:01 +08:00
Bryce Curtis
f220489543
Disable picture listener once event has occurred.
2011-02-01 11:25:01 -06:00
Bryce Curtis
b65f9517db
Merge branch 'filmaj-splashscreenfix'
2011-02-01 11:00:02 -06:00
Bryce Curtis
1a0de5f626
Merge branch 'splashscreenfix' of https://github.com/filmaj/phonegap-android into filmaj-splashscreenfix
2011-02-01 10:46:38 -06:00
Fil Maj
3c0bef6cc1
Ticket 81: Tweak to label of local path to index.html in example app, now properly shows actual project-relative path.
2011-01-31 17:51:15 -08:00
Fil Maj
040194157f
Ticket 80: running "droidgap gen example" leads to recursive directory creation. README fix included.
2011-01-31 17:48:56 -08:00
macdonst
7ebf8130e4
Set type to url for returned photos
2011-01-29 04:19:06 +08:00
macdonst
64310dc85c
Fixing clone issue adding photos, removing relationships
2011-01-27 05:59:22 +08:00
macdonst
cd2e86af2f
Removing excess logging in contact.save()
2011-01-27 03:44:27 +08:00
macdonst
b353f3608d
Updating to latest W3C spec
2011-01-27 03:41:27 +08:00
macdonst
cda154209d
Fixing merge issue
2011-01-26 11:22:08 -05:00
Sveinung Kval Bakken
e3c72fa915
Will now use a "smarter" approach to finding an account for Contact.save, the order of account search will be:
...
1. Exchange provider
2. Google
3. Any valid email address account
2011-01-25 11:36:08 +01:00
Fil Maj
9354b429f3
Fix for ticket #55 : if phonegap source was on a path with "bin" in it would cause major fail.
2011-01-24 15:51:26 -08:00
Fil Maj
b1f0c037bd
Getting rid of black screen between native loading screen and actual PhoneGap app.
2011-01-24 12:43:28 -08:00
macdonst
726f1094d9
Fixing bug found by tiny hippos
2011-01-25 03:05:59 +08:00
macdonst
1b8ab156df
Adding http: and file: support when saving a contact photo.
2011-01-25 01:58:31 +08:00
macdonst
ee01b5058f
Adding support to set a Contact photo
2011-01-22 01:52:20 +08:00
macdonst
03ea8a0b5a
Enable the return of photos in a Contact object
2011-01-20 04:27:40 +08:00
macdonst
f090f9a70c
Merge branch 'master' of https://github.com/filmaj/phonegap-android into filmaj
2011-01-17 11:54:52 -05:00
Bryce Curtis
b7abc2c344
Skip over beginning / in request when comparing to token.
2011-01-16 15:15:24 -06:00
Fil Maj
53bdf2dd6b
Fix for specifying icon in config.xml; the @icon attribute would get overriden by defaults when going from create => classic::build.
2011-01-15 23:12:07 -08:00
Joe Bowser
b9e1b1d280
Adding Blank HTML page
2011-01-13 16:27:54 -08:00
Bryce Curtis
9051b157f8
Ticket 63: Android CallbackServer crashes on external attacks.
2011-01-13 14:45:15 -06:00
macdonst
f16d9b01b7
Fixing geo listner callback fail to send 3 args instead of 4.
2011-01-14 02:07:47 +08:00
macdonst
2a9bc2ddf8
Fixing issue where Android 2.1 and 2.2 don't return the same results on contact.find()
2011-01-14 02:02:21 +08:00
macdonst
6e39c46b07
Middle name for contact being updated incorrectly
2011-01-12 21:58:20 +08:00
macdonst
567ca94245
Adding debug mode so FileTransfer will accept self signed SSL certificates
2011-01-12 10:32:26 +08:00
macdonst
812a4b32b4
Adding file key properly
2011-01-07 23:17:05 +08:00
Bryce Curtis
023df10f31
Allow features/modules to initialize code before deviceready fires. CupcakeLocalStorage uses this capability to delay deviceready until local storage has been read and inited.
2011-01-06 22:50:13 -06:00
macdonst
8d513e2765
Remaining FileUploader to FileTransfer
2011-01-07 01:43:12 +08:00
Bryce Curtis
1eae6786c4
Better memory management when taking pictures.
2011-01-06 11:12:14 -06:00
macdonst
73f278963b
Adding File Upload functionality
2011-01-06 07:09:07 +08:00
macdonst
54eff557d9
Guard against null request in Android 1.5/1.6
2011-01-06 04:08:23 +08:00
Bryce Curtis
a7415bcfc9
Support all URIs by passing them to their default activity. This works for market:// and content://.
2011-01-04 13:22:25 -06:00
macdonst
b6bd9ad5b8
Support Market Uri
2011-01-05 03:03:38 +08:00
macdonst
f71d9deb5e
Fixing mimetypes for content:// Uri's.
2011-01-05 02:45:04 +08:00
macdonst
115b428a9d
Fixing issue where Date's aren't cloned
2010-12-30 00:53:06 +08:00
macdonst
92a1e4a2d9
Remove destroyed AudioPlayer from list of AudioPlayers
2010-12-23 02:51:39 +08:00
macdonst
2504db13d7
Adding release method to Media object
2010-12-23 02:44:52 +08:00
macdonst
43c72e684c
Setting content type properly in readAsDataURL
2010-12-23 00:26:38 +08:00
stevengill
46f0bf60c4
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-12-16 13:29:52 -08:00
macdonst
8bad4eb7eb
Fixing issue where Camera returned a content URI that File Reader could not read
2010-12-17 05:08:45 +08:00
paulb777
fbe96f891b
1. Split out js to main.js 2. Show a contact 3. Toggle accelerometer 4. More device info 5. Enable scrolling
2010-12-15 11:24:01 -08:00
Bryce Curtis
ab8950a5af
Re-enable multitasking in onResume Java callback so that onResume JS handlers are called - it was being re-enabled too soon.
2010-12-09 14:13:23 -06:00
Bryce Curtis
26adfb6346
If multitasking is turned on (keepRunning=true), then temporarily disable it when starting a new activity that returns a result - such as camera.
2010-12-06 16:48:06 -06:00
Bryce Curtis
43b6b6d34e
Update version number to 0.9.3 in preparation for next release.
2010-12-03 18:15:00 -06:00
Bryce Curtis
04ddc68dfd
Fix bug with saving name in new contact.
2010-12-03 14:14:37 -06:00
Bryce Curtis
42cd10cf56
Need license header since it is removed by minification.
2010-12-01 16:13:22 -06:00
Bryce Curtis
5f3bc33f8e
Update comments.
2010-12-01 11:21:49 -06:00
Bryce Curtis
2131070ee9
Add JavaScript minification using YUICompressor.
2010-11-30 19:00:30 -06:00
Bryce Curtis
b2a82975e5
Merge branch 'jos3000-master'
2010-11-29 12:30:49 -06:00
Bryce Curtis
ddeba91faf
Merge branch 'master' of https://github.com/jos3000/phonegap-android into jos3000-master
2010-11-29 12:27:00 -06:00
macdonst
6e572f05e4
Put trailing / into getRootPaths() to remain consistent with BBW
2010-11-26 00:45:02 +08:00
macdonst
50b435c4d1
Following File API spec.
2010-11-25 03:11:43 +08:00
Bryce Curtis
af5c5dc021
Update splash screen example and list of properties that can be set in commented code.
2010-11-23 09:53:43 -06:00
Bryce Curtis
87fd9665fe
Merge branch 'localStorage' of https://github.com/ascorbic/phonegap-android into ascorbic-localStorage
2010-11-21 17:58:49 -06:00
Bryce Curtis
5e9ca84b40
Expose certain methods from DroidGap to JavaScript so that a PhoneGap web app can better control program configuration and flow.
2010-11-21 17:33:13 -06:00
Bryce Curtis
090ad56d0b
Don't need special method to load a splash screen. Instead, the regular loadUrl() and clearHistory() can be used.
2010-11-21 16:47:35 -06:00
Bryce Curtis
e3ebfea064
Improve handling of timeout error when loading URL, and enable WebViewClient to be overridden by app, so developer can intercept webview events.
2010-11-21 16:42:00 -06:00
Bryce Curtis
44761f87d2
Remove comment for unused parameter.
2010-11-21 16:31:49 -06:00
Bryce Curtis
04e3ceac96
Define window.plugins object so plugins can check to see if they have already been created.
2010-11-21 16:30:46 -06:00
Bryce Curtis
afc7e605ff
Fix bug when not doing cast - temp isn't defined.
2010-11-20 21:23:15 -06:00
macdonst
1c5aa6cd00
Adding a cast for contacts.find()
2010-11-20 01:42:52 +08:00
macdonst
c1a87ebaaa
Adding and optional call to cast Plugin Result
2010-11-20 01:42:43 +08:00
macdonst
46babe7a48
Calling correct events from FileWriter.abort()
2010-11-17 15:30:08 -05:00
Bryce Curtis
0dc64d2aa7
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-11-16 18:15:15 -06:00
Bryce Curtis
1d9e522bd9
Fix quality issue with base64 encoded images. Quality parameter wasn't being set.
2010-11-16 18:14:24 -06:00
macdonst
5dcac6d7fe
Fixing issue in File Reader/Writer when newlines in file
2010-11-16 13:30:18 -05:00
macdonst
07418a3606
Small fix to File API
2010-11-17 00:06:49 +08:00
Bryce Curtis
0e08af98ca
Better way to handle splash screen when back button pressed.
2010-11-15 16:32:55 -06:00
Bryce Curtis
b8b1ad8421
Add property that lets a PhoneGap app continue to run when another Android app or activity is started.
2010-11-14 17:33:06 -06:00
Bryce Curtis
4fa1f40b44
Add load URL capability, and enable an HTML file to be used as a splash screen.
2010-11-12 22:38:27 -06:00
macdonst
5f55ebf1d9
Adding Contact.save() for Android 1.X and Android 2.X
2010-11-13 05:34:44 +08:00
Bryce Curtis
9798de7efa
Remove unused and unneeded getPort() method.
2010-11-12 12:53:34 -06:00
Bryce Curtis
102745875c
Allow user to set the loading dialog message. Change default from show to not shown.
2010-11-11 22:24:20 -06:00
Bryce Curtis
dce0d93df8
Replace deprecated debug.log with console.log.
2010-11-11 22:03:12 -06:00
Bryce Curtis
1428ac5ed5
Add error checking for PhoneGap.addPlugin().
2010-11-11 21:58:07 -06:00
Bryce Curtis
4f1bc1401f
Add delay so splash screen can be shown for a specific amount of time.
2010-11-11 21:56:56 -06:00
Bryce Curtis
28ff6e1150
Merged code for bryfox: Re-add support for search & menu key triggers.
...
See original commit: 799515fa7b
2010-11-11 16:20:32 -06:00
Bryce Curtis
5ffe5fa3c5
Merged code for imhotep: Cleaner way for handling splashscreens.
...
See original commit: 1761cbb3dc
2010-11-11 15:59:35 -06:00
Bryce Curtis
49341356d7
Add comments to onKeyDown() method.
2010-11-11 14:08:55 -06:00
Bryce Curtis
e8b85f6cf7
Fix formatting and rearrange method order.
2010-11-11 14:00:56 -06:00
Bryce Curtis
4b2398b487
Add properties to DroidGap that can be set when the intent/activity is called. This enables the developer to show app loading dialog, splashscreen, or set other properties.
2010-11-11 11:34:12 -06:00
Bryce Curtis
10f3313ed5
Use polling if PhoneGap app is loaded from server, since XHR doesn't work to localhost due to cross-domain security policy.
2010-11-10 14:19:17 -06:00
Matt Kane
46664c6494
Remove dependency on JSON support
2010-11-10 08:44:33 +00:00
Matt Kane
8ce7e61ed7
Adds localStorage support to older versions
2010-11-10 08:34:59 +00:00
Matt Kane
912458c679
Fix order of args to match w3c spec.
2010-11-09 22:58:13 +08:00
macdonst
e117b95057
Fixing issue with addEventListener and Sencha
2010-11-09 21:48:48 +08:00
Jos Shepherd
3a0101261d
Move data transfer for storage to completeQuery for speed up
2010-11-06 20:01:22 +00:00
Bryce Curtis
48d3bc09f3
Add method for dynamic loading of a JavaScript file.
2010-11-05 16:00:58 -05:00
Bryce Curtis
0b3e27b3fa
Load url into DroidGap if it was passed in to intent.
2010-11-05 14:50:48 -05:00
Bryce Curtis
b66535a17d
Introduce PhonegapActivity class to separate plugin development from base Phonegap.
2010-11-06 03:10:28 +08:00
Jos Shepherd
fdc78e1b08
Fix for troublesome values being returned from DroidDB stores. Stick to one level of JSON serialization.
2010-11-05 17:03:05 +00:00
Bryce Curtis
36064c564e
Reduce timeout from 30 sec to 10 sec for CallbackServer. Some devices have shorter timeouts than others for XHR.
2010-11-04 13:07:15 -05:00
Bryce Curtis
7102810283
Fix problem with CallbackServer for certain HTC phones.
2010-11-03 22:45:14 -05:00
Bryce Curtis
ab4d4e22da
Include the device's name in Device.name per API docs.
2010-11-03 10:23:12 -05:00
Bryce Curtis
80c15de606
Return error conditions from CallbackServer instead of just closing connection.
2010-11-01 13:59:08 -05:00
Matt Kane
be5cac6d0b
This is being called from java code, but callback didn't exist
2010-11-01 05:58:24 +08:00
Matt Kane
2bb67ee4b0
Change use "geo:" instead of WebView.SCHEME_GEO
...
The constant is "geo:0,0?q=", which means it doesn't match urls that specify the coordinates. The gmap app can handle these though, so we can pass any geo: url to it.
2010-11-01 05:50:55 +08:00
Bryce Curtis
f7254044ee
Require security token when calling CallbackServer via XHR.
2010-10-29 22:07:23 +08:00
macdonst
2e5d6f5b74
Adding truncate to FileWriter
2010-10-28 22:17:20 -04:00
macdonst
b7024ad1f5
Small FileWriter fix
2010-10-29 08:46:37 +08:00
Bryce Curtis
577284b960
Remove unneeded debug log statements.
2010-10-28 16:28:24 -05:00
Joe Bowser
35b3808701
Fixing typo
2010-10-27 15:00:35 -07:00
Joe Bowser
45c9a88fd7
Merge branch 'master' of git@github.com:phonegap/phonegap-android
2010-10-27 14:53:32 -07:00
Bryce Curtis
831670e4ae
Modify camera to use NO_RESULT, thus eliminating extra JS callback methods.
2010-10-27 21:33:50 +08:00
Bryce Curtis
37a9307681
Enable JS callbacks to be kept around for multiple callbacks from Java.
2010-10-27 21:33:49 +08:00
Joe Bowser
34f6e878d5
Merge branch 'master' of git@github.com:phonegap/phonegap-android
2010-10-26 16:23:37 -07:00
Bryce Curtis
bc1e039ea1
Use polling instead of XHR for callbacks from Java to JavaScript when device has a proxy set.
2010-10-26 15:09:54 -05:00
Joe Bowser
8c624c7f22
Adding a console.log statement to debug errors in callback
2010-10-25 15:01:17 -07:00
Bryce Curtis
f63b8140af
Add quotes when returning status message.
2010-10-25 14:59:23 -05:00
Bryce Curtis
153d42f693
Alert and notification dialogs should be run on UI thread.
2010-10-25 14:35:02 -05:00
Bryce Curtis
5647e54399
Add PluginResult status values to handle RESULT_TO_BE_SENT, NEXT_RESULT, NO_MORE_RESULTS .
2010-10-25 14:33:48 -05:00
Bryce Curtis
8663ed412f
Made notification.alert and notification.confirm async.
...
notification.confirm matches iOS and BB widget implementation (invoke callback with result).
2010-10-25 11:20:41 -05:00
Anis Kadri
1761cbb3dc
cleaner way for handling splashscreens
2010-10-22 12:07:02 -07:00
Bryce Curtis
072613be99
Rename PhoneGap.execAsync() to PhoneGap.exec().
2010-10-22 13:08:54 -05:00
Bryce Curtis
6b7fc8119f
Rename PhoneGap.execAsync() to PhoneGap.exec() and change all JS files that use it.
2010-10-20 23:53:33 -05:00
Bryce Curtis
29549b835a
Add error checking around user callbacks.
2010-10-18 16:04:39 -05:00
Bryce Curtis
60fc61065e
Fix variable change error.
2010-10-18 16:02:42 -05:00
Bryce Curtis
de23753204
Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008).
2010-10-18 15:31:16 -05:00
macdonst
9cd4d4c603
Adding comments to Contact code
2010-10-19 04:06:49 +08:00
macdonst
bc086cb93d
Setting ContactFindOptions to correct defaults
2010-10-19 00:30:00 +08:00
brianleroux
f15bdf9445
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-10-14 17:04:19 -07:00
brianleroux
9358e23726
Merge branch 'commandline' of github.com:davejohnson/phonegap-android
2010-10-14 17:02:45 -07:00
Bryce Curtis
6d605c1cbf
Set prepareListener before calling prepare.
2010-10-14 09:58:37 -05:00
Bryce Curtis
be16eebf55
Remove logging from storage.js.
2010-10-13 13:47:43 -05:00
Bryce Curtis
1f3bd9f51c
Add support for multiple executeSql statements in transaction that returns results.
...
If a transaction had more than one "SELECT * FROM TABLE" statement, then only one of the executeSql callbacks would be called. The others would not be called, even though they were successful. This is because a transaction object had only one result set. Changed code so that each executeSql has a result set and unique "query id" so that the query results can be sent back to the correct statement's callback.
2010-10-13 13:43:52 -05:00
Jos Shepherd
5bdc81e84d
Fix to new Android 1.6 storage code - callback wasn't being called for empty result sets.
2010-10-13 22:12:36 +08:00
Dave Johnson
08963b5e5f
Add IPlugin to isPhoneGapPlugin check
2010-10-12 23:36:08 +01:00
Dave Johnson
522a7225db
Change PluginManager.isPhoneGapPlugin() to be much shorter like on the BlackBerry
2010-10-12 23:18:11 +01:00
Bryce Curtis
032db387f8
Fix database for Android 1.x devices. It now behaves like HTML5 database API.
2010-10-12 15:53:57 -05:00
davejohnson
5164464d28
Change droidgap create to not use 'grep' and have better error messages
2010-10-13 01:30:00 +08:00
davejohnson
a66ef4641f
Change droidgap create to not use 'grep' and have better error messages
2010-10-11 05:30:54 -07:00
macdonst
3fd372f9d1
Remove logs
2010-10-09 02:58:14 +08:00
macdonst
b125f4e74b
Fixing if/else condition
2010-10-09 02:58:04 +08:00
macdonst
3a9c106aba
Small changes for older Android SDK
2010-10-09 02:43:27 +08:00
brianleroux
a31ce5ef2a
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-10-08 11:40:09 -07:00
brianleroux
bf3b38036b
tiny fix to droidgap gen for windows
2010-10-08 11:39:56 -07:00
macdonst
34859ec479
Reduced everything to single database query
2010-10-08 23:44:07 +08:00
macdonst
4a6105de6b
Do one table query per contact
2010-10-08 23:43:23 +08:00
Bryce Curtis
50ab0e0834
Add confirm, start/stopActivity, start/stopProgress to notification service. Add "application loading" spinner that user can optionally show when app is starting.
2010-10-08 09:18:10 -05:00
macdonst
72b2ec804c
Removing unused functions
2010-10-07 06:17:24 +08:00
brianleroux
086e6ea56b
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-10-06 11:51:59 -07:00
brianleroux
122395e0d0
small tweaks to the build script
2010-10-06 11:51:42 -07:00
Bryce Curtis
98206852de
Update alert() to implement navigator.notification.alert API. This update is from janmonschke (Jan Monschke).
2010-10-06 13:31:30 -05:00
Bryce Curtis
dc960b9835
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-10-06 13:01:13 -05:00
Bryce Curtis
9adb85a64b
Add callbackId to Plugin.execute() so result can be sent back when overlapping calls to same plugin occur.
2010-10-06 12:56:34 -05:00
Bryce Curtis
23b02e7267
Change initialization of Storage for 1.x devices to use service call.
2010-10-06 12:56:34 -05:00
Bryce Curtis
e3cef16629
Remove getClassForService() and make addPlugin() private.
2010-10-06 12:56:34 -05:00
Dave Johnson
5a2398dbea
Add call to setCallbackdId in addPlugin
2010-10-06 12:56:34 -05:00
Dave Johnson
f1421bc724
Add callbackId and JS callback sugar to plugin class and interface
2010-10-06 12:56:34 -05:00
Dave Johnson
7d6ffc676d
Update PluginManager to not call Class.forName twice
2010-10-06 12:56:34 -05:00
Bryce Curtis
385be26046
Check plugin against new Plugin and IPlugin to determine if valid plugin class.
2010-10-06 12:56:34 -05:00
Bryce Curtis
68146329b9
Add IPlugin interface and change Plugin to be abstract class. Plugins can either implement IPlugin or extend Plugin.
2010-10-06 12:56:34 -05:00
brianleroux
1231268a6b
updated readme to reflect change to droidgap
2010-10-06 10:56:23 -07:00
brianleroux
cbff3812e8
made gen create a fullout android proj
2010-10-06 10:54:18 -07:00
brianleroux
f8ae11993f
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-10-06 10:53:25 -07:00
macdonst
3138178fea
Speeding up contacts.find
2010-10-07 00:45:07 +08:00
macdonst
f20e5cf943
Shave .2 sec off each contact returned in a query
2010-10-06 02:24:31 +08:00
macdonst
a1b35b7636
Remove logging
2010-10-06 00:24:33 +08:00
macdonst
8eaaa04746
Small fix to speed up contact retrieval
2010-10-06 00:19:58 +08:00
macdonst
2bbf62c489
Fixing Contacts.find to use PluginResult
2010-10-04 09:50:48 +08:00
macdonst
c80397ad68
Fix duplicate method name
2010-10-02 05:11:06 +08:00
macdonst
c91ea37438
Adding Contacts.create method
2010-10-02 05:10:42 +08:00
macdonst
9671083bed
Removing logging messages
2010-10-01 11:29:24 +08:00
macdonst
6071b9c75a
Adding Contact.remove method
2010-10-01 11:22:20 +08:00
Justin Tyberg
668bc9e0ca
Corrected check for existence of accelerometer timer to allow clearWatch to clearInterval correctly.
2010-10-01 10:34:39 +08:00
macdonst
297ddb99fe
Adding clone functionality to Contact object
2010-10-01 00:01:30 +08:00
brianleroux
cbd5686e7d
merge of latest phonegap/android bs
2010-09-30 13:39:10 +02:00
Bryce Curtis
a772acbd89
Update lastAccessTime when calling getAcceleration() so we don't timeout.
2010-09-29 20:52:39 -05:00
macdonst
c2240966ef
Removing extra log calls
2010-09-30 05:46:32 +08:00
macdonst
36984f4697
Merge remote branch 'macdonst-contactSpec/contactSpec'
2010-09-29 17:13:58 -04:00
macdonst
ac92498594
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2010-09-29 16:31:34 -04:00
macdonst
7bfe94ffc7
Removing commented out code
2010-09-29 15:35:57 -04:00
Bryce Curtis
f85f4e6b69
Update notification service to implement plugin class.
2010-09-29 11:10:08 -05:00
macdonst
c13c0c37e3
Only query what is required as passed by filter
2010-09-28 14:19:40 -04:00
macdonst
2098436a2c
Fixing query so that it uses wildcards
2010-09-24 16:15:16 -04:00
macdonst
a427b8cead
Merge branch 'master' into contactSpec
2010-09-24 13:27:53 -04:00
macdonst
bcf920669b
Merge branch 'master' of git://github.com/phonegap/phonegap-android
...
Conflicts:
framework/src/com/phonegap/ContactManager.java
2010-09-24 13:22:46 -04:00
macdonst
a9f057c278
Cleaning up some accessor code
2010-09-24 11:43:10 -04:00
macdonst
4e4207f294
Merge branch 'master' of git://github.com/phonegap/phonegap-android into contactSpec
2010-09-24 11:42:08 -04:00
brianleroux
c86f7d053c
Merge branch 'master' of github.com:phonegap/phonegap-android into test
2010-09-24 14:12:24 +02:00
Bryce Curtis
7f7cc1db2a
Add geolocation options as defined by W3C spec.
2010-09-23 14:34:56 -05:00
Bryce Curtis
edfa41c9f9
Update geolocation to follow W3C spec, add comments, add error checking.
2010-09-22 14:47:52 -05:00
macdonst
1768b507f8
Cleaning up logs from ContactAccessors
2010-09-22 11:37:12 -04:00
brianleroux
36949f4af1
tiny fix for config file containing spaces in name
2010-09-22 16:13:25 +02:00
macdonst
328bc106e5
Able to query contact DB on Android 1.6
2010-09-21 22:08:45 -04:00
Bryce Curtis
063e189bb7
Change isReachable() to return NetworkStatus constant to reachableCallback(reachability) as specified in the API documentation.
2010-09-20 22:25:57 -05:00
Bryce Curtis
1a9173d2c3
Added comments.
2010-09-20 21:09:35 -05:00
macdonst
fdca4c5ecb
First pass as pre 2.0 Android contacts
2010-09-20 21:38:29 -04:00
Bryce Curtis
b079a24373
Need to listen for XHR callbacks before constructors are run, since constructors could call native code that returns data in callback.
2010-09-20 15:48:37 -05:00
Bryce Curtis
ace84227cc
Fix problem with deviceready being called before device properties are guaranteed to be set.
2010-09-20 15:39:54 -05:00
macdonst
f68b75c1cf
Small refactor on birthday and anniversary
2010-09-20 15:51:12 -04:00
macdonst
f272748c5b
Adding queries for IM, Note, Nickname, Website, Relationship, Birthday and Anniversary
2010-09-20 14:52:02 -04:00
Bryce Curtis
a59cad68e2
Device returns string, but for some reason emulator returns object - so convert to string.
2010-09-17 16:53:52 -05:00
Bryce Curtis
eff7c92dae
FileWriter should use its own states object.
2010-09-17 16:17:06 -05:00
macdonst
ca4d7f7fd2
Adding queries for addresses and organization
2010-09-17 17:15:30 -04:00
Bryce Curtis
0ed522481f
Read and write operations are async.
2010-09-17 16:05:05 -05:00
Bryce Curtis
2d4a321cc1
Update files.js to be closer to iPhone impl and W3C File API working draft at http://www.w3.org/TR/FileAPI/ .
2010-09-17 15:43:20 -05:00
Bryce Curtis
00dc18a488
Convert FileUtils to plugin architecture.
2010-09-17 15:41:48 -05:00
Bryce Curtis
b95ad44c18
Add general ERROR to plugin result status.
2010-09-17 15:38:18 -05:00
Bryce Curtis
9d3306ccc5
Add comments to directory manager source file.
2010-09-17 15:37:34 -05:00
macdonst
c2bcc29cfb
Merge branch 'master' of git://github.com/phonegap/phonegap-android into contactSpec
2010-09-17 10:24:30 -04:00
macdonst
0a2d7bf536
reducing code
2010-09-17 10:24:22 -04:00
Bryce Curtis
0895083f1f
Use same option name as iPhone.
2010-09-16 12:47:13 -05:00
macdonst
8de6d9ce15
Merge branch 'master' of git://github.com/phonegap/phonegap-android into contactSpec
2010-09-16 13:40:17 -04:00
macdonst
c483ebd1d7
Fixing merge conflict
2010-09-16 13:39:59 -04:00
Bryce Curtis
92d2b5812c
Change camera to be more consistent with iPhone and BB widgets. Add support to choose image from library instead of only camera.
2010-09-16 11:31:42 -05:00
Bryce Curtis
9c2e4cfd9c
Check to make sure result was returned to eliminate parse warning messages.
2010-09-16 11:28:52 -05:00
macdonst
8da131cc45
Changed search function to take filter and option parameters
2010-09-16 11:35:49 -04:00
Bryce Curtis
5cd25316fa
Change JS to call navigator.contacts instead of navigator.ContactManager, which no longer exists.
2010-09-15 14:38:57 -05:00
Bryce Curtis
705b8f6874
Change Device JS object to include only platform, uuid, version, and phonegap properties as defined in API, and modify Device Java class to implement plugin interface.
2010-09-15 14:27:46 -05:00
Bryce Curtis
c050e00b8f
Use timeout to break out of possible infinite loop waiting for sensor to start.
2010-09-15 14:17:40 -05:00
Bryce Curtis
03f6267c82
Add JSON stringify equivalent not implemented in older Android (1.6) devices. This is needed for args passed to PhoneGap.exec().
2010-09-15 14:06:05 -05:00
macdonst
d955502ca2
Fixing whitespace
2010-09-14 14:51:31 -04:00
macdonst
f606012c87
Merge branches 'master' and 'contactSpec'
2010-09-14 14:43:46 -04:00
macdonst
3f24c63fc5
Changing navigator.contacts to navigator.service.contacts
2010-09-14 14:21:20 -04:00
macdonst
b78896e5f0
Modify ContactFindOptions to pass Mobile Spec tests
2010-09-14 14:21:20 -04:00
macdonst
0efe871efe
Adding new data model to contact.js to conform to W3C spec
2010-09-14 14:21:20 -04:00
macdonst
633100a3ce
Merging Fil's contact changes with Bryce's Plugins
2010-09-14 14:21:19 -04:00
Bryce Curtis
1c0de5ad8d
Change hasReturnValue to isSynch to be more accurate about purpose of method.
2010-09-13 11:01:44 -05:00
Bryce Curtis
e4d1087b72
Clean up unused variables.
2010-09-10 18:41:39 -05:00
Bryce Curtis
040a3d7d43
Modify JS code to use service name rather than class name.
2010-09-10 15:13:53 -05:00
Bryce Curtis
fb281ddc9f
JS execAsync to handle changes to plugins.
2010-09-10 15:12:55 -05:00
Bryce Curtis
afd278cf80
Modify contacts to use async plugin. Contacts doesn't work on Android, but needed to update JS side to work with plugin.
2010-09-10 14:54:31 -05:00
Bryce Curtis
53fca124ab
Modify camera capture to use async plugin. Use option instead of method to specify capture type (base64 or file).
2010-09-10 14:45:32 -05:00
Bryce Curtis
d72c77d6f3
Modify network queries to use async plugin.
2010-09-10 14:20:34 -05:00
Bryce Curtis
0a7762743e
Optimize accelerometer to use new PluginManager.
2010-09-10 13:44:45 -05:00
Bryce Curtis
863807a7a5
Add position callback and do some optimization of audio player.
2010-09-10 11:38:23 -05:00
Bryce Curtis
5c20ba57e9
Optimize compass to use new PluginManager.
2010-09-10 11:35:10 -05:00
Bryce Curtis
a13b8fc124
Implement ReturnValue() for each plugin.
2010-09-10 11:34:06 -05:00
Bryce Curtis
2b015164f4
Add hasReturnValue() so that PluginManager can make decision to run an action sync or async.
2010-09-10 11:32:18 -05:00
Bryce Curtis
a21080fb76
Add services supported and their class names.
2010-09-10 11:31:22 -05:00
Bryce Curtis
cda0319be3
Refer to services instead of class names, which don't translate across devices.
2010-09-10 11:30:32 -05:00
Bryce Curtis
7108076260
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-09-09 13:00:40 -05:00
Bryce Curtis
7f3cf4a884
Remove unused module classes.
2010-09-09 11:04:29 -05:00
Bryce Curtis
2d2adf29fd
Cleanup plugin code.
2010-09-09 11:04:04 -05:00
Bryce Curtis
b02f376826
Catch exceptions in async callbacks.
2010-09-09 11:03:46 -05:00
Bryce Curtis
1fa41df3f1
Cleanup code and add comments.
2010-09-09 11:01:56 -05:00
Bryce Curtis
77801de1ae
Cleanup accelerometer code.
2010-09-09 11:00:45 -05:00
Bryce Curtis
3c9bae3402
Optimize accelerometer for plugin manager.
2010-09-08 17:09:22 -05:00
brianleroux
d208f7bea7
update build target detection to actually fucking detect
2010-09-07 19:03:53 -07:00
Bryce Curtis
4f360c2680
Change commands to plugins.
2010-09-07 13:59:54 -05:00
Bryce Curtis
9e931cc3f6
Change to use Commands and CommandManager.
2010-09-07 10:39:55 -05:00
Bryce Curtis
5c24abcafd
Alert dialog only has OK button. Add confirm dialog with OK and CANCEL.
2010-09-07 10:33:08 -05:00
brianleroux
6d403c5864
updated readme
2010-09-05 15:13:32 -07:00
brianleroux
0417a9873b
added classic mode for droidgap and implmented test command first pass
2010-09-05 14:32:16 -07:00
brianleroux
22e9530c66
seperating out config
2010-09-05 11:38:48 -07:00
Bryce Curtis
40997b4cb8
Update classes to use module, and make constructors consistent.
2010-09-03 17:24:55 -05:00
Bryce Curtis
5d83a44ec3
Set default camera image to base64. Add comments.
2010-09-03 16:00:21 -05:00
Bryce Curtis
d39781f3fb
Start CameraLauncher using module.
2010-09-03 14:27:06 -05:00
Bryce Curtis
75636f7f00
Add modules that can be started without changing DroidGap.java.
2010-09-03 14:14:28 -05:00
Bryce Curtis
f77e51290b
Add automatic handling of onActivityResult, so modules that start activities with result callback can do so without modifying DroidGap.java.
2010-09-03 14:01:24 -05:00
brianleroux
8163416e27
cleanup for merge
2010-09-02 16:58:24 -07:00
brianleroux
9185848cbc
fixing dasherish
2010-09-02 16:44:56 -07:00
brianleroux
d2e19d8818
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-09-02 16:42:12 -07:00
brianleroux
5c481ebe40
changed to loadInWebView
2010-09-02 12:54:35 -07:00
Bryce Curtis
1febba48ff
Moved camera code from DroidGap into CameraLauncher. Added comments and error messages.
2010-09-02 11:27:48 -05:00
brianleroux
a6faa68a5c
undefined is not falsy in java land apparently
2010-09-01 11:55:18 -07:00
brianleroux
48ace80183
added a backdoor ;O
2010-09-01 11:49:56 -07:00
brianleroux
b06d02028a
updated create script to remove dashes
2010-09-01 11:26:57 -07:00
brianleroux
c53427d7ec
Merge branch 'master' of github.com:phonegap/phonegap-android
2010-09-01 11:13:10 -07:00
brianleroux
f818f9bda9
merged dave
2010-08-31 16:50:39 -07:00
brianleroux
83070fc4ea
updated pkg to create as per daves suggestion
2010-08-31 15:40:19 -07:00
brianleroux
6cd1d8113e
updates to output and rmoved uniq package name
2010-08-31 15:36:09 -07:00
brianleroux
5a90792e0d
Merge branch 'master', remote branch 'dave/command_line'
2010-08-31 15:19:12 -07:00
Bryce Curtis
90b708fe83
Update audio playback and recording.
2010-08-31 15:39:37 -05:00
Dave Johnson
f48a19554c
readme
2010-08-31 13:27:43 -07:00
Dave Johnson
cf7a4f0fb6
Add more windows compatibility. run does not actually put the app on the simulator though
2010-08-31 13:21:23 -07:00
Dave Johnson
86a7a0d9e3
Add windows build scripts
2010-08-31 13:08:07 -07:00
brianleroux
a5323d77f5
updated readme
2010-08-30 16:02:47 -07:00
brianleroux
190cec7730
removed frameowrk bs
2010-08-30 15:58:47 -07:00
brianleroux
be7f0a2496
whoops
2010-08-30 15:58:11 -07:00
brianleroux
06779773dd
reworking in new droidgap lite
2010-08-30 15:57:07 -07:00
brianleroux
2384714138
unused example is unused
2010-08-30 12:02:21 -07:00
macdonst
91f1f475e9
fixing error in if statement
2010-08-30 22:56:24 +08:00
macdonst
b1af7d8739
Adding altituteAccuracy into Coordinates object
2010-08-30 22:56:24 +08:00
Bryce Curtis
86d6053d2d
Don't need to manage resume/pause state - the OS does it.
2010-08-27 09:31:57 -05:00
Bryce Curtis
c6280edbed
Set type of channel.
2010-08-27 09:28:49 -05:00
Dave Johnson
4fd8a4dad8
Remove channel.js. Remove double call to nativeReady in DroidGap. Niceify CommandResult.java
2010-08-26 12:15:34 -07:00
Dave Johnson
fb2b8345d1
One last fix for a merge problem
2010-08-26 12:10:05 -07:00
Bryce Curtis
c9a579af8c
Change resume and pause to use same event mechanism used by deviceready.
2010-08-26 10:39:02 -05:00
filmaj
92b838e07a
Was there a reason we had some code duplication?
2010-08-25 22:44:56 -07:00
filmaj
f0cd97de72
Don`t hardcode the android sdk path in the build script before you push (im looking at you Dave)
2010-08-25 22:38:37 -07:00
filmaj
764c9191b7
Merged in latest.
2010-08-25 22:32:31 -07:00
Dave Johnson
fbcaf15353
Fix for merge problem. Tests passing again
2010-08-25 20:37:25 -07:00
Dave Johnson
4eec4c0801
updategap
2010-08-25 16:26:26 -07:00
Dave Johnson
b01668d262
Fix for a merge problem
2010-08-25 15:12:23 -07:00
Dave Johnson
ae800455b1
no more silly json strings in there
2010-08-24 18:59:05 -07:00
Dave Johnson
56f0e8e087
undo the splash screen for now
2010-08-24 18:59:05 -07:00
Dave Johnson
8ca1804de9
the plugins were executing on the UI thread. now on background thread. calls to loadUrl are now automatically on the ui thread
2010-08-24 18:58:41 -07:00
Dave Johnson
0c52ed44a0
changed FileUtils to public for testing purposes. added updategap that can updated a project with the latest phonegap jar and js
2010-08-24 18:58:40 -07:00
Dave Johnson
bb5a628a28
no longer copy preview.xml - preview.xml is never used for anything so removed from it
2010-08-24 18:58:16 -07:00
Dave Johnson
49de553ee8
refactored the Command stuff a bit more, added a spashscreen
2010-08-24 18:58:16 -07:00
Dave Johnson
1af469c8b1
check if file exists or not
2010-08-24 18:57:21 -07:00
Dave Johnson
2b2b4f5dd4
javascript and native side of a URL caching plugin + android plugin framework is complete
2010-08-24 18:57:21 -07:00
Dave Johnson
742910f369
added onNativeReady and onDOMContentLoaded events
2010-08-24 18:56:09 -07:00
Dave Johnson
3365dba870
fixed up things so that deviceready now uses DOMContentLoaded and if DCL fires before something is attached to deviceready the function will be called immediately
2010-08-24 18:51:58 -07:00
filmaj
ac0ba41ccf
Merged in bryce`s latest.
2010-08-24 15:01:58 -07:00
filmaj
745aa7201c
For some reason have to check typeof?
2010-08-24 14:59:02 -07:00
Bryce Curtis
ea8dc73525
Don't need to fire native ready event during constructor. It gets fired when page has been loaded.
2010-08-24 15:03:38 -05:00
filmaj
8683667041
Semi-colon + new-line addition otherwise built phonegap.js is bad :(
2010-08-24 11:34:32 -07:00
filmaj
24869b637d
Merge branch 'master' of http://github.com/thedeftone/phonegap-android
2010-08-24 11:26:00 -07:00
Bryce Curtis
13679fe00d
Make sure JavaScript PhoneGap code is initialized and deviceready is fired for a new HTML page loaded from link in initial index.html.
2010-08-24 13:19:22 -05:00
Dave Johnson
9f1730ae47
Add back JSCallback to deviceready event
2010-08-23 17:14:08 -07:00
Dave Johnson
5e46fad0e9
utils for checking lint
2010-08-23 17:00:03 -07:00
Dave Johnson
e0d1414c4a
tweaks to PhoneGap.Channel
2010-08-23 17:00:03 -07:00
Dave Johnson
8e5de2cb7b
added onNativeReady and onDOMContentLoaded events
2010-08-23 17:00:02 -07:00
Dave Johnson
ca01781766
undoing a test change to droidgap
2010-08-23 16:58:21 -07:00
Dave Johnson
f7a4a0aef8
fixed up things so that deviceready now uses DOMContentLoaded and if DCL fires before something is attached to deviceready the function will be called immediately
2010-08-23 16:58:21 -07:00
Jan Monschke
27ff3068f5
changed back button behavior to use the native way to test if a webview can go back
2010-08-23 15:35:56 +02:00
Bryce Curtis
27c4de6aa0
Change compass listener and optimize accelerometer listener.
2010-08-20 10:59:45 -05:00
Bryce Curtis
e5bbbbe35c
Add onpause & onresume events to javascript.
2010-08-19 15:41:06 -05:00
Bryce Curtis
b4d3a10773
Change loadUrl(javascript...) to use new callback mechanism.
2010-08-19 14:37:49 -05:00
Bryce Curtis
1850d2c04e
Add callback server class.
2010-08-19 13:35:31 -05:00
Bryce Curtis
5bdad8c0ca
Add XHR-based callbacks from Java to JavaScript.
2010-08-18 13:12:53 -05:00
Bryce Curtis
4b3255e4fd
Accelerometer updates:
...
- Removed thread delay to get accelerometer values.
- Override Activity lifecycle methods to manage JavaScript timers and enable window.onunload to be called. This is needed for accelerometer to shut down correctly.
2010-08-12 10:51:12 -05:00
Bryce Curtis
d5646584ee
Change accelerometer to use JavaScript setInterval for watch.
2010-08-11 13:47:50 -05:00
Joe Bowser
f15555ee34
Calling the Quota method over and over is bad, use the estimated size
2010-08-06 13:59:28 -07:00
Joe Bowser
b18657cf72
Fixing Java to match callback
2010-08-04 12:43:17 -07:00
Joe Bowser
32b68f568b
Adding the new keyword again
2010-08-04 12:38:19 -07:00
Joe Bowser
4e02179bf8
Merge branch 'master' of git://github.com/davejohnson/phonegap-android
2010-07-18 20:44:57 -07:00
Joe Bowser
853dc0d8aa
Removed console.log in accel
2010-07-16 09:41:47 -07:00
Joe Bowser
4d5d8d253b
Merge branch 'master' of git@github.com:bowserj/phonegap-android
2010-07-15 17:00:10 -07:00
Dave Johnson
ab4ca5ec8b
changed 'deviceReady' to 'deviceready' in index.html. fixed up the file utils a bit so that they sort of work.
2010-07-15 16:59:11 -07:00
Jan Monschke
9ff45f70e2
this should fix the windows encoding bug described here: http://phonegap.lighthouseapp.com/projects/20118-android/tickets/23
2010-07-15 16:59:11 -07:00
Dave Johnson
3cba58ce57
Beep does not crash your app if there is no notification sound
2010-07-15 16:59:11 -07:00
Dave Johnson
8e7ce8780e
undoing those changes for target on joes' recommendation
2010-07-15 16:59:11 -07:00
Dave Johnson
707738c3ee
added target to the droidgap script and updated the readme and getting started wiki page
2010-07-15 16:59:11 -07:00
Joe Bowser
e3b32e7679
Setting the Geolocation to be only initalized on Android 1.x
2010-07-15 16:58:38 -07:00
Joe Bowser
ea1184cdd3
Fixed up geolocation to use the native geolocation when available
2010-07-15 16:55:00 -07:00
Dave Johnson
89dd0396fe
changed gotAccel to gotCurrentAcceleration since that is what is called from getCurrentAcceleration
2010-07-12 14:44:34 -07:00
Dave Johnson
8c0cb5716d
Merge remote branch 'phonegap/master'
2010-07-12 14:43:13 -07:00
Dave Johnson
6d60a2b012
fixed bug with accelerometer z value not being set #36
2010-07-12 14:08:09 -07:00
Joe Bowser
7304741164
Merge branch 'master' of git://github.com/thedeftone/phonegap-android
2010-07-08 17:19:50 -07:00
Dave Johnson
d2048a7c5a
changed 'deviceReady' to 'deviceready' in index.html. fixed up the file utils a bit so that they sort of work.
2010-07-08 15:51:18 -07:00
Jan Monschke
ac952b25bb
this should fix the windows encoding bug described here: http://phonegap.lighthouseapp.com/projects/20118-android/tickets/23
2010-07-09 00:13:55 +02:00
Dave Johnson
d6e79f158f
Beep does not crash your app if there is no notification sound
2010-07-07 15:54:33 -07:00
Joe Bowser
9bf83337c9
Switching to native
2010-07-07 15:18:14 -07:00
Dave Johnson
36bd034ee5
Merge branch 'master' of git://github.com/phonegap/phonegap-android
2010-07-07 15:03:38 -07:00
Joe Bowser
dc58c67883
Merge branch 'master' of git@github.com:phonegap/phonegap-android
2010-07-06 13:37:44 -07:00
Joe Bowser
88eef5df66
Not in line with HTML5 spec, editing
2010-07-06 13:37:19 -07:00
Joe Bowser
c75e66a2fc
Removing the GapViewClient handler, since it breaks PhoneGap, reverting. Rather have every other URI working except for sms:
2010-07-06 11:43:25 -07:00
alunny
4e31d4af63
browserkey fix
2010-06-30 15:23:26 -07:00
Dave Johnson
5972147e36
undoing those changes for target on joes' recommendation
2010-06-28 16:19:54 -07:00
Dave Johnson
8ec0de457f
added target to the droidgap script and updated the readme and getting started wiki page
2010-06-28 16:02:10 -07:00
Joe Bowser
310766180f
Forgot to add mailto to the activities launched by intent
2010-06-25 14:31:47 -07:00
Joe Bowser
db9d603881
Fixing equals. However, perhaps object equivalence is better, because it will be the same object if we attempt to go back and fail, where as we can go back and forth numerous times in a web history
2010-06-15 10:43:28 -07:00
Joe Bowser
e5f03b6aed
Fixing compass so it actually works
2010-06-11 14:19:37 -07:00
Joe Bowser
bde54704d3
fixing the merge
2010-06-09 10:26:06 -07:00
Joe Bowser
d20abc9aad
framework/assets/js/media.js
2010-06-09 10:24:35 -07:00
Joe Bowser
945c0d95e6
Removed PhoneGap.java, renaming to device and audio
2010-06-09 10:24:35 -07:00
Joe Bowser
bb501de22c
Hacking together a work-around for the default back behaviour
2010-06-09 10:24:35 -07:00
Joe Bowser
bab03882e1
framework/assets/js/media.js
2010-06-08 16:36:07 -07:00
Joe Bowser
7ad30dfc63
Removed PhoneGap.java, renaming to device and audio
2010-06-08 16:30:20 -07:00
Joe Bowser
4c5f820316
Hacking together a work-around for the default back behaviour
2010-06-08 15:55:57 -07:00
Joe Bowser
b65a0b1bd6
Fixing quality bug in Camera
2010-06-04 15:21:57 -07:00
Joe Bowser
8f18dae2c1
Changed to use the Camera Intents to our own peril.
2010-06-04 14:54:16 -07:00
Joe Bowser
653190c6a1
Switching around attributes so they are similar
2010-06-04 13:32:00 -07:00