ACTION_SEND force sending with email

前端 未结 9 1904
予麋鹿
予麋鹿 2021-02-15 11:37

every time i create an action for sending an email from my app, it prompts to many options including a QR client...

Is there a way to force sending via email clients onl

9条回答
  •  遥遥无期
    2021-02-15 12:22

    As long as you are using ACTION_SEND with type text/plain, it will show all the valid options. However, if you want, you may design your your own dialog window which shows only Gmail or other mail client by doing filtering programatically.

    BTW, why do you even need this window when you just want to use Gmail?

提交回复
热议问题