Hi all

Porting android to a new platform I'm a bit stuck with the camera 
function. I'm getting an "Unfortunately, the Camera has stopped" dialog 
and these lines in the log

D/Camera  ( 1033): app passed NULL surface
W/dalvikvm( 1033): threadid=11: thread exiting with uncaught exception 
(group=0xb561b1f8)
I/Process ( 1033): Sending signal. PID: 1033 SIG: 9

What does that mean? Is the "app passed NULL surface" message really fatal 
for the camera application or is unrelated? If it is important - what can 
be the reason? I so far traced that NULL surface down to the 
surfaceChanged() callback in 
packages/apps/Camera/src/com/android/camera/Camera.java, which doesn't 
seem to be ever called, so, mSurfaceHolder is never set. What can that 
mean? A problem with the kernel framebuffer driver or with the camera HAL 
implementation?

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to