问题
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