Java Bluetooth Forum
- Posted by Bruse
- 7 Comments »
Java Bluetooth Forum is now up and running. Share and learn by participating in the discussions related to JSR-82 and Java Bluetooth Programming.
Java Bluetooth Forum is now up and running. Share and learn by participating in the discussions related to JSR-82 and Java Bluetooth Programming.
August 27th, 2007 at 7:45 am
i am working on a project in pervasive computing based on java in which we will be a utilizing bluetooth communication.
October 24th, 2007 at 5:34 am
learning java bluetooth
December 6th, 2007 at 6:49 pm
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?
March 25th, 2008 at 9:19 pm
I’m getting the exact same thing as you Lee. Did you figure out the problem?
September 3rd, 2008 at 8:03 am
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.
October 31st, 2008 at 12:30 pm
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 …
February 21st, 2010 at 8:49 pm
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 );