Friday, March 4, 2011

[android-developers] Send sms to multiple numbers in single call to sendTextMessage

Hi,
Is there any way to send an SMS to multiple phone numbers?
sendTextMesage in SmsManager takes single string.

sendTextMessage(String destinationAddress, String scAddress, String text, PendingIntent sentIntent, PendingIntent deliveryIntent)

Again, here someone reported that some sets support comma separated list, some semicolon separated list. So, comma or semicolon separated list is actually not usable for this reason.

The worst case that came in my mind is to call sendTextMessage multiple times using a loop.

It would be very helpful if anyone who did similar task can suggest a good generic way.

Regards
Sarwar Erfan

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment