In my last post I have shown you how to communicate with Bluetooth devices using java + Bluecove.jar.
Using this knowledge I have created this small java weekend project – Bluetooth multisender.
This program will scan for Bluetooth devices in the area.
For each Bluetooth device found, it will check whether it can receives text messages.
Each supported device will be added to the list on the left.
All you need to do is selected device/s, write a message and press the send button.
The message will be sent to all selected devices at once.
Yeh, I know it’s not the nicest looking gui there is, but it’s working 🙂
please provide the main java file jar file doesnot work
I am not sure I understood.
All the java files exist inside the project I have attached.
To execute the software just execute “BlueToothListener/bin/start.bat”
Sorry but… it don’t send message
I have this error :
javax.bluetooth.BluetoothConnectionException : failed to connect; [10051] A socket operation was attempted to an unreacheable network.
…
🙁
I try an other thing…
Else that, it’s a good example to search devices and service.
java -classpath .;../lib/bluecove-2.1.0.jar BTServicesSearcher
gives,
“bash: ../lib/bluecove-2.1.0.jar: Permission denied” on Ubuntu 11.10.
Tried again after installing “libbluetooth-dev” as answered here,
http://stackoverflow.com/questions/4680725/does-bluecove-work-with-linux-64-bits
still the same permission error.
Excellent work and it is sending to many bluetooth devices
how i send image to the devices from java using bluecove?????, this is part of may final proyect please give me a tips
thanks a lot for giving a code …it helps a lot.
i want the code data send from bluetooth device to pc
Hello Dear, When i am running this code i got it below exception…please give me a solution for it…
javax.bluetooth.BluetoothStateException: BluetoothStack not detected
at com.intel.bluetooth.BlueCoveImpl.detectStack(BlueCoveImpl.java:496)
at com.intel.bluetooth.BlueCoveImpl.access$500(BlueCoveImpl.java:69)
at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:1044)
at java.security.AccessController.doPrivileged(Native Method)
at com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged(BlueCoveImpl.j
ava:1042)
at com.intel.bluetooth.BlueCoveImpl.getBluetoothStack(BlueCoveImpl.java:
1035)
at javax.bluetooth.LocalDevice.getLocalDeviceInstance(LocalDevice.java:7
5)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:95)
at MyDiscoveryListener.main(MyDiscoveryListener.java:37)
Thanks
Thanks for sharing the info.It was of great help.
there is no bluetooth devices shown in supported list?
wht u mean by supporting?
hey bro where will the recieved messages be shown on the recieving device if it is a phone i mean the message is sent but there is no acknowledgement that the message was successfuly delivered