Android调用系统短信发送界面并预设接收号码、短信内容
16lz
2021-12-07
Android调用系统短信发送界面并预设接收号码、短信内容:
Uri smsToUri = Uri.parse("smsto:10086");//预设发送号码Intent intent = new Intent( android.content.Intent.ACTION_SENDTO, smsToUri );intent.putExtra("sms_body", "这是内容");//发送内容startActivity( intent );
原文转自:http://www.pocketdigi.com/20101005/122.html
更多相关文章
- Android(安卓)bluetooth介绍(四): a2dp connect流程分析
- android 拨打紧急号码,通话时开启免提功能实现
- Android(安卓)开发中的倒计时
- Android(安卓)SDK 1.0 电话号码的例子(Demo)
- Android发送短信方法实例详解
- 怎么去掉联系人、通话记录、拨号列表界面中的电话号码中间的空格
- android发送json并解析返回json
- android 模拟按键
- Android之实现手机号码拦截