Sending HTML email intents without having &#

前端 未结 2 2039
眼角桃花
眼角桃花 2021-02-19 06:46

Note: I know there are a lot of similar questions on SO. However, I am not trying to inline these images, I just want the html to stay as is.

It seems like the

2条回答
  •  北恋
    北恋 (楼主)
    2021-02-19 07:18

    Are you sure you don't just want the following?

    intent.putExtra(android.content.Intent.EXTRA_TEXT, htmlString);

    Seems odd to attach a Spanned to the intent rather than just handing over the HTML itself.

提交回复
热议问题