Update:
I've had so many problems with Bluetooth connections that I am updating this 
thread in hopes that others will be helped and a person
with more Bluetooth knowledge can respond.

Experimentation with other phones and BT devices indicates to me that the 
problem is not with the phones that I mentioned even though
they have the symptoms. I believe that the response of the BT device to a 
service discovery request is erratic and the success of service discovery 
has
some timing dependence.

Bottom line is that if steps 1-4 (in original post) are repeated as soon as 
an exception is detected, I eventually get connected (within about 5 
repeats).
A single service discovery request has a success rate of 1/3.
Note that I was repeating steps 1-4 if a user selected a menu item and this 
does not work well presumably due to some timing issue.

Repeating just step 4 (connect method) always fails, if the first connect() 
failed.


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to