A
A
Alexander2021-05-07 19:48:33
Java
Alexander, 2021-05-07 19:48:33

How to set the maximum resolution?

I'm using the built-in camera app.

cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(cameraIntent, CAMERA_REQUEST_CODE);

But it seems that the image with the lowest resolution is returned to me.
So the question is how to set up the camera so that it takes pictures with the highest available resolution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mimocodil, 2021-05-08
@Ezekiel4

If I understand your question correctly, then the information you need is in this part of the official help:
https://developer.android.com/training/camerax/con...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question