Skip to main content
Language

To Local Storage

Start Editor#

For the sake of this example, we load a photo from the resources into the photo editor.

Configure the PhotoEditorSaveSettings to save the exported photo to a custom Uri using the setOutputToUri() method. In this example, we create a file in the cache directory and get its Uri using the Uri.fromFile() method.

Handle Result#

The result from the editor is received in the onActivityResult() method. EditorSDKResult wraps around the intent and provides a convenient API to check the result. The Uri of the exported photo can be accessed via EditorSDKResult.resultUri.