Commit Graph

466 Commits

Author SHA1 Message Date
Dave Johnson
cf7a4f0fb6 Add more windows compatibility. run does not actually put the app on the simulator though 2010-08-31 13:21:23 -07:00
Dave Johnson
86a7a0d9e3 Add windows build scripts 2010-08-31 13:08:07 -07:00
brianleroux
a5323d77f5 updated readme 2010-08-30 16:02:47 -07:00
brianleroux
190cec7730 removed frameowrk bs 2010-08-30 15:58:47 -07:00
brianleroux
be7f0a2496 whoops 2010-08-30 15:58:11 -07:00
brianleroux
06779773dd reworking in new droidgap lite 2010-08-30 15:57:07 -07:00
brianleroux
2384714138 unused example is unused 2010-08-30 12:02:21 -07:00
macdonst
91f1f475e9 fixing error in if statement 2010-08-30 22:56:24 +08:00
macdonst
b1af7d8739 Adding altituteAccuracy into Coordinates object 2010-08-30 22:56:24 +08:00
Bryce Curtis
86d6053d2d Don't need to manage resume/pause state - the OS does it. 2010-08-27 09:31:57 -05:00
Bryce Curtis
c6280edbed Set type of channel. 2010-08-27 09:28:49 -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
92b838e07a Was there a reason we had some code duplication? 2010-08-25 22:44:56 -07:00
filmaj
f0cd97de72 Don`t hardcode the android sdk path in the build script before you push (im looking at you Dave) 2010-08-25 22:38:37 -07: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
4eec4c0801 updategap 2010-08-25 16:26:26 -07:00
Dave Johnson
b01668d262 Fix for a merge problem 2010-08-25 15:12:23 -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
bb5a628a28 no longer copy preview.xml - preview.xml is never used for anything so removed from it 2010-08-24 18:58:16 -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
Dave Johnson
3365dba870 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-24 18:51:58 -07:00
filmaj
ac0ba41ccf Merged in bryce`s latest. 2010-08-24 15:01:58 -07:00
filmaj
745aa7201c For some reason have to check typeof? 2010-08-24 14:59:02 -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
8683667041 Semi-colon + new-line addition otherwise built phonegap.js is bad :( 2010-08-24 11:34:32 -07: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
9f1730ae47 Add back JSCallback to deviceready event 2010-08-23 17:14:08 -07:00
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