set databasepath of IITC_WebView...fixes amnesia

This commit is contained in:
Philipp Schaefer
2013-04-25 15:01:01 +02:00
parent e3d6b135ce
commit 28dce8a7bb

View File

@ -22,6 +22,7 @@ public class IITC_WebView extends WebView {
settings.setDomStorageEnabled(true);
settings.setAllowFileAccess(true);
settings.setGeolocationEnabled(true);
settings.setDatabasePath(this.getContext().getApplicationInfo().dataDir + "/databases/");
this.js_interface = new IITC_JSInterface(c);
this.addJavascriptInterface(js_interface, "android");