added new developer options (fix for #219)

This commit is contained in:
Philipp Schaefer
2013-05-03 01:02:08 +02:00
parent 039167051e
commit aa7de6f571
7 changed files with 71 additions and 20 deletions

View File

@ -23,6 +23,8 @@ public class IITC_WebView extends WebView {
settings.setAllowFileAccess(true);
settings.setGeolocationEnabled(true);
settings.setDatabasePath(this.getContext().getApplicationInfo().dataDir + "/databases/");
settings.setAppCachePath(this.getContext().getApplicationInfo().dataDir + "/cache/");
settings.setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
this.js_interface = new IITC_JSInterface(c);
this.addJavascriptInterface(js_interface, "android");