Given this page: http://music.10086.cn/newweb/qk/guoso/1C5DB9AC5C346441/t/6.html
A WebView with JavaScript turned on can open it properly with loadUrl() and render the JavaScript.
However, if the content of the page is loaded separately using a HTTP client, and given to loadDataWithBaseUrl() with the base URL set, the JavaScript does not work properly:
// store http://music.10086.cn/newweb/qk/guoso/1C5DB9AC5C346441/t/6.html into data
webView.loadUrl("http://music.10086.cn/", data, "text/html", "UTF-8", null);
I suspect that the remote scripts are not loading. How can I make the WebView log this?
This is on Android Ice Cream Sandwich 4.0.3.