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

Cascades Development

Reply
New Member
bfamler
Posts: 1
Registered: ‎03-04-2013
My Carrier: A1

BB10 SMS ports

Hello,

I'm currently implementing several BB10 apps, which require receiving incoming SMS on non-generic ports (e.g. Port = 5499) and sending SMS using this port. Can someone tell me if the BB10 platform forwards SMS dedicated to non-generic ports to 3rd party applications?

 

I couldn't find this information in any documentation.


Thanks and best regards,

Bernhard

Please use plain text.
BlackBerry Development Advisor
klajili
Posts: 33
Registered: ‎01-26-2012
My Carrier: T-Mobile DE

Re: BB10 SMS ports

[ Edited ]

Please check the SmsTransport class: #include <bb/pim/message/SmsTransport>

The SmsTransport class lets you perform operations on SMS messages from your apps.

You can use this class to register the port that's used to send SMS messages, send a message, and receive the result of the send operation.

more infos here:

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

 

An Additional note:

Listening to custom port does work well. You simply need to use the above API. However,

we noticed sometimes sending a message to custom Port can have an issue. We are investigating if this is a bug in the current OS.

Please use plain text.