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?
通过使用createInSecureRfcommSocket API,我能够解决此问题,并且对于不安全的连接,还有一种通过反射进行连接的方法。
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.