07-05-2011 01:09 AM
We are trying to build a Blackberry application to filter incoming SMS(s). We have been successful in intercepting the message using Datagram / MessageConnection. However, by the time we receive the message in our listening thread and process it, the message has already reached the SMS Inbox. This is defeating the purpose of intercepting. Also, Blackberry does not allow reading/writing/deleting SMS from SMS Inbox. Therefore, once the SMS reaches the Inbox, there is nothing that can be done to remove it.
The Firewall filter works pretty well for blocking SMS. However, there is no api to access Firewall settings.
I think the only option would be to set the listener in such a way that it receives the SMS before the native Inbox. But we are not able to find any documentation around this. Any pointers for resolving this issue will be greatly appreciated.
07-05-2011 03:39 AM
First confim me whether you want to receive all SMS to your application or only some specifications..
If we use any port number for sending & receiving sms then those sms won't reach Native.If we are not mentioning any port default it takes '0' so it will receive in native SMS Inbox also
07-11-2011 03:39 AM