开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜