Android 使用 Intent 发送 email
来源:互联网 发布:手机淘宝如何更换账号 编辑:程序博客网 时间:2024/04/28 11:42
1
Intent i =
new
Intent(Intent.ACTION_SEND);
2
//i.setType("text/plain"); //模拟器请使用这行
3
i.setType(
"message/rfc822"
) ;
// 真机上使用这行
4
i.putExtra(Intent.EXTRA_EMAIL,
new
String[]{
"test@gmail.com"
});
5
i.putExtra(Intent.EXTRA_SUBJECT,
"subject goes here"
);
6
i.putExtra(Intent.EXTRA_TEXT,
"body goes here"
);
7
startActivity(Intent.createChooser(i,
"Select email application."
));
- Android 使用 Intent 发送 email
- android后台发送Email(不借助Intent)
- android—Intent发送文本email
- Android email intent
- android发送Email
- Androidの发送Email
- 使用java发送email
- 使用C# 发送Email
- 使用phpmailer发送email
- 使用java发送email
- 使用Java发送Email
- 使用Spring发送Email
- 使用Spring发送Email
- 使用spring发送email
- 使用sendmail发送email
- 使用sendmail发送email
- 使用Spring发送Email
- 【Android 开发教程】使用Intent发送短信
- android 同时发送几条通知
- 蓝牙协议的命令和事件
- Java设计模式---简单工厂
- stm32 学习--创建项目
- 用Java 获得Access 数据库中的所有表名
- Android 使用 Intent 发送 email
- Android中Bitmap, Drawable, Byte,ID之间的转化
- PostgreSQL 类型转换
- ZooKeeper系列之二:Zookeeper常用命令
- 第十一周项目3-1-10000以内的回文数
- 人生
- 运动检测
- 蓝牙的HFP协议笔记
- http://www.coocox.org/CN/CoIDE/CoIDE_Updates.htm#