Is there a big encountered similar problems?
Android by iterating through the custom camera camera support preview pictures and size, by the parameters. The setPreviewSize and the parameters setPictureSize set preview pictures and size, only to the default open cameras work, another camera preview and photo size selection on the part of models to support the maximum resolution of the camera, on a small number of model is used in the default camera support minimal size, such as: photos of the model a front-facing camera support maximum resolution of 5120 x3840, rear of 3968 x2976, and resolution were obtained through the algorithm for the 1920-1080, if you set the default open for rear camera, through the parameters. The setPictureSize () after setting, rear pictures for size is 1920 x1080, after transformation front pictures for size is 5120 x3840, which is the biggest picture resolution camera support, if you set the default open front-facing camera, then the front photographs is normal size is 1920 x1080, conversion, after the rear pictures taken 3968 x2976 size for the largest size,