Commit Graph

1387 Commits

Author SHA1 Message Date
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
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
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
c1e628f44c Fixing up the accelerometer. Weird issue with where zero is 2010-06-04 11:42:12 -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
a65b578449 adding useful telephony information to Device; sim serial number and some oters
(cherry picked from commit da8c4f4a7539b2e6165d48ad6859f65c3133fc59)
2010-05-14 16:24:30 -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
9c1a1207bb Merge branch 'master' of http://github.com/stevengill/phonegap-android 2010-05-10 16:10:04 -07:00
Steven Gill
4ff406f9df fixed geolocation null bug 2010-05-06 15:43:56 -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
Joe Bowser
827c0ec81f Removing junk Orientation class 2010-03-26 15:34:29 -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
filmaj
f53b4ec109 Merged imhotep`s changes, still need to fix droidgap and the android shell call on Windows vs. other OSes. 2010-03-17 10:50:43 -07:00
Brock Whitten
f32bb7057e Fixed ridiculous error in Javascript for GeoLocation 2010-03-15 17:01:12 -07:00
Brock Whitten
db03ff397f Fixing stuff 2010-03-15 15:32:12 -07:00
filmaj
bdf01735cd Merging. 2010-03-04 15:11:49 -08: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
f93c2badcc Minor change for synchronous write. This seems like a bad idea. 2010-02-25 10:09:58 -08:00
Brock Whitten
9c0259c2c1 Changing File Behaviour to sync with iPhone 2010-02-25 09:46:46 -08:00
Brock Whitten
cb90852dfc Adding Built-In Crypto Library 2010-02-24 16:18:35 -08:00
Brock Whitten
693cb4695f Fixed a null error on NetworkManager 2010-02-24 15:43:00 -08:00
ARenzi
c8bfbab522 I am using the inline editor (github) and i forgot a "type =" before info.getTypeName();
:)
ARenzi
2010-02-23 14:51:56 -07:00
filmaj
32e8ecc772 Oops forgot semi-colon. 2010-02-23 11:42:41 -08:00
filmaj
02c750134c Added ARenzi`s Reachability fixes. 2010-02-23 11:07:30 -08:00
Brock Whitten
3d91a98b3a Fixing up StandAlone for debugging purposes 2010-02-16 12:11:43 -08:00
Brock Whitten
c638fbfa69 Fixing nulls 2010-02-16 10:28:07 -08:00
Brock Whitten
e01dfec400 Hacky fix for GeoLocation on the 2.1 Emulator 2010-01-29 16:02:20 -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
9276729be5 Fixing Geolocation so it grabs data from the network faster 2009-12-15 15:16:35 -08:00
Joe Bowser
3898130a30 Fixing null error in NetworkManager 2009-12-15 12:43:03 -08:00
Joe Bowser
5fb6aa77b3 Fixin group storage 2009-12-15 10:38:38 -08:00
Joe Bowser
5ee34b58d7 Fixing up Cupcake Storage 2009-12-08 15:58:07 -08:00
Joe Bowser
b0a69f5cc5 Adding Cupcake Storage 2009-12-08 14:08:48 -08:00
Joe Bowser
f6e2e129b1 Fixing FileUtils 2009-12-07 14:11:35 -08:00
Joe Bowser
573dffb853 Removing loop from File I/O 2009-12-03 17:07:07 -08:00
Joe Bowser
4bd73fc38e Removed Scrollbar 2009-12-03 10:47:41 -08:00
Joe Bowser
2f4dece26f Modified the backend 2009-12-01 14:57:02 -08:00
Joe Bowser
20aed7efe6 Bringing the contacts up to date 2009-12-01 11:55:15 -08:00
Joe Bowser
2c11550b30 Fixing the build process, found Android 2.0 bugs 2009-11-30 15:41:24 -08:00
Joe Bowser
c794756f70 Fixing standalone again 2009-11-30 10:44:20 -08:00
Joe Bowser
e71b5bb477 Fixing up the standalone activity 2009-11-30 10:33:11 -08:00
Joe Bowser
0af30a6e82 Fixed 2009-11-26 11:48:16 -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
c16054637a Fixing merge 2009-11-24 17:39:04 -08:00
Joe Bowser
eb17c6be2f Making constructors public 2009-11-24 17:36:37 -08:00
Joe Bowser
6f9ce7db94 Removing the SMS Listener 2009-11-24 17:36:36 -08:00
Joe Bowser
01ad22d0da Finishing up the Jar 2009-11-24 17:34:35 -08:00
Joe Bowser
16dcbfbbfa Got the jar working finally 2009-11-24 16:51:23 -08:00
Joe Bowser
2176d2e02c Making constructors public 2009-11-23 10:57:05 -08:00
Joe Bowser
ebd2b7ed4f Merge branch 'master' of git@github.com:phonegap/phonegap 2009-11-23 10:46:48 -08:00
Joe Bowser
86907836b2 Removing the SMS Listener 2009-11-20 16:50:15 -08:00
Joe Bowser
5e0f46a682 Removing SMS listening for now 2009-11-20 16:29:18 -08:00
Fil Maj
80c7eab9a7 ContactManager tweaks; null/empty checks to eliminate NullPointerException. 2009-11-19 10:34:49 -08:00
Joe Bowser
0042181154 Fixing up merge and cleaning 2009-11-18 14:08:10 -08:00
Joe Bowser
805c43484a Wiring up CompassHook 2009-11-18 14:07:35 -08:00
Joe Bowser
c570a8e160 Updating the Accelerometer to the latest version of Android 2009-11-18 14:07:34 -08:00
Joe Bowser
d012235bc2 Initial Move of the Javascript OUT of the shared directory: Android 2009-11-17 10:38:49 -08:00