Open damonkohler opened 9 years ago
From @GoogleCodeExporter on May 31, 2015 11:27
Code in those links is as follows:-
WebSettings settings = myWebView.getSettings();
settings.setJavaScriptEnabled(true);
settings.setDatabaseEnabled(true);
String databasePath = this.getApplicationContext().getDir("database",
Context.MODE_PRIVATE).getPath();
settings.setDatabasePath(databasePath);
myWebView.setWebChromeClient(new WebChromeClient() {
@Override
public void onExceededDatabaseQuota(String url, String databaseIdentifier, long currentQuota, long estimatedSize,
long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {
quotaUpdater.updateQuota(estimatedSize * 2);
}
});
Original comment by sihor...@gmail.com
on 10 Sep 2010 at 11:48
From @GoogleCodeExporter on May 31, 2015 11:27
Do you have any solutions for the webview/webchromeclient ?
Original comment by morri...@gmail.com
on 15 May 2012 at 8:33
From @GoogleCodeExporter on May 31, 2015 11:27
Hi,
I tried out the code above but i am experiencing an error "webstorage cannot be
resolved to a type".
please help.
Original comment by ronjylpe...@gmail.com
on 24 Oct 2013 at 2:49
From @GoogleCodeExporter on May 31, 2015 11:27
Original issue reported on code.google.com by
sihor...@gmail.com
on 10 Sep 2010 at 11:46Attachments:
Copied from original issue: damonkohler/android-scripting#425