开发者

android: Email an XML string (in-memory file) as an attachment

开发者 https://www.devze.com 2022-12-23 05:44 出处:网络
How can I email an XML string (or an in-memory file) in android as a file attachment without actually creating a physical File?

How can I email an XML string (or an in-memory file) in android as a file attachment without actually creating a physical File?

I want to just build an开发者_Python百科 XML data string (backup data) and have the user email it.


If you want to use Intent.ACTION_SEND, I am almost sure that the simple answer is that you can't.

If you must, then you will have to implement your own mail sender using, perhaps, an Android port of JavaMail or you can build a new one from scratch.

0

精彩评论

暂无评论...
验证码 换一张
取 消