Commit Graph

629 Commits

Author SHA1 Message Date
Dave Johnson
5e46fad0e9 utils for checking lint 2010-08-23 17:00:03 -07:00
Dave Johnson
e0d1414c4a tweaks to PhoneGap.Channel 2010-08-23 17:00:03 -07:00
Dave Johnson
8e5de2cb7b added onNativeReady and onDOMContentLoaded events 2010-08-23 17:00:02 -07:00
Dave Johnson
ca01781766 undoing a test change to droidgap 2010-08-23 16:58:21 -07:00
Dave Johnson
f7a4a0aef8 fixed up things so that deviceready now uses DOMContentLoaded and if DCL fires before something is attached to deviceready the function will be called immediately 2010-08-23 16:58:21 -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
Joe Bowser
32b68f568b Adding the new keyword again 2010-08-04 12:38:19 -07:00
Joe Bowser
4e02179bf8 Merge branch 'master' of git://github.com/davejohnson/phonegap-android 2010-07-18 20:44:57 -07:00
Joe Bowser
853dc0d8aa Removed console.log in accel 2010-07-16 09:41:47 -07:00
Joe Bowser
4d5d8d253b Merge branch 'master' of git@github.com:bowserj/phonegap-android 2010-07-15 17:00:10 -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
Dave Johnson
8e7ce8780e undoing those changes for target on joes' recommendation 2010-07-15 16:59:11 -07:00
Dave Johnson
707738c3ee added target to the droidgap script and updated the readme and getting started wiki page 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
Joe Bowser
ea1184cdd3 Fixed up geolocation to use the native geolocation when available 2010-07-15 16:55:00 -07:00
Dave Johnson
89dd0396fe changed gotAccel to gotCurrentAcceleration since that is what is called from getCurrentAcceleration 2010-07-12 14:44:34 -07:00
Dave Johnson
8c0cb5716d Merge remote branch 'phonegap/master' 2010-07-12 14:43:13 -07:00
Dave Johnson
6d60a2b012 fixed bug with accelerometer z value not being set #36 2010-07-12 14:08:09 -07:00
Joe Bowser
7304741164 Merge branch 'master' of git://github.com/thedeftone/phonegap-android 2010-07-08 17:19:50 -07:00
Dave Johnson
d2048a7c5a changed 'deviceReady' to 'deviceready' in index.html. fixed up the file utils a bit so that they sort of work. 2010-07-08 15:51:18 -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
Dave Johnson
d6e79f158f Beep does not crash your app if there is no notification sound 2010-07-07 15:54:33 -07:00
Joe Bowser
9bf83337c9 Switching to native 2010-07-07 15:18:14 -07:00
Dave Johnson
36bd034ee5 Merge branch 'master' of git://github.com/phonegap/phonegap-android 2010-07-07 15:03:38 -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
Dave Johnson
5972147e36 undoing those changes for target on joes' recommendation 2010-06-28 16:19:54 -07:00
Dave Johnson
8ec0de457f added target to the droidgap script and updated the readme and getting started wiki page 2010-06-28 16:02:10 -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
e5f03b6aed Fixing compass so it actually works 2010-06-11 14:19:37 -07:00
Joe Bowser
bde54704d3 fixing the merge 2010-06-09 10:26:06 -07:00
Joe Bowser
d20abc9aad framework/assets/js/media.js 2010-06-09 10:24:35 -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
bab03882e1 framework/assets/js/media.js 2010-06-08 16:36:07 -07:00
Joe Bowser
7ad30dfc63 Removed PhoneGap.java, renaming to device and audio 2010-06-08 16:30:20 -07:00