I have built a custom Camera App and I am trying to change the resoloution of the image that is took. I have read around that this could depend on the phone or version of An
There is no setResolution()
, only setPictureSize()
. Use getSupportedPictureSizes()
on Camera.Parameters
to find the size you want, or use that information to populate a ListView
or Spinner
or something for the user to choose the desired size. Here is a sample project recently updated to use getSupportedPictureSizes()
to find the smallest supported resolution and use that.