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

Native Development

Reply
Contributor
oril
Posts: 10
Registered: ‎01-08-2013
My Device: dev alfa

How to use send simple sms? SmsTransport ? blackberry 10

Can someone please help me on how to send simple text messages with blackberry 10?

Is there a simple way to do it?

Developer
oliver_kranz
Posts: 216
Registered: ‎09-18-2009
My Device: Z10

Re: How to use send simple sms? SmsTransport ? blackberry 10

You could use the invocation framework to invoke the Phone application.

 

https://developer.blackberry.com/cascades/documentation/device_platform/invocation/invoking_core_app...

 

But the invocation framework still does not support sending SMS. Same as with sending email which still is not supported yet.

Developer
oliver_kranz
Posts: 216
Registered: ‎09-18-2009
My Device: Z10

Re: How to use send simple sms? SmsTransport ? blackberry 10

Contributor
oril
Posts: 10
Registered: ‎01-08-2013
My Device: dev alfa

Re: How to use send simple sms? SmsTransport ? blackberry 10

Hi,

 

I am having trouble on using the SmsTransport for sending simple text messages.

 

Can someone show me a simple example on how to use the SmsTransport Api for sending text message?

 

Thanks in advance!

Developer
oliver_kranz
Posts: 216
Registered: ‎09-18-2009
My Device: Z10

Re: How to use send simple sms? SmsTransport ? blackberry 10

Sending SMS is disabled in current Dev Alpha build. Same as with sending email which does not work either. Seems you have to wait for the final release.

Contributor
oril
Posts: 10
Registered: ‎01-08-2013
My Device: dev alfa

Re: How to use send simple sms? SmsTransport ? blackberry 10

Thanks,

Do you have an example on how to use the SmsTransport API for sending sms messages?

Developer
oliver_kranz
Posts: 216
Registered: ‎09-18-2009
My Device: Z10

Re: How to use send simple sms? SmsTransport ? blackberry 10

At least in the github native and cascades examples there is no example using SmsTransport.

 

There is only the API documentation.

 

https://developer.blackberry.com/cascades/reference/bb__pim__message__smstransport.html