Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Trusted Contributor
Posts: 118
Registered: ‎03-06-2013
My Device: Blackberry Z10
My Carrier: Airtel

Sending a SMS to a particular number


My application is in JQuery, from  that i need to send a sms , how can i do that without writing any seperate plugin.

let me know how to do that.

- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

Posts: 23
Registered: ‎01-05-2013
My Device: 9800
My Carrier: IDEA

Re: Sending a SMS to a particular number

Use following code to send sms. No need to write any plugin or separate code 




<script type="text/javascript">
  blackberry.message.sms.send("hello world", "987654321");

  var listener = function (msg, from, date) {
    alert(from+" "+msg+" "+date);

  blackberry.message.sms.isListeningForMessage = true;

  if (blackberry.message.sms.removeReceiveListener()){
    alert("Listener removed successfully.");
    blackberry.message.sms.isListeningForMessage = false;