Commit Graph

50 Commits

Author SHA1 Message Date
Dave Johnson 742910f369 added onNativeReady and onDOMContentLoaded events 2010-08-24 18:56:09 -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
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 8e5de2cb7b added onNativeReady and onDOMContentLoaded events 2010-08-23 17:00:02 -07: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 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
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 e3b32e7679 Setting the Geolocation to be only initalized on Android 1.x 2010-07-15 16:58:38 -07:00
Joe Bowser 9bf83337c9 Switching to native 2010-07-07 15:18:14 -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
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 bde54704d3 fixing the merge 2010-06-09 10:26:06 -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 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
Joe Bowser cd5788c3ce Merge branch 'master' of git@github.com:phonegap/phonegap-android into accel_hack 2010-05-31 11:37:41 -07:00
Igor Anic 7506548ae2 little better database quota management, increse db size in steps of 1Mb
(cherry picked from commit f5cd1fe73d6cd24ad48b36def86ead5a1f5141ea)
2010-05-14 16:24:19 -07:00
Igor Anic dfe0b6ff27 console.log for api level 7
(cherry picked from commit a2b08f305b33de38c1ffa93f2a13ed4636482bc1)
2010-05-14 16:23:32 -07:00
Joe Bowser 64671184a6 Initial Commit - Fixing Accelerometer 2010-04-28 15:46:15 -07:00
Joe Bowser 36e90c9e22 Adding sms:// to DroidGap, not quite working, since it doesn't pre-populate the number 2010-04-26 10:44:13 -07:00
Joe Bowser 2f6a9e18d0 Adding a WebViewClient with verbose checking 2010-04-23 16:18:11 -07:00
Joe Bowser ceabaf1e37 Fixing the WebViewClient so we view pages in PhoneGap 2010-04-23 15:08:15 -07:00
filmaj 020178e40b Merged Joe`s turning off of native geolocation in WebView. 2010-03-31 14:02:08 -07:00
Joe Bowser 72fd058b9e Turning off the Native WebKit Geolcation 2010-03-29 16:56:07 -07:00
filmaj 887ab4a28b Added explicit disabling of native Geolocation object in the web client, added a fallback measure to JavaScript geolocation PhoneGap constructor so that it builds/proxies the the instantiated Geo objects properly if it still does exist. 2010-03-23 16:37:30 -07:00
Brock Whitten c750109bd7 Fixes to make it work with the cancer that is Android 1.5 2010-03-03 17:07:15 -08:00
Brock Whitten 6b269b85d2 Adding 2.1 DOM Storage 2010-03-02 11:14:20 -08:00
Brock Whitten 1d4a67cdad Adding console.log capability to PhoneGap 2010-02-26 11:25:28 -08:00
Brock Whitten cb90852dfc Adding Built-In Crypto Library 2010-02-24 16:18:35 -08:00
Joe Bowser d81f53465f Fixing the 1.5 Storage. Got inheritance wrong in this case 2010-01-04 11:53:26 -08:00
Joe Bowser de5b3e2c0f Adding menu event and buttons 2009-12-17 13:21:13 -08:00
Joe Bowser 9a53dd7683 Added button bindings 2009-12-16 12:50:08 -08:00
Joe Bowser 17bcda6c10 Fixing up Geolocation and Alerts 2009-12-16 11:09:32 -08:00
Joe Bowser b0a69f5cc5 Adding Cupcake Storage 2009-12-08 14:08:48 -08:00
Joe Bowser 4bd73fc38e Removed Scrollbar 2009-12-03 10:47:41 -08:00
Joe Bowser 2c11550b30 Fixing the build process, found Android 2.0 bugs 2009-11-30 15:41:24 -08:00
Joe Bowser 34ab64655d Experiments with 2.0 and backwards compatibility 2009-11-25 17:25:16 -08:00
Joe Bowser 706fbdf1f4 Fixing getter 2009-11-25 15:06:47 -08:00
Joe Bowser 05e1343cb0 Getter for the webview 2009-11-25 13:27:57 -08:00
Joe Bowser 16dcbfbbfa Got the jar working finally 2009-11-24 16:51:23 -08:00
Joe Bowser 805c43484a Wiring up CompassHook 2009-11-18 14:07:35 -08:00
Joe Bowser d012235bc2 Initial Move of the Javascript OUT of the shared directory: Android 2009-11-17 10:38:49 -08:00