基于Android 4.0的Virtual Box模拟器无法从笔记本电脑检测到蓝牙4.0 [英] Android 4.0 based Virtual Box emulator can't detect Bluetooth 4.0 from Laptop

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

问题描述

当前,我正在与蓝牙4.0设备通信的Android应用程序上工作.到目前为止,我在应用程序中加入了 broadcom-ble 并做了一些示例代码.实际上,我没有基于蓝牙4.0的Android智能手机,因此出于测试目的,我只安装了Oracle Virtual Box,并在其中使用了 android-x86-4.0-RC2.iso .我可以在Virtual Box上成功运行一些示例基于蓝牙的android应用程序.问题是Virtual Box可以从我的笔记本电脑中找到Bluetooth 2.0.但是当我尝试使用蓝牙4.0时,VM无法检测到蓝牙4.0.我的笔记本电脑具有蓝牙4.0,但是VM机器找不到蓝牙4.0.我在虚拟机上安装了 android-x86-4.0-RC2.iso .如何使我的Android 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.

注意:我已使用同一Android 4.0 VM从笔记本电脑成功检测到Bluetooth 2.0,该问题仅适用于Bluetooth 4.0.我正在使用包含蓝牙4.0的Sony Vaio.

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上,因为当您使用便携式蓝牙时,Virtual Box会将便携式蓝牙当作USB设备使用.升级Oracle VM版本,即可解决问题.

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的Virtual Box模拟器无法从笔记本电脑检测到蓝牙4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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