Hi,
I have another question. It's possible to pair an android phone with a
computer or another non android phone using the bluetoothchat example
provided ?
I have tried and the logcat gives me always this issue:
"Cleaning up failed UUID channel lookup: 9C:18:74:24:03:75
0001101-0000-1000-8000-00805f9b34fb"
The device is not paired and the application sends an "Could not
connect to device error" back.
The code is the same as the bluetoothchat example.
______________________________________________________________________________________________________________________________________
Antoher issue that i have is when i try to transfer a file from my
computer to my android phone, the file is transfered through the
regular manner and not through my application.
My application is blocked at the bluetoothserversocket.accept()
(normal behavior) instruction and can't discover that the computer
tried to established a connection using bluetooth.
My guess is that i am using a wrong UUID and the insecurerfcomsockets
are not well "registered".
Here my settings:
private static final UUID MY_UUID =
UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
tmp = mAdapter.listenUsingInsecureRfcommWithServiceRecord(NAME_SDP,
MY_UUID); // NAME_SDP should not be an issue, as said in the
documentation
tmp = device.createInsecureRfcommSocketToServiceRecord(MY_UUID);
As said the code is the same as the bluetoothchat, the difference is
that i am not using secure communication and i have changed the UUID
(a bunch of times).
I hope you could help me out, then i am stuck here.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en