相机在Android模拟器 [英] Camera in android emulator

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

问题描述

我使用Android SDK 4.0.3和eclipse靛蓝,我试图发展其采用了摄像头的应用程序。当我拍张照片,出现此消息:

I use android SDK 4.0.3 and eclipse Indigo and I'm trying to develop an application which uses a camera. When I take a photo, this message appears:

不幸的是,相机已停止。

Unfortunately, camera has stopped.

在Eclipse控制台:

In the eclipse console:

模拟器:错误:_camera_client_query_frame:无法获取来自相机的/ dev / video0的'第一个视频帧在2009年毫秒:资源暂时不可用

emulator: ERROR: _camera_client_query_frame: Unable to obtain first video frame from the camera '/dev/video0' in 2009 milliseconds: Resource temporarily unavailable.

我的操作系统是Debian的挤压。我能做什么?谢谢你。

My OS is Debian Squeeze. What can I do? Thanks.

推荐答案

在模拟器相机无法正常工作。你必须尝试在真实的设备。

In emulator camera does not work properly .You must try it on Real Device.

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

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