Here is my camera setup:
param = camera.getParameters();
param.setPictureFormat(ImageFormat.YV12); // Removing this line fixes the error
param.setPreviewSize(800, 480)
param.setPictureSize(800, 480);
camera.setDisplayOrientation(90);
camera.setParameters(param);
Setting the ImageFormat causes setParameters failed
error. So its clearly not the resolution thats the problem. I've also checked supported picture/preview resolutions on the device so there is definitely no problem there.
This Image Format is supposed to be compatible on all devices... whats the story?