Fil Maj
6a628f7f2d
[CB-683] updating JS for fix for 683
2012-05-10 16:43:08 -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
Fil Maj
bafa438ce3
updating JS to latest for geolocation updates
2012-05-07 16:22:01 -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
39f261c6e2
Incrementing project to 1.7.0rc1
2012-04-25 11:49:55 -04:00
Joe Bowser
c341cf0d47
Adding fix for CB-482
2012-04-17 12:20:23 -07:00
Joe Bowser
eb48055acd
Getting setup to tag 1.6.1
2012-04-12 16:37:27 -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
5e1997c8d8
Updating with tagged JS
2012-04-10 13:26:35 -07: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
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
Bryce Curtis
fe3e7041b7
Don't override history.back since jQuery also does it.
2011-10-06 22:21:09 -05:00
macdonst
804ac714ae
Updating version number to 1.1.0
2011-10-01 03:57:06 +08: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
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
macdonst
821eb24a54
Fix for Issue #228 : Align Compass support with iOS
2011-09-28 17:35:50 -04: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
362841008a
fix for Issue #229 : Deprecate FileMgr code in file.js
2011-09-13 16:57:32 -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
Bryce Curtis
8a4737947b
Remove old phonegap.js file.
2011-08-22 09:50:42 -05:00
macdonst
7e2044c5b4
Merge pull request #195 from m00sey/master
...
Expose Volume control
2011-08-17 12:45:09 -07: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
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
ad8086fab5
exposing volume control
2011-08-09 23:18:01 -04:00
macdonst
004453b03f
Upping version to 1.0.0
2011-07-29 12:01:46 +08:00
macdonst
e28458869f
Issue #185 : Fix mis-spelling in file.js
2011-07-29 11:56:29 +08:00
macdonst
39d6952494
Upping version to 1.0.0rc3
2011-07-26 12:30:41 +08: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
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
Joe Bowser
648e56cb67
Merging maxResolution
2011-07-21 13:15:52 -07: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
7afa2d3840
Upping version to 1.0.0rc2
2011-07-19 04:11:17 +08: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
macdonst
4cc3772e84
Issue #151 : Remove minification of phonegap.*.js file
2011-07-12 15:33:46 -04:00
macdonst
24f979394f
Remove deprecated Network.isReachable (use the Network Information API instead)
2011-07-12 23:01:42 +08:00
macdonst
66f7afbed2
Issue #146 : File API - File::writeAsText not in the API, remove
2011-07-12 11:13:24 +08:00
macdonst
1de036a744
Setting version as 1.0.0rc1
2011-07-12 05:25:53 +08: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
macdonst
dd52081deb
Fix for #129 : PhoneGap JS Naming Convention
2011-07-08 14:35:31 -04:00
Bryce Curtis
c98b758e94
Update version to 0.9.6.1
2011-06-30 13:15:30 -05:00
Bryce Curtis
b7156c6803
Bump up version to 0.9.6 for example.
2011-06-30 10:53:23 -05: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
Bryce Curtis
80e66d87a9
Issue 112: PhoneGap.Channel: replace instanceof Function with typeof === 'Function'
2011-06-24 14:06:21 -07:00