sunil
sunil

Reputation: 9681

Problem in Bluetooth connection over SPP in Android 2.3.3 in Nexus One?

I just updated Nexus One with Android 2.3.3 and it seems that the bluetooth connection over SPP have stopped working in my app.

The same app works alright in HTC Desrire with Android 2.2 and the same app use to work properly on Nexus One too. The problem started after upgrading to Android 2.3.3.

Can anyone let me know what may be the issue?

Upvotes: 0

Views: 1731

Answers (2)

gbryant
gbryant

Reputation: 780

I found the same issue. I was not able to get the reflection to work for insecure comms, but the public interface did work.

The symptom is that the connect() call throws the IOException "Connection Refused" every time on 2.3.3, while the code worked fine on 2.2.

I opened a defect against android here: http://code.google.com/p/android/issues/detail?id=15919&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars

Upvotes: 0

sunil
sunil

Reputation: 9681

I was able to solve this issue by using createInSecureRfcommSocket API and also there is a way of connecting through reflection for insecure connections.

Upvotes: 1

Related Questions