Android 2.3 与 2.2.1 蓝牙
谁能告诉我Android更新中的蓝牙功能是否有任何变化? 我有一个应用程序,它同时使用传输和接收,总共 5 个连接的设备,这在具有 2.2.1 的 Motorola Droid2 上完美运行,但不适用于运行 2.3 的 ATRIX
当然可能涉及硬件元素,但我想建立这第一。
提前致谢。
约翰
Can anyone tell me if there have been any changes to the bluetooth functionality in the Android update?
I have an app which uses transmission and reception concurrently with a total of 5 connected devices and this works perfectly on a Motorola Droid2 with 2.2.1 but not on the ATRIX running 2.3
There may of course be a hardware element involved but I wanted to establish this first.
thanks in advance.
John
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到的问题是蓝牙连接仅在第二次尝试时有效 - 第一次几乎总是在内部失败(IOException)。而且两次试验之间的时间并不多。这是在我的 2.3.3 索尼手机上。 Logcat 显示的一些消息可能暗示 bluez 或 bluez/java 集成存在内部问题。
此问题在 2.2.x 三星手机上没有出现。请注意,我的程序一次仅使用一个连接。
I had the problem that the bluetooth connection worked only on the second try - the first one almost always fails internally (IOException). And you don't have much time in between trials. This was on my 2.3.3 Sony phone. Logcat showed some messages that might imply an internal problem in bluez or with the bluez/java integration.
This problem did not manifest on a 2.2.x Samsung phone. Note that my program only uses one connection at a time.
Android 网站 说“更新了 BlueZ 堆栈”,但仅此而已。
你检查过日志吗,你得到了什么错误?
此外,我想您可以尝试使用不同版本的 Android 运行不同的模拟器,看看其行为如何。Android website says "updated BlueZ stack", but that's all.
Did you check the logs, what are the errors you're getting?
Also, I guess you can try running different emulators with different versions of Android and see how that behaves.