Hi, before all, thanks for your works !
I just compiled an Helloworld program (compiling is
ok), my program is so little that I think I can paste
it here :
______________________________________
import javax.bluetooth.*;
class test{
LocalDevice ld;
public static void main(String args[]) throws
Exception{
new test();
}
public test() throws Exception{
ld=LocalDevice.getLocalDevice();
}
}
______________________________________
At runtime I get this error :
______________________________________
Exception in thread "main"
javax.bluetooth.BluetoothStateException: Unable to load
HCIManager. org.javabluetooth.stack.hci.HCIException:
BluetoothStack not initalized.
at
javax.bluetooth.LocalDevice.<init>(LocalDevice.java:49)
at
javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:62)
at test.<init>(test.java:10)
at test.main(test.java:7)
_______________________________________
"hcitool dev" gives :
Devices:
hci0 00:0A:3A:50:86:44
I've the latest bluez debian packages, and J2SE_1.4.2_02
Do you Have an idea ?
Thanks By advance
Logged In: NO
I have exactly the same problem... and still looking for a solution...