【发布时间】:2012-08-16 05:00:30
【问题描述】:
我有一些 html 内容必须显示在 android webview 上。这是我在 webview 上显示内容的代码
myBrowser.loadDataWithBaseURL("", myFormHTMLContent , "text/html", "UTF-8", null);
我在 html 内容中有几个 img 标签。我如何为那些指定 src?我试过这个.. src =“/mnt/sdcard/myDir/test.gif”。但它没有加载该图像。请帮我。
【问题讨论】:
标签: android html android-webview