Commit Graph

143 Commits

Author SHA1 Message Date
Bryce Curtis 53fca124ab Modify camera capture to use async plugin. Use option instead of method to specify capture type (base64 or file). 2010-09-10 14:45:32 -05:00
Bryce Curtis d72c77d6f3 Modify network queries to use async plugin. 2010-09-10 14:20:34 -05:00
Bryce Curtis 0a7762743e Optimize accelerometer to use new PluginManager. 2010-09-10 13:44:45 -05:00
Bryce Curtis 863807a7a5 Add position callback and do some optimization of audio player. 2010-09-10 11:38:23 -05:00
Bryce Curtis a13b8fc124 Implement ReturnValue() for each plugin. 2010-09-10 11:34:06 -05:00
Bryce Curtis 2b015164f4 Add hasReturnValue() so that PluginManager can make decision to run an action sync or async. 2010-09-10 11:32:18 -05:00
Bryce Curtis a21080fb76 Add services supported and their class names. 2010-09-10 11:31:22 -05:00
Bryce Curtis cda0319be3 Refer to services instead of class names, which don't translate across devices. 2010-09-10 11:30:32 -05:00
Bryce Curtis 7f3cf4a884 Remove unused module classes. 2010-09-09 11:04:29 -05:00
Bryce Curtis 2d2adf29fd Cleanup plugin code. 2010-09-09 11:04:04 -05:00
Bryce Curtis 1fa41df3f1 Cleanup code and add comments. 2010-09-09 11:01:56 -05:00
Bryce Curtis 77801de1ae Cleanup accelerometer code. 2010-09-09 11:00:45 -05:00
Bryce Curtis 3c9bae3402 Optimize accelerometer for plugin manager. 2010-09-08 17:09:22 -05:00
Bryce Curtis 4f360c2680 Change commands to plugins. 2010-09-07 13:59:54 -05:00
Bryce Curtis 9e931cc3f6 Change to use Commands and CommandManager. 2010-09-07 10:39:55 -05:00
Bryce Curtis 5c24abcafd Alert dialog only has OK button. Add confirm dialog with OK and CANCEL. 2010-09-07 10:33:08 -05:00
Bryce Curtis 40997b4cb8 Update classes to use module, and make constructors consistent. 2010-09-03 17:24:55 -05:00
Bryce Curtis 5d83a44ec3 Set default camera image to base64. Add comments. 2010-09-03 16:00:21 -05:00
Bryce Curtis d39781f3fb Start CameraLauncher using module. 2010-09-03 14:27:06 -05:00
Bryce Curtis 75636f7f00 Add modules that can be started without changing DroidGap.java. 2010-09-03 14:14:28 -05:00
Bryce Curtis f77e51290b Add automatic handling of onActivityResult, so modules that start activities with result callback can do so without modifying DroidGap.java. 2010-09-03 14:01:24 -05:00
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