【Android基础】调用系统发Email和短信
2011-02-18 17:29
288 查看
调用系统发短信的代码:
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); //设置文本格式 emailIntent.setType("text/plain"); //设置对方邮件地址 emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, ""); //设置标题内容 emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,getString(R.string.setting_recommend_words)); //设置邮件文本内容 emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,getString(R.string.setting_recommend_words)); startActivity(Intent.createChooser(emailIntent,"Choose Email Client"));
相关文章推荐
- android 调用系统发Email和短信
- android基础---调用系统相机拍照
- 在android里如何代码调用系统短信发送界面
- Android获取手机通讯录调用系统短信功能
- Android调用系统短信
- Android开发中怎样调用系统Email发送邮件(多种调用方式)
- Android开发之调用系统的ContentProvider——短信的获取和备份
- android调用系统短信界面,打开系统短信列表
- 调用系统短信程序 Android
- 【Android学习】调用系统短信、电话
- 调用android平台功能-拨号,地图,网页,短信,Email,播放多媒体
- Android调用系统短信发送界面并预设接收号码、短信内容
- android调用系统短信Intent时将预填接收号码
- Android开发基础 调用相机 系统相册(并对图片进行压缩处理)
- Android开发中怎样调用系统Email发送邮件(多种调用方式)
- Android开发中怎样调用系统Email发送邮件(多种调用方式)
- android调用系统的分享功能实现分享到短信,邮件和其他
- Android调用系统EMAIL发送邮件崩溃,android.content.ActivityNotFoundException
- Android基础--调用系统相机,打开相册,展示到界面,出现的一些问题Uri为空,data为null,图片错乱问题
- Android系统调用短信、电子邮件、蓝牙、社交网站等分享接口