03-04-2013 10:17 AM
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,
03-04-2013 10:50 AM - edited 03-05-2013 06:07 AM
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:
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.