I am opening android camera using intent like this :
Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, mCapturedImageURI);
startActivityForResult(cameraIntent, CAMERA_PIC_REQUEST);
But camera always opens 6mp resolution (i think its devices max camera resolution) i want to open it lower resolution like 2mp. Is there anyway to do this
Thanks for any advice.
Unfortunately there is no way you can do this. Once a different application is lauched the settings of that app can only be changed by the user using the application.
It would be disastrous to allow other apps to change the settings of an app.
So you have two options now -
This option is available only for video capturing, using this lines
For our disasapoitment "MediaStore" don`t have parameter for EXTRA_IMAGE_QUALITY