问题描述
我做了一个使用Android SDK中2.1的应用程序。这个应用程序使用蓝牙连接到多个设备。
I made an application that is using Android SDK 2.1. This application uses bluetooth to connect to multiple devices.
我有3个HTC梦(谷歌G1)作为测试设备。在应用程序运行它们真的没事。他们扎根和Android 2.1上运行的。
I have 3 HTC Dreams (Google G1) as test devices. The application is running really fine on them. They are rooted and Android 2.1 is running on them.
如果我和我的HTC Desire(Android 2.1的更新1)加入,从蓝牙套接字读取流始终如果有超过1个蓝牙引黄联接开闭。时引发的例外是一个IOException异常和CorruptedStreamException。
If I join with my HTC Desire (Android 2.1 Update 1), the streams that read from the bluetooth socket are always closed if there is more than 1 bluetooth connetion open. The exception that is thrown is a IOException and a CorruptedStreamException.
一个类似的问题是,有时我不能用我的HTC Desire其他设备连接,而连接反过来是工作得很好。
A similar problem is, that sometimes I can't connect with my HTC Desire to the other devices, while the connection other way round is working perfectly well.
是否有任何知道该组合的HTC Desire采用蓝牙与Android 2.1的问题UPDATE1?
Are there any know issues with the HTC Desire in combination with Bluetooth and Android 2.1 Update1?
推荐答案
在HTC Desire的蓝牙SPP配置文件坏了,有车的实现。
The Bluetooth SPP profile in HTC Desire is broken and has a buggy implementation.
干杯,
马杜
这篇关于Android 2.1系统和放大器; HTC Desire的:有一个蓝牙的问题? (CorruptedStreamException)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!