I have the HTML string as follows
String htmlstr=" This is my image <img src='/sdcard/pic1.jpg' /> and the my second image is <img src='/sdcard/pic2.jpg' />"
I am using
txtimg.setText(Html.fromHtml(htmlstr));
But the problem is it displays 1 default small squre with green color instead of image
Please help me to display a image
Thanks in advance
Try this :
It works well for me.
Thanks.