Development of Android solution, WebView does not support the establishment of l

Such as title, which master met... WebView loaded server Webpage, in order to reduce the access pressure, use HTML5 cache technology, local built database var DB =openDatabase (shortName, version, displayName, maxSize);, client version 2.2 in my mobile phone browser can display the page, webView will not change. Please master pointing!!
With a lot of property.. Or not.

wv.setVisibility(View.INVISIBLE);
// wv.getSettings().setJavaScriptEnabled(true); // Whether to support the JavaScript
// wv.setScrollBarStyle(View.SCROLLBARS_OUTSIDE_OVERLAY); // Hide the scroll bar
// wv.getSettings().setDomStorageEnabled(true);//Can be set using the localStorage
//// wv.getSettings().setCacheMode(WebSettings.LOAD_DEFAULT);//Use the default cache
//// wv.getSettings().setAppCacheMaxSize(8*1024*1024);//The cache can be up to 8M
//// wv.getSettings().setAllowFileAccess(true);//You can read the file cache (manifest effect)
//// wv.getSettings().setPluginsEnabled(true);
//// wv.getSettings().setAppCacheEnabled(false);//The application can cache
// wv.getSettings().setDatabaseEnabled(true);
//// wv.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
//// wv.getSettings().setAllowFileAccess(true);
//// wv.getSettings().setSaveFormData(true);
// wv.getSettings().setDatabasePath("/data/data/com.monetware.mep.mcoa/databases/");

wv.getSettings().setJavaScriptEnabled(true);
//Settings can be accessed files
wv.getSettings().setAllowFileAccess(true);
//Scaling support setting
wv.getSettings().setBuiltInZoomControls(true);
wv.getSettings().setDatabaseEnabled(true);
String dir = this.getApplicationContext().getDir("database", Context.MODE_PRIVATE).getPath();
wv.getSettings().setDatabasePath(dir);
//The use of localStorage must be open
wv.getSettings().setDomStorageEnabled(true);
wv.getSettings().setGeolocationEnabled(true);

For help, solve, asked several forum, no one will not feel this, engage in the development of the Android ah, there will be a? O, O eclipse project code

Started by Rick at December 04, 2016 - 4:40 PM

I have resolved, node, than be dependent on others

Posted by Rick at December 15, 2016 - 4:57 PM

How to solve ah! You can share it?

Posted by Ann at December 22, 2016 - 5:28 PM

I want to know, the announce the answer.

Posted by Alina at December 26, 2016 - 5:51 PM

Your sister solves announced ha answers.

Posted by Bartley at January 07, 2017 - 6:16 PM

public override void OnExceededDatabaseQuota(string url, string databaseIdentifier, long currentQuota, long estimatedSize, long totalUsedQuota, WebStorage.IQuotaUpdater quotaUpdater)
{
quotaUpdater.UpdateQuota(estimatedSize * 2);
}
Rewrite this method is good

Posted by Bartley at January 12, 2017 - 6:37 PM