Commit Graph

105 Commits

Author SHA1 Message Date
Bryce Curtis e3ebfea064 Improve handling of timeout error when loading URL, and enable WebViewClient to be overridden by app, so developer can intercept webview events. 2010-11-21 16:42:00 -06:00
Bryce Curtis 0e08af98ca Better way to handle splash screen when back button pressed. 2010-11-15 16:32:55 -06:00
Bryce Curtis b8b1ad8421 Add property that lets a PhoneGap app continue to run when another Android app or activity is started. 2010-11-14 17:33:06 -06:00
Bryce Curtis 4fa1f40b44 Add load URL capability, and enable an HTML file to be used as a splash screen. 2010-11-12 22:38:27 -06:00
Bryce Curtis 9798de7efa Remove unused and unneeded getPort() method. 2010-11-12 12:53:34 -06:00
Bryce Curtis 102745875c Allow user to set the loading dialog message. Change default from show to not shown. 2010-11-11 22:24:20 -06:00
Bryce Curtis 4f1bc1401f Add delay so splash screen can be shown for a specific amount of time. 2010-11-11 21:56:56 -06:00
Bryce Curtis 28ff6e1150 Merged code for bryfox: Re-add support for search & menu key triggers.
See original commit: https://github.com/bryfox/phonegap-android/commit/799515fa7b8b5ccc94487e519f520929104ade2c
2010-11-11 16:20:32 -06:00
Bryce Curtis 5ffe5fa3c5 Merged code for imhotep: Cleaner way for handling splashscreens.
See original commit: https://github.com/imhotep/phonegap-android/commit/1761cbb3dca603dbca1925fa277bba4dce3ec75c
2010-11-11 15:59:35 -06:00
Bryce Curtis 49341356d7 Add comments to onKeyDown() method. 2010-11-11 14:08:55 -06:00
Bryce Curtis e8b85f6cf7 Fix formatting and rearrange method order. 2010-11-11 14:00:56 -06:00
Bryce Curtis 4b2398b487 Add properties to DroidGap that can be set when the intent/activity is called. This enables the developer to show app loading dialog, splashscreen, or set other properties. 2010-11-11 11:34:12 -06:00
Bryce Curtis 10f3313ed5 Use polling if PhoneGap app is loaded from server, since XHR doesn't work to localhost due to cross-domain security policy. 2010-11-10 14:19:17 -06:00
Bryce Curtis 0b3e27b3fa Load url into DroidGap if it was passed in to intent. 2010-11-05 14:50:48 -05:00
Bryce Curtis b66535a17d Introduce PhonegapActivity class to separate plugin development from base Phonegap. 2010-11-06 03:10:28 +08:00
Matt Kane 2bb67ee4b0 Change use "geo:" instead of WebView.SCHEME_GEO
The constant is "geo:0,0?q=", which means it doesn't match urls that specify the coordinates. The gmap app can handle these though, so we can pass any geo: url to it.
2010-11-01 05:50:55 +08:00
Bryce Curtis de23753204 Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008). 2010-10-18 15:31:16 -05:00
Bryce Curtis 032db387f8 Fix database for Android 1.x devices. It now behaves like HTML5 database API. 2010-10-12 15:53:57 -05:00
Bryce Curtis 50ab0e0834 Add confirm, start/stopActivity, start/stopProgress to notification service. Add "application loading" spinner that user can optionally show when app is starting. 2010-10-08 09:18:10 -05:00
Bryce Curtis 23b02e7267 Change initialization of Storage for 1.x devices to use service call. 2010-10-06 12:56:34 -05:00
Bryce Curtis 68146329b9 Add IPlugin interface and change Plugin to be abstract class. Plugins can either implement IPlugin or extend Plugin. 2010-10-06 12:56:34 -05:00
Bryce Curtis f85f4e6b69 Update notification service to implement plugin class. 2010-09-29 11:10:08 -05:00
Bryce Curtis edfa41c9f9 Update geolocation to follow W3C spec, add comments, add error checking. 2010-09-22 14:47:52 -05:00
Bryce Curtis 00dc18a488 Convert FileUtils to plugin architecture. 2010-09-17 15:41:48 -05:00
Bryce Curtis 92d2b5812c Change camera to be more consistent with iPhone and BB widgets. Add support to choose image from library instead of only camera. 2010-09-16 11:31:42 -05:00
Bryce Curtis 705b8f6874 Change Device JS object to include only platform, uuid, version, and phonegap properties as defined in API, and modify Device Java class to implement plugin interface. 2010-09-15 14:27:46 -05:00
Bryce Curtis a21080fb76 Add services supported and their class names. 2010-09-10 11:31:22 -05:00
Bryce Curtis 1fa41df3f1 Cleanup code and add comments. 2010-09-09 11:01:56 -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 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