Very minor changes to the core classes

This commit is contained in:
Joe Bowser
2009-11-02 10:06:23 -08:00
parent 11794f58aa
commit 24d7521f8c
2 changed files with 8 additions and 5 deletions
+6 -3
View File
@@ -61,10 +61,11 @@ public class DroidGap extends Activity {
/* This changes the setWebChromeClient to log alerts to LogCat! Important for Javascript Debugging */
appView.setWebChromeClient(new GapClient(this));
appView.setWebChromeClient(new GapClient(this));
appView.getSettings().setJavaScriptEnabled(true);
appView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
appView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
/* Bind the appView object to the gap class methods */
bindBrowser(appView);
@@ -131,6 +132,8 @@ public class DroidGap extends Activity {
result.confirm();
return true;
}
}