Take multiple photos using MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA

I am interested in capturing multiple images as soon as the camera is opened through the intent of MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA.

I found an answer to a similar problem ( How to take some photos before rejecting the cameraโ€™s intention? ) With some solution for using ContentObserver.

I understand that I will have to register ContentObserver with the MediaStore content provider and then request a multimedia storage to get information about recently added photos from my application.

Is there a way to identify the photos taken that relate to my application? Maybe pass some additional parameters with intentions like EXTRA_MEDIA_ALBUM ?

Thanks in advance.

+4
source share

Source: https://habr.com/ru/post/1480070/


All Articles