Android Camera setPictureSize

I am developing an android camera application. The device for which I’m developing the app has the following supported Preview sizes in descending order 1920 x 1080 1280 x 720 1088 x 1920 960 x 720 ……