我正在开发一个使用WebView来呈现自定义html的应用程序.但是当我调用 loadDAtaWithBaseURL(URL, "<html><h1>TEST</h1></html>", "text/html; charset=utf-8;", "utf-8", null); 它时,它会在Genymotion模拟器上显示html本身(未呈现一个).在我的HTC-one上,它与渲染的html一起正常工作.每个结果显示为附件.
loadDAtaWithBaseURL(URL, "<html><h1>TEST</h1></html>", "text/html; charset=utf-8;", "utf-8", null);
有没有人有同样的问题或解决方案?谢谢.
html android android-webview
android ×1
android-webview ×1
html ×1