java中的蓝牙(J2SE) [英] Bluetooth in java (J2SE)

查看:40
本文介绍了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.

谢谢x

推荐答案

oracle 教程中推荐的蓝牙 api 包含在 JSR 82 API 规范中.

The bluetooth apis recommended in the oracle tutorials are included in the JSR 82 API specification.

不过,我认为最新版本的 BlueCove (2.1.1) 包含适用于 Windows 7 64 的驱动程序.

I think though, that the latest release of the BlueCove (2.1.1)includes the driver for windows 7 64.

检查:

http://snapshot.bluecove.org/distribution/下载/2.1.1-SNAPSHOT/2.1.1-SNAPSHOT.62/

您可以在此处下载 JSR 82 规范和源代码:

You can download the JSR 82 specification and source code here:

http://jcp.org/aboutJava/communityprocess/mrel/jsr082/index2.html

一个好的 oracle 教程如何开始是:

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

这篇关于java中的蓝牙(J2SE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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