如何调用系统的发邮件系统 我是想调出系统的邮件系统界面,然后设置收件人.这样可以不呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 //系统邮件系统的动作为android.content.Intent.ACTION_SEND Intent email = new Intent(android.content.Intent.ACTION_SEND); email.setType("plain/text"); emailReciver = new String[]{"[email protected]", "[email protected]"}; emailSubject = "你有一条短信"; emailBody = sb.toString(); //设置邮件默认地址 email.putExtra(android.content.Intent.EXTRA_EMAIL, emailReciver); //设置邮件默认标题 email.putExtra(android.content.Intent.EXTRA_SUBJECT, emailSubject); //设置要默认发送的内容 email.putExtra(android.content.Intent.EXTRA_TEXT, emailBody); //调用系统的邮件系统 startActivity(Intent.createChooser(email, "请选择邮件发送软件")); email.setType("plain/text");参数错误,应是:email.setType("text/plain"); 我是那么写的可是出现了一个对话框说是没有程序支持此操作,这是怎么回事,能不能帮我解答下,我的QQ379953191 email:[email protected]谁知道告诉我一下好吧,谢谢 email.setType("plain/text");纯文本传输email.setType("text/plain");流的形式传输 菜鸟2帖 请教 Android ScrollView 自定义View 有没有办法改变华硕平板Android机的分辨率??? android GridView菜单item 点击变换图片问题 android模拟器上卸载程序 急!新手求助!关于Android调用webservice出错!! 奇怪的布局文件,明明没错 帮我写下 一小段代码 android 右边半圆可以滑动的菜单 求大神帮忙解决,在AS中创建Genymotion模拟器报错 哪位大侠给指点一下,按钮设置外观的问题 rokon 中拖动body问题
Intent email = new Intent(android.content.Intent.ACTION_SEND);
email.setType("plain/text");
emailReciver = new String[]{"[email protected]", "[email protected]"};
emailSubject = "你有一条短信";
emailBody = sb.toString();
//设置邮件默认地址
email.putExtra(android.content.Intent.EXTRA_EMAIL, emailReciver);
//设置邮件默认标题
email.putExtra(android.content.Intent.EXTRA_SUBJECT, emailSubject);
//设置要默认发送的内容
email.putExtra(android.content.Intent.EXTRA_TEXT, emailBody);
//调用系统的邮件系统
startActivity(Intent.createChooser(email, "请选择邮件发送软件"));
参数错误,应是:
email.setType("text/plain");
纯文本传输
email.setType("text/plain");
流的形式传输