相机错误100 [英] Camera Error 100

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

问题描述

我测试我的三星Galaxy ACE应用,我也得到了支持的尺寸与

I'm testing my application on Samsung Galaxy Ace, and I get the supported sizes with

cameraParams.getSupportedPictureSizes();

它适用于所有的人(320×240),除了 - 在preVIEW变成黑屏,我得到这个错误:相机错误100

推荐答案

相机错误100 - 。媒体服务器死在这种情况下,应用程序必须释放相机对象实例化一个新的

Camera Error 100 - "Media server died. In this case, the application must release the Camera object and instantiate a new one."

执行SDK说什么,释放相机对象,使一个新的。

Do what the SDK says and release the camera object and make a new one.

<一个href="http://developer.android.com/reference/android/hardware/Camera.html">http://developer.android.com/reference/android/hardware/Camera.html

看了这个,太。它可以帮助你:<一href="http://stackoverflow.com/questions/2734886/droids-mediaserver-dies-on-camera-takepicture">Droid's媒体服务器死在camera.takePicture()

Read this, too. It might help you: Droid's mediaserver dies on camera.takePicture()

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

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