Commit Graph

317 Commits

Author SHA1 Message Date
Joe Bowser cdf148bb58 Starting Release Process 2012-04-09 17:11:13 -07:00
macdonst e213772f98 Updating cordova.android.js for CB-421 and CB-426 2012-04-03 13:09:31 -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
Fil Maj 993fb296d6 updating network status plugin label and updating cordova-js to latest 2012-03-28 13:47:45 -07:00
macdonst 1e2c38598f CB-383: Fixes issue with misspelled destinationType for Camera.getPicture() 2012-03-24 14:09:57 -04: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
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 a69bd65152 Updating cordova.android.js to override FileReader 2012-03-01 15:57:21 -05: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
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
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
macdonst e918ffd751 Tagging 1.5.0rc1 2012-02-25 00:28:06 -05:00
macdonst 8555c42196 CB-3: Apache source headers in callback-android 2012-02-23 11:36:08 -05:00
Bryce Curtis 26044ad662 Add cordova.android.js from common-js build. 2012-02-20 11:04:37 -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
macdonst d8d7c29afe Adding com.phonegap.api stubs for legacy user created plugins 2012-02-06 10:04:02 -05:00
macdonst 664a061d10 Rename to Cordova 2012-02-03 10:38:40 -05: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 6e82ec4152 Allow internal SD Card to be used as storage 2012-01-25 16:34:46 -05:00
macdonst 1d5af102c7 Camera default destination should be FILE_URI 2012-01-05 03:29:55 +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 4b9e50146e Tagging to 1.3.0rc1 2011-12-05 11:27:08 -05:00
macdonst 29001eeb3a Merge pull request #42 from aflx/download
added download() to the filetransfer
2011-12-01 08:20:04 -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
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
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
macdonst 5406d6c98f Linting the JS code 2011-11-17 04:38:11 +08:00
Bryce Curtis 0caca9ae55 Remove old code. 2011-11-09 15:46:45 -06: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
Joe Bowser 7244a5a727 Merge branch 'master' of github.com:callback/callback-android 2011-11-02 13:10:50 -07: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 a35a33c05e Adding the Apache Headers 2011-10-27 14:04:39 -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
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