Re: sending sms through java api
Posted By:
rob_mason
Posted On:
Wednesday, May 19, 2004 11:53 AM
We use SwiftNote from www.ncl.ie to connect directly to our SMSC, however, you can also use it to connect over a modem.
Hope this helps
Re: sending sms through java api
Posted By:
Chris_Wilson
Posted On:
Monday, May 17, 2004 06:47 AM
First of all I assume you are using Java2SE and not J2ME or some other form of Java.
There are a few ways to send sms to a mobile. Many SMS phones (in USA) support e-mail to SMS or have a web page that will allow you to send that SMS. But I suspect that is not the way you want to do it. Another way to do it is through the serial (blue tooth, or IR) port of your mobile phone.
You might have a look at these specs for more details: GSM 03.40 and 03.38 although there are several tools out there written to hide much of this encoding. Have a look at these commands specifically: "+cmgf" and "+cmgs".
This will get you on the path of Binary or Plain Text messaging. Beware I have had a lot of problems getting Binary SMS to travel between carriers World Wide.
One final note if you are going through the Serial port I tend to use the "GNU comm API" rather than the SUN comm API because it is better at moving between variouse OS types.
Good Luck with your task!