Getting the recepient count from email sent in Android

萝らか妹 提交于 2019-12-10 12:17:28

问题



I'm launching the email program in Android from my app, using the following code...

Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("message/rfc822");
sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Test subject");
sendIntent.putExtra(Intent.EXTRA_TEXT, "Hello World!");
startActivityForResult(Intent.createChooser(sendIntent, "Select email application."), INTENT_REQUEST_SEND_EMAIL);

In the called OnActivityResult(), is it possible to get the number of recepients the user has chosen to send the email to?

Thanks,
Rajath


回答1:


That action does not support startActivityForResult(), sorry.



来源:https://stackoverflow.com/questions/4469055/getting-the-recepient-count-from-email-sent-in-android

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