Can any one help me out how to use Html.ImageGetter to dispaly images using html image src tag ? and example or good tutorial
textView.setText(Html.fromHtml(htmlToSetAsText, new ImageGetter() {
@Override
public Drawable getDrawable(String source) {
String path = "/sdcard/" + source;
Drawable bmp = Drawable.createFromPath(path);
bmp.setBounds(0, 0, bmp.getIntrinsicWidth(), bmp.getIntrinsicHeight());
return bmp;
}
}, null));