Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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
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
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
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
6d60a2b012 fixed bug with accelerometer z value not being set #36 2010-07-12 14:08:09 -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
Joe Bowser
e5f03b6aed Fixing compass so it actually works 2010-06-11 14:19:37 -07:00
Joe Bowser
d20abc9aad framework/assets/js/media.js 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
e55cef9c14 Fixing accel 2010-06-04 13:25:28 -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
Joe Bowser
a179fbd095 Attempt to fix the HTML 5 storage 2010-05-14 15:49:14 -07:00
Joe Bowser
64671184a6 Initial Commit - Fixing Accelerometer 2010-04-28 15:46:15 -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
Anis
915bf19378 Merge branch 'master' of github.com:imhotep/phonegap-android 2010-03-15 17:44:44 -07:00
Anis
a4cc222a43 fixing some minor js issue 2010-03-15 17:38:46 -07:00
Brock Whitten
f32bb7057e Fixed ridiculous error in Javascript for GeoLocation 2010-03-15 17:01:12 -07:00
Brock Whitten
57a41b7b2f Found syntax error in Geolocation. Probably been lurking here for months 2010-03-15 16:07:14 -07:00
filmaj
bdf01735cd Merging. 2010-03-04 15:11:49 -08:00
Brock Whitten
64574be133 Can't get the disk space until we get the disk space 2010-02-25 11:45:57 -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
2fa78679cb Adding Javascript Interface for Crypto 2010-02-24 16:19:01 -08:00
filmaj
02c750134c Added ARenzi`s Reachability fixes. 2010-02-23 11:07:30 -08:00
filmaj
76a8203176 Fixed small contacts and accelerometer object instantiation bugs. Added a bit more delay to PhoneGap constructor, 1ms caused issues sometimes I *think*. 2010-02-13 18:58:45 -08:00
filmaj
5255f63237 Fixed building of phonegap.js in build script. Fixed GPS on Android 2.0+ - I guess they updated the version of WebKit being used on Android (similar now to how it works on iPhone) and thus the browser has a native navigator.geolocation object. Employed Jesses approach to proxying an objects method since we can`t directly overwrite it. 2010-02-13 17:09:02 -08:00
Brian LeRoux
923c29aa2b cleanup continued 2010-01-26 16:24:35 -08:00
Brian LeRoux
e3dc010b97 reorg of project assets 2010-01-26 13:54:02 -08:00
Joe Bowser
4ea49574a6 Misc. Fixes 2009-11-24 17:36:37 -08:00
Joe Bowser
d012235bc2 Initial Move of the Javascript OUT of the shared directory: Android 2009-11-17 10:38:49 -08:00