Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
GeekyDad
Posts: 56
Registered: ‎07-15-2008

How do you add multiple recipients to an SMS?

Is there any way to programmatically add recipients to an SMS. I can't seem to find the solution. I am currently using

Invoke.invokeApplication() to initiate a new SMS message, but I want to be able to programmatically add recipients to that SMS, like you can interactively using the Menu --> Add Recipient. Is this possible?

Please use plain text.
Developer
rafo
Posts: 507
Registered: ‎07-15-2008

Re: How do you add multiple recipients to an SMS?

Look at SMSDemo into Java Development Environment samples folder.

 

If JDE is installed on C:\APPS\JDE

 

this sample is located at: C:\APPS\JDE\samples\com\rim\samples\device\smsdemo

 

 

----------------
if your issue solved set "Solution" mark at the relevant post
Please use plain text.
Developer
GeekyDad
Posts: 56
Registered: ‎07-15-2008

Re: How do you add multiple recipients to an SMS?

The SmsDemo simply fires-off multiple SMS messages, all having a single address. Is that how RIM actually does it with their own built-in SMS client? I was hoping there was a way to actually send only one message but with multiple recipients. Does anyone know if that is even possible with SMS? I was also hoping to invoke RIM's built-in SMS app for sending the message, and simply adding multiple recipients programmatically just like you can do interactively.

 

Does anyone know if RIM's API even allows for this?

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: How do you add multiple recipients to an SMS?

There are no APIs to do this directly.  You could do this from the Messages application using event injection to inject the appropriate trackball and key events to select the option from the menu and fill in the additional numbers.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.