Skip to content

aviyehuda.com

Menu
  • Open Source
  • Android
  • Java
  • Others
  • Contact Me
  • About Me
Menu

Weekend project: Bluetooth multisender

Posted on 13/01/2010

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 thoughts on “Weekend project: Bluetooth multisender”

  1. SRS says:
    05/01/2011 at 22:07

    please provide the main java file jar file doesnot work

    Reply
    1. admin says:
      06/01/2011 at 12:33

      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”

      Reply
  2. Cléo says:
    05/04/2011 at 16:39

    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.

    Reply
  3. Rakesh Waghela says:
    24/11/2011 at 19:28

    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.

    Reply
  4. Sridhar says:
    03/01/2012 at 10:36

    Excellent work and it is sending to many bluetooth devices

    Reply
  5. dante says:
    02/02/2012 at 00:48

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

    Reply
  6. mahalakshmi says:
    12/01/2013 at 07:02

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

    i want the code data send from bluetooth device to pc

    Reply
  7. Amit says:
    05/02/2014 at 08:32

    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

    Reply
  8. Adit says:
    24/12/2014 at 07:01

    Thanks for sharing the info.It was of great help.

    Reply
  9. Anonymous says:
    08/10/2015 at 11:50

    there is no bluetooth devices shown in supported list?
    wht u mean by supporting?

    Reply
  10. siddarth kumar says:
    18/02/2019 at 18:26

    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

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


About Me

REFCARD – Code Gems for Android Developers

Categories

  • Android
  • AWS
  • AWS EMR
  • bluetooth
  • Chrome extension
  • ClientSide
  • Clover
  • Coding Coventions
  • Data Lake
  • General
  • GreaseMonkey
  • Hacks
  • hibernate
  • hibernate validator
  • HTML5
  • HtmlUnit
  • Image Manipulation
  • Java
  • Java Technologies
  • JavaScript
  • Java_Mail
  • JEE/Network
  • Job searching
  • Open Source
  • Pivot
  • projects
  • Pure Java
  • software
  • Spark
  • Trivia
  • Web development

Archives

  • March 2022 (1)
  • January 2022 (1)
  • January 2021 (1)
  • December 2018 (1)
  • August 2018 (1)
  • October 2013 (1)
  • March 2013 (1)
  • January 2013 (2)
  • July 2012 (1)
  • April 2012 (1)
  • March 2012 (1)
  • December 2011 (1)
  • July 2011 (1)
  • June 2011 (1)
  • May 2011 (2)
  • January 2011 (1)
  • December 2010 (1)
  • November 2010 (3)
  • October 2010 (4)
  • July 2010 (1)
  • April 2010 (2)
  • March 2010 (1)
  • February 2010 (2)
  • January 2010 (5)
  • December 2009 (10)
  • September 2009 (1)
 RSS Feed
6dc4b508c301309b9e838ba10393207a-332
©2023 aviyehuda.com | Design: Newspaperly WordPress Theme