Skip to main content
Language

From Gallery

Open the Gallery for result using the ACTION_PICK action and MediaStore.Images.Media.EXTERNAL_CONTENT_URI Uri.

If the gallery exits with Activity.RESULT_OK, we get the Uri of the selected photo using Intent.getData().

Start Editor#

Configure the LoadSettings to set the source to the Uri of the selected photo. The PhotoEditorBuilder takes in the configured PhotoEditorSettingsList and starts the photo editor. The result is obtained in the onActivityResult() method when the editor exits.