On Motorola Droid, Firmware 2.1-update1, Kernel 2.9.29-omap1, Build # ESE81
When attempting to take a picture, mediaserver dies with a segmentation fault.
I
You are missing most of the code necessary to work with a Camera. Here is a sample project that is more complete.
Camera