Bluetooth in java (J2SE)

拜拜、爱过 提交于 2019-12-20 20:41:22

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/8677204/bluetooth-in-java-j2se

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!