我想用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?
推荐答案从这里下载javaxm api库: www.java2s/ Code / Jar / c / Downloadcomm20jar.htm
Download javaxm api library from here : www.java2s/Code/Jar/c/Downloadcomm20jar.htm
在我看来,javaxm的最佳替代方案是 rxtx 。
通过串行连接发送短信
In my opinion, the best alternative to javaxm 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).
linux-101/script/python-code-sending-sms-messages-usb-connected-mobile-phone www.developershome/sms/howToSendSMSFromPC.asp www.codeproject/KB/vb/AT_commands.aspx
我建议你测试应用程序上的命令,如hyperterminal(替代win 7: helpdeskgeek/windows-7/windows-7-hyperterminal/ 。
I'd suggest you to test the commands on app like hyperterminal( alternative for win 7 : helpdeskgeek/windows-7/windows-7-hyperterminal/) first.
更多推荐
我在哪里可以下载Java comm api?
发布评论