如何通过Exchange ActiveSync邮件帐户而不是Gmail发送电子邮件?当我使用createchooser时,只有gmail出现......
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
String aEmailList[] = { "me@mail.com" };
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, aEmailList);
emailIntent.setType("plain/text");
startActivity(Intent.createChooser(emailIntent, "Send email..."));
答案 0 :(得分:1)
emailIntent.setType("application/octet-stream");
适合我! : - )