问题在Nexus One的Andr​​oid中2.3.3蓝牙连接在SPP? [英] Problem in Bluetooth connection over SPP in Android 2.3.3 in Nexus One?

查看:92
本文介绍了问题在Nexus One的Andr​​oid中2.3.3蓝牙连接在SPP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新的Nexus One采用Android 2.3.3,似乎在SPP蓝牙连接已在我的应用程序停止工作。

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.

相同的应用程序工作正常的在HTC Desrire与Android 2.2和相同的应用程序使用,以在Nexus One上正常工作了。升级到Android 2.3.3后的问题开始。

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 was able to solve this issue by using createInSecureRfcommSocket API and also there is a way of connecting through reflection for insecure connections.

这篇关于问题在Nexus One的Andr​​oid中2.3.3蓝牙连接在SPP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆