Share Coding

Tutorials, Problems, Stuffs …

Android WebView Problem: Storage is null

04-27 17:00:16.817: E/Web Console(12888): Uncaught java.lang.NullPointerException: Storage is null at https://example.com/2B75F33F88F4BB82756D173AAFF247A9.cache.html:1344

webView1.getSettings().setDomStorageEnabled(true);
webView1.setWebChromeClient(mWebChromeClient);

private WebChromeClient mWebChromeClient = new WebChromeClient() {
	@Override
	public void onExceededDatabaseQuota(String url, String
		databaseIdentifier, long currentQuota, long estimatedSize, long
		totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {
		quotaUpdater.updateQuota(estimatedSize * 2);
	}
};
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: