Android: mime type for email attachment not set

前端 未结 1 1074
一向
一向 2021-01-14 01:16

I\'m developing a very small application for Android 2.3.3. I want to send an email (through the android email app) containing a jpeg image as an attachment, below the rele

相关标签:
1条回答
  • 2021-01-14 02:07

    I'm using the same method for sending emails, and have tested on various versions of a few email clients. Even gmail is inconsitent, some versions sets the mime type of the attachment, others ignore it. I've came to the conclusion that there is no safe solution. At least not by using an ACTION_SEND Intent.

    0 讨论(0)
提交回复
热议问题