应用选择器
来源:互联网 发布:邮箱的正则表达式php 编辑:程序博客网 时间:2024/05/16 14:43
==================================================
Android 使用MMS彩信或者Gmail发送图片
Intent i = new Intent(Intent.ACTION_SEND);i.putExtra(Intent.EXTRA_STREAM,imageUri);//这里必须是图片的urii.setType("image/jpeg");startActivity(Intent.createChooser(i,TITLE_TIP));//TITLE_TIP是弹出的选择程序处理的文字标题
==================================================
Android 使用短信或者Gmail发送文字
Intent intent = new Intent(Intent.ACTION_SEND);intent.setType("text/plain");intent.putExtra(Intent.EXTRA_SUBJECT,SOMETHING_TITLE)//Gmail的邮件主题,可选intent.putExtra(Intent.EXTRA_TEXT,SOMETHING_TEXT_BODY);//文本内容startActivity(Intent.createChooser(intent,TITLE_TIP);//弹出的选择程序处理的文字标题
这样所有intent-filter的action设置为android.intent.action.SEND的Activity都将作为被选择程序出现在列表中。
- 应用选择器
- 属性选择器的应用
- jQuery选择器简单应用
- Intent.createChooser 应用选择器
- 显示应用选择器
- 分类选择器的应用
- jquery的选择器应用
- css选择器应用
- CSS选择器的应用
- CSS3选择器的应用
- android Intent.createChooser 应用选择器 !!!
- jquery选择器的简单应用
- android Intent.createChooser 应用选择器
- 31种选择器的应用
- android Intent.createChooser 应用选择器
- Xcode 选择器 Picker 的应用
- 伪类选择器hover应用
- jQuery 选择器和事件应用
- linux 系统帐户 无法远程登录 ftp 服务器
- 打包命令
- Extjs学习总结之10数据与ComboBox
- 计算机的各种编码2
- Linux makefile
- 应用选择器
- busybox及bash在android中的安装及init.rc修改
- Java GZip解压缩
- 企业版IDP的申请及“In House”发布
- trie字典树
- flex int与number 区别
- android2.2下编译c模块
- 关于性能优化的以及int Number uint的比较
- Kinect 微软Xbox 360