Getting ready for release of Camera

This commit is contained in:
Joe Bowser 2009-07-31 14:16:02 -07:00
parent df6eaf4f9d
commit 98fff2d5f2
2 changed files with 927 additions and 561 deletions

File diff suppressed because it is too large Load Diff

View File

@ -64,9 +64,6 @@ public class DroidGap extends Activity {
appView.getSettings().setJavaScriptEnabled(true);
appView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
launcher = new CameraLauncher(appView, this);
/* Bind the appView object to the gap class methods */
bindBrowser(appView);
@ -96,10 +93,10 @@ public class DroidGap extends Activity {
private void bindBrowser(WebView appView)
{
// The PhoneGap class handles the Notification and Android Specific crap
gap = new PhoneGap(this, appView);
geo = new GeoBroker(appView, this);
accel = new AccelListener(this, appView);
launcher = new CameraLauncher(appView, this);
// This creates the new javascript interfaces for PhoneGap
appView.addJavascriptInterface(gap, "Device");
appView.addJavascriptInterface(geo, "Geo");