java 中的蓝牙 (J2SE)
我是蓝牙新手,这就是我想做的事情, 我想获取连接到我的电脑上的蓝牙的设备信息并将该信息写入文件中。我应该使用哪个 api 以及如何实现。我遇到了 bluecove,但经过几次搜索,我发现 bluecove 不能在 64 位电脑上运行。我现在应该做什么。我希望它可以在 32 位和 64 位电脑上运行。
谢谢
I am a newbie to bluetooth and this is the thing i want to do ,
I want to to get the device information that gets connected to the Bluetooth on my pc and write the info in a file. which api should i use and how to implement . I came across bluecove but on a few searches i found that bluecove doesn't work on 64 bit pc's. what should i do now .i want this to work on both 32 bit and 64 bit pcs.
Thankx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Oracle 教程中推荐的蓝牙 API 包含在
JSR 82
API 规范中。不过,我认为最新版本的 BlueCove (2.1.1) 包含 Windows 7 64 的驱动程序。
检查:
http://snapshot.bluecove.org/distribution/download/2.1.1 -SNAPSHOT/2.1.1-SNAPSHOT.62/
您可以在此处下载 JSR 82 规范和源代码:
http://jcp.org/aboutJava/communityprocess/mrel/jsr082/index2.html
一个好的预言机教程如何开始是:
http://developers.sun.com/mobility/midp/articles/bluetooth2/
这里还有一个很好的实际例子:
http://today.java.net/pub/a/today/2004/07/ 27/bluetooth.html
The bluetooth apis recommended in the oracle tutorials are included in the
JSR 82
API specification.I think though, that the latest release of the BlueCove (2.1.1)includes the driver for windows 7 64.
check:
http://snapshot.bluecove.org/distribution/download/2.1.1-SNAPSHOT/2.1.1-SNAPSHOT.62/
You can download the JSR 82 specification and source code here:
http://jcp.org/aboutJava/communityprocess/mrel/jsr082/index2.html
A good oracle tutorial how to start is:
http://developers.sun.com/mobility/midp/articles/bluetooth2/
And here is also a good practical example:
http://today.java.net/pub/a/today/2004/07/27/bluetooth.html