我如何发送短信到android的多个电话号码 [英] How do I send sms to multiple phone numbers in android

查看:558
本文介绍了我如何发送短信到android的多个电话号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用短信管理器不使用CSV名单的工作;在那里,除了循环和发送多个文本发送给多个收件人什么办法?

或者这是由设计非垃圾邮件的功能?

解决方案

 意图smsIntent =新的意图(Intent.ACTION_SENDTO,Uri.parse(smsto:5551212; 5551212));
smsIntent.putExtra(sms_body,短信到这里);
startActivity(smsIntent);
 

添加一个分号电话号码分隔的列表,以smsto:作为URI的意图构造

using sms manager it does not work with a csv list; is there any way besides looping and sending more than one text to send to multiple recipients?

or is this by design a non-spam feature?

解决方案

Intent smsIntent = new Intent(Intent.ACTION_SENDTO,Uri.parse("smsto:5551212;5551212"));
smsIntent.putExtra("sms_body", "sms message goes here");
startActivity(smsIntent);

Add a semicolon delimited list of phone numbers to "smsto:" as the URI in the Intent constructor.

这篇关于我如何发送短信到android的多个电话号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆