A recent small project needs to be webview. Although only a simple Web page, but because the previous use is only to display local files, not display Web page files. Now need to display Web page files, found that many sites webapp do a good job, whether it is the display or the user experience is very good (usually the Internet with UC's provincial traffic function can not be seen).
But although very useful, but found that some of the Web page even links are not open. If it is an individual niche Web page, this is 360 search home Ah, to say that others big company's static write compatibility problem is not justified, so you can only find the problem. The most likely thing is that part of the HTML5 feature is not turned on, because the HTML5 attribute is turned off by default when used in the past.
Then ask for the degree Niang, a few minutes will be done, hehe.
You need to set the following code:
WebSettings ws=wv_web_query.getsettings (); ws.setappcacheenabled (true); // enable Localstorage local storage APIws.setlighttouchenabled (true); // enable the check feature ws.setdomstorageenabled (true); // Enable DOM Storage (the key is this), seemingly online Twitter shows a problem is also the reason why this property is not set ws.setdatabaseenabled (true)// Enable the HTML5 database feature