android - how to display images inside html in mail (gmail app or others) -
i having stuff when displaying content in mail on android device. here case:
need send invitation other users app. invitation's content can changed in future, decide make html content server side , send client side (android , ios), client side receive , send invitation other users via email inside device (until gmail).
ok on ios device. mean invitation's content displayed html file (include image, color, margin,...). have problem on android device - can not displayed html content. instead of that, display text (no image, no color).
here code
intent emailintent = new intent(intent.action_sendto, uri.fromparts("mailto",sender, null)); emailintent.putextra(android.content.intent.extra_subject, subject); emailintent.putextra(intent.extra_text, html.fromhtml(content)); //content: html format context.startactivity(intent.createchooser(emailintent, "send email..."));
can give me ideas on case? if impossible on android platform. please give me documentation on official site (android best).
thank much!
ryan
as per knowledge can't send image in body part android device.
please check below answer more information.
if find out solution must share.
Comments
Post a Comment