我在哪里可以下载Java comm api?

编程入门 行业动态 更新时间:2024-10-16 00:20:23
本文介绍了我在哪里可以下载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?

推荐答案

从这里下载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?

本文发布于:2023-10-18 04:36:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1503142.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我在   可以下载   Java   comm   api

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!