Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android-camera-server-died-and-camera-error-100

Tags:

android

camera

I have a question that is follow up on Android Camera Server Died and Camera ERROR 100

I am getting similar error in my code. This error comes in automated test in which we are running many applications randomly. After a very long time we see this error :

E/Camera ( 2088): [Camera.java:570:handleMessage()] Error 100

In your message you have written that you have solved this issue, could you please tell what you did to resolve this issue?

like image 999
PCP Avatar asked Mar 29 '12 17:03

PCP


1 Answers

I got that error in emulator, solved by removing camera.setPreviewDisplay(holder) from surfaceCreated() and calling it only in surfaceChanged().

I'm a newbie but I hope this helps.

like image 147
myname Avatar answered Sep 28 '22 08:09

myname