Android Application Development - Problems with camera application
===

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."

I got the code from this tutorial: http://marakana.com/forums/android/examples/39.html

the `mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);`is apparently now deprecated. Is there any alternative because I think this is causing the problem.

Here is my logcat error log file as well:

![logcat error print][1]

Anyone have any idea what's wrong?
Thanks,
Dan


  [1]: http://i.stack.imgur.com/d6KCZ.jpg