I am using a slightly modified version of the Camera API Demo and it works in the emulator. I am using a reflect class I found in one of the mailing groups, but I still get
You can't use arbitrary preview sizes. You'll need to use Camera.Parameters.getSupportedPreviewSizes() and Camera.Parameters.getSupportedPictureSizes() to find the closest preview and picture size to your desired size.