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