I am trying to connect a device which has a bluetooth port. With Windows, the device is paired and fairly exchanges data with the computer. I have now a Samsung Galaxy Tab 2 7.0, with Android 4.04 to connect to the device and do the same job. I downloaded the serial example, and tried to send a command, in same way I did for Windows. I run the serialexample, press "connect" and appears the dialog to input the "pairing code". After inserting the code, I obtain Java.ioException:ConnectionRefused. It seems that the other device doesn't accept the connection, despite the code is of course correct.. (moreover it is the simple 0000, and difficult to wrongly write it)..Also, pairing the device in the Bluetooth section of Settings of the Galaxy Tablet, is successfull (apparently.. i.e. gives no error).
Any suggestions?? Thanks in advance.
Any suggestions?? Thanks in advance.