访问主帐户,并调用它自己的UI [英] accessing primary account and call it in your own UI
本文介绍了访问主帐户,并调用它自己的UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图访问用于主要针对Android的帐户。
从该帐户我想用我自己的布局,以发送电子邮件。
I am trying to access the account that is used primary for android. From that account i want to send email using my own layout.
就像这款iPhone的活动我们发送reciver地址:
Like in this iPhone activity we send reciver address:
Android操作SEND意图不支持显示附加图片。
Android ACTION SEND intent doesn't support to display the attach image.
推荐答案
意图并发送具有Intent.EXTRA_STREAM作为参数,其中包含文件的URI要上传
intent ACTION SEND has Intent.EXTRA_STREAM as parameter, which contains the URI of the file to be uploaded.
您可以读取数据流,并为您在您的布局需要显示的图像。
You can read the stream and display the image as you need in your layout.
这篇关于访问主帐户,并调用它自己的UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文