exklinxence/apidemos

android中webview空间通过Img 标签显示sd卡中 的图片

Closed this issue · 0 comments

注意两点:
1.sb.append("<img src=\"file:///sdcard/Test/zuzong.jpg\"/>");

2.webview.loadDataWithBaseURL(null, sb.toString(), "text/html", "utf-8", null);

Original issue reported on code.google.com by bywuyu on 23 Dec 2010 at 2:59