Android 4.0的基于虚拟盒仿真器不能从笔记本电脑检测蓝牙4.0 [英] Android 4.0 based Virtual Box emulator can't detect Bluetooth 4.0 from Laptop

查看:182
本文介绍了Android 4.0的基于虚拟盒仿真器不能从笔记本电脑检测蓝牙4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我工作的Andr​​oid应用程序是与蓝牙4.0设备进行通信。截至目前,我包括博通-BLE 在我的应用程序,并做了一些样品codeS。其实我没有蓝牙4.0基于Android的智能手机,因此对于测试的目的,我只是安装了Oracle虚拟框和用于它的 Android的x86-4.0-RC2.iso 。我可以成功地运行在虚拟框一些样本基于蓝牙的Andr​​oid应用程序。问题是虚拟框可以找到蓝牙2.0,从我的笔记本电脑。但是当我尝试使用蓝牙4.0,虚拟机无法检测到蓝牙4.0。我的笔记本电脑有蓝牙4.0,但VM机找不到蓝牙4.0。我是安装的 Android的x86-4.0-RC2.iso 虚拟机。我怎样才能让我的Andr​​oid 4.0的虚拟机可以检测到蓝牙4.0,从我的笔记本电脑。

Currently I am working on Android application which is communicates with the Bluetooth 4.0 Device. As of now, I included broadcom-ble in my application and did some sample codes. Actually I don't have Bluetooth 4.0 based Android Smart phone , so for the testing purpose I just Installed Oracle Virtual Box and used android-x86-4.0-RC2.iso in it. I can successfully run some sample Bluetooth based android application on Virtual Box. The problem is Virtual Box can find Bluetooth 2.0 from my laptop. but when I try to use Bluetooth 4.0 , VM can't detect Bluetooth 4.0 . My Laptop have Bluetooth 4.0, but VM machine can't find Bluetooth 4.0. I was Installed android-x86-4.0-RC2.iso on Virtual Machine. How can I make my Android 4.0 Virtual machine can detect Bluetooth 4.0 from my Laptop.

注:我用的是相同的Andr​​oid 4.0的虚拟机成功地检测到蓝牙2.0的笔记本电脑,这个问题只适用于蓝牙4.0。我使用索尼Vaio包含蓝牙4.0。

Note: I was successfully detected Bluetooth 2.0 from Laptop using the same Android 4.0 VM, the problem is only for Bluetooth 4.0 . I am using Sony Vaio which contains Bluetooth 4.0.

请有一个人帮我请。

推荐答案

问题也许是对USB,因为当你在使用笔记本电脑的蓝牙,虚拟盒为您的笔记本电脑的蓝牙作为USB设备。升级Oracle虚拟机版本,它会解决这个问题。

Problem maybe is on the USB, because when you are using the laptop bluetooth, Virtual Box takes your laptop bluetooth as a USB Device. Upgrade the Oracle VM version, it will solve the problem.

这篇关于Android 4.0的基于虚拟盒仿真器不能从笔记本电脑检测蓝牙4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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