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.

inside custom component

Web and WebWorks Development

Reply
New Contributor
Posts: 3
Registered: ‎06-25-2011
My Device: Torch

SMS ERROR - Cannot convert 'undefined' to an object

Hi, I have a problem with these lines:

   blackberry.message.sms.send ("hello universe", "0123456789");
   blackberry.message.sms.addReceiveListener (function (a, b, c ){...});

I returned the following error: Can not convert 'undefined' to an object

and I added the necessary lines:
  
  <feature required="true" id="blackberry.message.sms" version="1.0.0.0"/>

and I did it manually because Eclipse would not let me add it and still continues to give me that error, which I believe is that no such extension and I have to download it separately,

what can do it?