Where can I download Java comm api?

I want to write some programs using Java comm api. I cannot find a site / page from which I can load this API. Can someone please tell me where can I get this API?

Basically, I want to send SMS to mobile from a PC. Mobile will connect to the PC via a USB cable. I would also like to know what are the possible ways to send SMS to mobile? (I'm looking for an option that won’t bring me money)

Thanks in advance!


EDIT 1

I am not allowed to use third-party APIs. It seems that the Java comm API is already dead. So is there another way to send messages to a mobile from a PC?


+8
java mobile sms usb
source share
5 answers

Download the javax.comm api library here: http://www.java2s.com/Code/Jar/c/Downloadcomm20jar.htm

In my opinion, the best alternative to javax.comm is rxtx .


Sending SMS over a serial connection

To send SMS via a serial connection, you must use the AT command.

Here are some examples in other languages ​​(but the concept is the same).

http://linux-101.org/script/python-code-sending-sms-messages-usb-connected-mobile-phone http://www.developershome.com/sms/howToSendSMSFromPC.asp http: // www. codeproject.com/KB/vb/AT_commands.aspx

I would suggest you test the commands in the application, such as hyperterminal (alternative to win 7: http://helpdeskgeek.com/windows-7/windows-7-hyperterminal/ ).

+5
source share

I would recommend RXTX . It does not use the javax.comm package, but it follows the same API, with a little extra .

+3
source share

It may be an older version, but MIT stores a copy of javaxcomm.zip here .

+3
source share

If this is still relevant for you (possibly others),

Serialio.com are true serial communication experts. They have a great package (SerialPort), which I have used since 1997, and never asked me any problems, and since then they have added support for the Java Comm API, as well as an infinite number of platforms.

+3
source share

Try this source at oracle.com:

Miscellanea. Java SE Tools and Libraries Files

0
source share

All Articles