10

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.

Community
  • 1
  • 1
angelatlarge
  • 4,086
  • 2
  • 19
  • 36
  • Why not just let the camera take the photo at the default resolution, then scale it to your preferred size in an AsyncTask? – Krylez Aug 29 '13 at 16:59
  • 1
    @Krylez I agree that it seems like you have to do that on Samsung Galaxy SIII; however, it seems like a bit of a roundabout way of doing things and slower as well. If most phones support, say, `1080x960`, and this is a sufficient resolution for my app, try waste resources taking a bigger picture? – angelatlarge Aug 29 '13 at 17:57

1 Answers1

11

So far the only way I could think of getting around this problem is to collect the information myself. You can find the results, and how to contribute here

angelatlarge
  • 4,086
  • 2
  • 19
  • 36
  • 1
    great idea, I just installed the app on 3 devices and sent the camera data...hopefully more people will do it. So far it looks like 640x480 is the most popular resolution for both preview and pics – Cat Aug 23 '14 at 22:56