set databasepath of IITC_WebView...fixes amnesia
This commit is contained in:
@ -22,6 +22,7 @@ public class IITC_WebView extends WebView {
|
|||||||
settings.setDomStorageEnabled(true);
|
settings.setDomStorageEnabled(true);
|
||||||
settings.setAllowFileAccess(true);
|
settings.setAllowFileAccess(true);
|
||||||
settings.setGeolocationEnabled(true);
|
settings.setGeolocationEnabled(true);
|
||||||
|
settings.setDatabasePath(this.getContext().getApplicationInfo().dataDir + "/databases/");
|
||||||
this.js_interface = new IITC_JSInterface(c);
|
this.js_interface = new IITC_JSInterface(c);
|
||||||
this.addJavascriptInterface(js_interface, "android");
|
this.addJavascriptInterface(js_interface, "android");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user