Java Bluetooth Forum

Java Bluetooth Forum is now up and running. Share and learn by participating in the discussions related to JSR-82 and Java Bluetooth Programming.

AddThis Social Bookmark Button AddThis Feed Button

7 Responses to “Java Bluetooth Forum”

  1. nabeel Says:

    i am working on a project in pervasive computing based on java in which we will be a utilizing bluetooth communication.

  2. Jet Ma Says:

    learning java bluetooth

  3. Lee Says:

    I am new to the J2ME BlueTooth programming, just go through the example of Device Discovery,i go an error below when i run this program?
    Exception in thread “main” java.lang.ExceptionInInitializerError
    at com.jsrsoft.eb.nw.LD.gld(Unknown Source)
    at javax.bluetooth.LocalDevice.(Unknown Source)
    at javax.bluetooth.LocalDevice.getLocalDevice(Unknown Source)
    at test.BluetoothDeviceDiscovery.main(BluetoothDeviceDiscovery.java:35)
    Caused by: java.lang.RuntimeException: Include ElectricBlue library in the path
    at com.jsrsoft.eb.nw.NW.(Unknown Source)

    Does anyone give me a little help at this stage?

  4. chris Says:

    I’m getting the exact same thing as you Lee. Did you figure out the problem?

  5. Sam Says:

    I think you need to change the setting on your simulator.If you are using KToolbar by sun, then when you open a project, go to settings select custom from the dropdown list and select Bluetooth/J2Me 82 checkbox.

  6. LOOOLA Says:

    Hello..

    I am new in Bluetooth programming..in my project I must have more than 7 slaves in a piconet..and I was read that I can do this using parked mode.. by sending LMP_park_req from the master and then a slave will reply…etc.

    but my problem is how to write a program that uses these PDUs..I search a lot but I didn’t find any code?

    plz help me
    thanks …

  7. Chandra Says:

    I am getting the following exception, while creating a connection.

    Exception in thread “main” java.io.IOException: java.io.IOException: Failed to create connection
    at javax.microedition.io.Connector.openPrim(Unknown Source)
    at javax.microedition.io.Connector.open(Unknown Source)
    at javax.microedition.io.Connector.open(Unknown Source)
    at javax.microedition.io.Connector.open(Unknown Source)
    at SampleSPPServer.startServer(SampleSPPServer.java:27)
    at SampleSPPServer.main(SampleSPPServer.java:63)

    Code snippet
    ————
    String connectionString = “btspp://localhost:” + uuid +”;name=SPPServer”;
    //open server url
    StreamConnectionNotifier streamConnNotifier = (StreamConnectionNotifier)Connector.open( connectionString );

Leave a Comment