Android的摄像头启用模拟器 [英] Android webcam enable in emulator

查看:357
本文介绍了Android的摄像头启用模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海我是新来的Andr​​oid系统。我使用的Andr​​oid4 SDK。我无法启用Android模拟器的网络摄像头。谁能告诉如何启用它。 谢谢你。

Hai I am new to the Android. I am using Android4 sdk. I can't enable webcam in Android emulator. Can anyone tell how enable it. Thanks.

推荐答案

有一种方法可以得到这个工作使用Android虚拟设备管理器。你需要编辑您的AVD,这样在硬件部分无论是配置摄像头朝前或配置摄像头对着背可用。一个,但不是两者,对这些属性的值应设置为webcam0(或任何可用)。然后开始你的虚拟设备,并使用您的摄像头作为一个模拟摄像头。

There is a way to get this working use the Android Virtual Device Manager. You need to edit your AVD so that in the hardware section either "Configures camera facing front" or "Configures camera facing back" are available. One, but not both, of the values for these properties should be set to "webcam0" (or whatever is available). Then start your virtual device and use your webcam as an emulated camera.

如果您有这两个属性设置为webcam0那么你会得到一个警告,当您启动虚拟设备和前/后控制将不会在相机应用程序可用。

If you have both properties set to "webcam0" then you'll get a warning when you start up the virtual device and the front/back control won't be available in the camera app.

这篇关于Android的摄像头启用模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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