Commit Graph

122 Commits

Author SHA1 Message Date
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
Bryce Curtis 90b708fe83 Update audio playback and recording. 2010-08-31 15:39:37 -05:00
Bryce Curtis 86d6053d2d Don't need to manage resume/pause state - the OS does it. 2010-08-27 09:31:57 -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 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 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 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
filmaj ac0ba41ccf Merged in bryce`s latest. 2010-08-24 15:01:58 -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 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 8e5de2cb7b added onNativeReady and onDOMContentLoaded events 2010-08-23 17:00:02 -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
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
Joe Bowser e3b32e7679 Setting the Geolocation to be only initalized on Android 1.x 2010-07-15 16:58:38 -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
Joe Bowser 9bf83337c9 Switching to native 2010-07-07 15:18:14 -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
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