09-18-2008 10:20 AM
I was able to "listen" to incoming SMS messages with the simulator.
Basically I fired up the "Server" side application, and used the listen thread side (copy & paste of the smsdemo). The only difference was that I set the _openstring to "sms://:0", this seemed to do the trick for me.
Nb. It didn't matter what destination # I was sending to - it looks like the sms server just echos it back.
10-05-2008 06:52 AM - edited 10-05-2008 07:49 AM
ZERO is the default SMS port. If you open the connection on port 0, it will read SMS that are suppose to appear in the Inbox.
Use of "sms://:" with Connector.open() will cause the error "java.lang.IllegalArgumentException: Illegal opening string"
Use of "sms://" with Connector.open() will cause the error "Operation not permitted on a Client Connection"
Use of "sms://:0" with Connector.open() will work as desired.
06-12-2009 12:34 PM
Any ideas as to why BlackBerry will not allow us access to the SMS msg stores?.?