简体   繁体   中英

Java JSR-82 Implementation (javax.Bluetooth.*) - Using Bluecove

I am searching for some help with JSR-82. I have searched for a long time, and even had my project supervisor at uni helping me out, and so far, I have had no luck.

My Problem...

I have a project whereby I simply need to scan for Bluetooth Devices

I have not yet been able to get my Bluetooth device scanning. I am using Eclipse IDE in CentOS 5.5 and am trying to use Bluecove.

I have downloaded "bluecove-gpl-2.1.0.jar" and added it to my Eclipse Build Path and the code i am using is sample code provided by BlueCove (RemoteDeviceDiscovery Found here: http://bluecove.org/bluecove/apidocs/overview-summary.html#DeviceDiscovery ).

Before i can even compile, javax.Bluetooth.*; is underlined suggesting it cannot find it - Now as far as i am aware, this should be within the bluecove jar file i mentioned previously.

How on earth do I get this thing working? Ive tried using JSR82.com but that wasnt much help at all

If any one has the time to assist me, you would be concidered a god! haha

thanks

  • Ryan

With bluecove on linux you need to provide the bluecove.jar and bluecove-gpl.jar. http://code.google.com/p/bluecove/wiki/Documentation

you will be needing 4 jar files: bluecove.jar , bluecove-emu.jar , electricblue.jar , javabluetooth.jar

however my code based on jsr82 implimentation did not work on samsung mobiles.... it is said that it does not support jsr82 stack. if anyone has idea on this share..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM