This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
New to Java, trying to get a basic app working. Using Netbeans 7.
I'm trying to detect bluetooth devices from my PC. My OS is Windows 7 64 bit, and I didn't have to install any drivers when I plugged in the bluetooth dongle. It does detect bluetooth devices fine, I think it uses the Microsoft bluetooth stack.
The articles on the web seem to focus on mobiles. The PC based ones mention Bluecove, most seem to focus on Windows XP. I did find an article that states that Bluecove won't work with 64 bit.
Can anyone point show me some code to detect bluetooth devices, and recommened a library for Windows 7?
I've never done anything with bluetooth, but with a bit of searching I found this:
There's a JSR, JSR-82, for Bluetooth support in Java: http://www.jsr82.com/ Note: A JSR is a Java Specification Request. Whenever new features are added to Java, they are first proposed through a JSR. As far as I know the APIs proposed in JSR-82 are not (yet) part of standard Java.
I'm still a bit confused. The Javabluetooth.com has kits, but some cost a lot of money. One of the free ones is "The Java Bluetooth Stack So if I download the files from there, what would I do to use them in my Java project?
That one seems to lack documentation, so if you'd want to use it, you'd probably have to look at the source code and fiddle with it yourself... the project page says it uses the javax.comm library which, as far as I know, hasn't been supported anymore for a few years on Windows. Maybe it's better to look for one of the other toolkits.