Email intent back to activity

ⅰ亾dé卋堺 提交于 2019-12-11 22:48:24

问题


Can anyone tell me how to redirect email intent's back button to activity where send mail button is present. I was succeeded to send mail from my android app by using email intent.But I want the flow to be exists only in my app without opening mail inbox. Can anyone help me?


回答1:


If you want to send the email from your app you will have to implement IMAP or SMTP protocols in your application. There may be some third-party libraries available already

And if you're asking about behavior of the GMail app after it proceeds your intent, you can't alter it




回答2:


Yes it is possible for that you have to build the Php backend(webservice) for sending email, in that you can put subject,recipient address and message with that webservice.



来源:https://stackoverflow.com/questions/22679341/email-intent-back-to-activity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!