Our app uses a bluetooth connection and has been working fine for
about a year. On a new Samsung G S2 phone we are seeing a problem
connection the socket. The error is 'Service discovery failed'.

Now we've seen this on HTC phones, and the solution was to include a
call to createRfcommSocket, if the call to
createRfcommSocketToServiceRecord failed. But the same code isn't
working on this Samsung.

So I am thinking that maybe by forcing the call to createRfcommSocket
we can get this to work.

However I cannot find any information about what createRfcommSocket is
doing, differently than createRfcommSocketToServiceRecord. Is there
any information on what that call does?

Are there any other ideas on how to resolve this issue that doesn't
include using an undocumented call?

Thanks.

-- 
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

Reply via email to