Skip to content Skip to sidebar Skip to footer

I Can't Change Android Camera Resolution

This is my code in onPreviewFrame Method. The frame that shows on the surfaceHolder is fine. I Already set the resolution with this code at first mCameraParameter = mCamera.getPa

Solution 1:

Maybe you are trying to set an unsupported preview size. Better call "getSupportedPreviewSizes()" and check if the preview size you want to set is supported by your device before calling setPreviewSize().

Solution 2:

I think you should call setPictureSize() to set the size of the picture itself (not the preview).

Post a Comment for "I Can't Change Android Camera Resolution"