Weekend project: Bluetooth multisender

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 🙂

downloaddownload project

Github View on github

11 Replies to “Weekend project: Bluetooth multisender”

    • 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”

  1. 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.

  2. how i send image to the devices from java using bluecove?????, this is part of may final proyect please give me a tips

  3. thanks a lot for giving a code …it helps a lot.

    i want the code data send from bluetooth device to pc

  4. 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

  5. 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

Leave a Reply to Amit Cancel reply

Your email address will not be published.