androidcameraandroid-cameraresolution

List of commonly supported Camera picture sizes


According to this post, 640x480 preview size/resolution can reasonably be expected to be supported on most devices. What about the picture (rather than preview) resolution/size? Is there a way to find out or an existing resource listing commonly supported picture resolutions/sizes across the devices out there? My impression is that 640x480 picture size is widely supported, but what else?

I realize that getSupportedPictureSizes() returns a list picture sizes the current device supports, but I'd like to have an idea of what the distribution of supported picture sizes out there is, across the range of devices out there in the world. From what I could see, neither the Dashboads nor the Developer Console provide this information.

Note 1: One possible way of approximating the data is to start with a list of popular Android devices such as this one, and find out supported camera picture sizes on those phones. Most of the specs sites (such as this one or this one) only have maximum resolution listed.

Note 2: it appears that on some phones setPictureSize() is, for all intents and purposes, broken, and therefore should not be used; however it would still be useful to know common picture sizes for other (non-broken) Android devices.


Solution

  • So far the only way I could think of getting around this problem is to collect the information myself. You can find the results here (archived).