最近项目中使用了HTML5 页面,使用webView加载后发现 超链接的锚点不可以用,最后在stackOverflow中找到了解决办法:
http://stackoverflow.com/questions/5899087/Android-webview-localstorage
为webView设置下面两句就好了:
mWebView.getSettings().setDomStorageEnabled(true);
mWebView.getSettings().setDatabaseEnabled(true);
分类:Android, 程序笔记
标签:Android, Html5按钮不能点击, WebView