[英]How to set the subject in default email client in android?
I have set the default email as in code as, 我已将默认电子邮件设置为代码,
email.putExtra(Intent.EXTRA_EMAIL,new String[] { "support@example.com" });
I have to set the subject too, when i tried to set Intent.EXTRA_SUBJECT but I didnt get this . 当我试图设置Intent.EXTRA_SUBJECT但我没有得到这个时,我也必须设置主题。
Could someone help me on this. 有人可以帮我这个。
您感兴趣的实际情况是:
emailIntent .putExtra(android.content.Intent.EXTRA_SUBJECT, yourSubject);
试试这个,希望它会有所帮助
intent.putExtra(Intent.EXTRA_SUBJECT,subject);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.