我在哪里可以下载Java comm api? [英] Where can I get to download Java comm api?

查看:109
本文介绍了我在哪里可以下载Java comm api?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Java comm api编写一些程序。我无法找到可从中下载此API的网站/页面。谁能告诉我在哪里可以获得这个API?

I want to write some programs using Java comm api. I am not able to find site/page from which I can download this API. Can anyone please tell me where can I get this API?

基本上我想从PC发送短信到手机。手机将通过USB线连接到PC。我还想知道将短信发送到手机的可能方法是什么? (我正在寻找不会给我带来金钱的选择)

Basically I want to send SMS to mobile from PC. Mobile will connect to PC through USB cable. I would also like to know what are the possible ways to send SMS to mobile? (I am looking for option which wont incur me money)

提前致谢!

我不允许使用第三方API。 Java comm API现在似乎已经死了。那么有没有其他方法从PC发送消息给移动设备?

I am not allowed to use third party APIs. It seems that Java comm API is dead now. So is there any other way to send messages to mobile from pc?

推荐答案

从这里下载javax.comm api库: http://www.java2s.com/ Code / Jar / c / Downloadcomm20jar.htm

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

在我看来,javax.comm的最佳替代方案是 rxtx



通过串行连接发送短信

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


Sending SMS over Serial Connection

要通过串行连接发送短信,您必须使用AT命令。

For sending sms over serial connection you have to use AT command.

以下是其他语言的一些例子(但概念相同)。

Here are some examples on other languages (but the concept is 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

我建议你测试应用程序上的命令,如hyperterminal(替代win 7: http://helpdeskgeek.com/windows-7/windows-7-hyperterminal/

I'd suggest you to test the commands on app like hyperterminal( alternative for win 7 : http://helpdeskgeek.com/windows-7/windows-7-hyperterminal/) first.

这篇关于我在哪里可以下载Java comm api?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆