蓝牙在Java(J2SE) [英] Bluetooth in java (J2SE)

查看:405
本文介绍了蓝牙在Java(J2SE)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手蓝牙,这是我想要做的事,
我想要得到那个被连接到蓝牙在我的电脑设备信息,写在文件中的信息。该API我应该使用以及如何实现。我碰到bluecove但一些搜索,我发现bluecove不会对64位PC的工作。我该怎么办。我现在希望它在32位和64位PC上工作。

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

推荐答案

在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.

检查:

<一个href=\"http://snapshot.bluecove.org/distribution/download/2.1.1-SNAPSHOT/2.1.1-SNAPSHOT.62/\">http://snapshot.bluecove.org/distribution/download/2.1.1-SNAPSHOT/2.1.1-SNAPSHOT.62/

您可以在这里下载JSR 82规范和源$ C ​​$ C:

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

<一个href=\"http://jcp.org/aboutJava/communityprocess/mrel/jsr082/index2.html\">http://jcp.org/aboutJava/communityprocess/mrel/jsr082/index2.html

一个很好的甲骨文教程如何开始的:

A good oracle tutorial how to start is:

<一个href=\"http://developers.sun.com/mobility/midp/articles/bluetooth2/\">http://developers.sun.com/mobility/midp/articles/bluetooth2/

这也是一个很好的实例:

And here is also a good practical example:

<一个href=\"http://today.java.net/pub/a/today/2004/07/27/bluetooth.html\">http://today.java.net/pub/a/today/2004/07/27/bluetooth.html

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

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