This is my code that I use to save the image to a Bitmap. This piece of code is based on the code from CyanogenMod\'s camera app so I would assume it would work
Are you setting the parameters from the back camera to the front camera? Another thing to test is for the front camera, first try not setting any parameter, just use the default settings to see if it will work. I ran into similar problems on Samsung devices but that was for back camera. Also you may need to rotate the images taken with front camera(for Samsung devices back camera needs that too)
public static Bitmap rotate(Bitmap bitmap, int degree) {
int w = bitmap.getWidth();
int h = bitmap.getHeight();
Matrix mtx = new Matrix();
mtx.postRotate(degree);
return Bitmap.createBitmap(bitmap, 0, 0, w, h, mtx, true);
}