accessing primary account and call it in your own

2019-08-19 08:10发布

问题:

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.

Like in this iPhone activity we send reciver address:

Android ACTION SEND intent doesn't support to display the attach image.

回答1:

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.