Android Application Development - Problems with camera application
<p>I'm developing a simple application designed to make use of the Camera API and take a photo and then save it. I'm receiving some strange errors at Runtime and get the text "Unfortunately, CameraDemo has stopped."</p>

<p>I got the code from this tutorial: <a href="http://marakana.com/forums/android/examples/39.html" rel="nofollow">http://marakana.com/forums/android/examples/39.html</a></p>

<p>the <code>mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);</code>is apparently now deprecated. Is there any alternative because I think this is causing the problem.</p>

<p>Here is my logcat error log file as well:</p>

<p><img src="http://i.stack.imgur.com/d6KCZ.jpg" alt="logcat error print"></p>

<p>Anyone have any idea what's wrong?
Thanks,
Dan</p>
