Skip to content

Change the path in a URI#1

Open
lolobosse wants to merge 1 commit intotediscript:masterfrom
lolobosse:patch-1
Open

Change the path in a URI#1
lolobosse wants to merge 1 commit intotediscript:masterfrom
lolobosse:patch-1

Conversation

@lolobosse
Copy link

I changed the path to URI for two reasons : for personal convenience and also because Android 4.4 has another File System and it's yet impossible to convert URI in Path : http://stackoverflow.com/a/19985374/2545832

To call the library, the only change you have to do is :
intent.putExtra(CropImage.IMAGE_URI, imageUri.toString()) instead of : intent.putExtra(CropImage.IMAGE_PATH, path);

I changed the path to URI for two reasons : for personal convenience and also because Android 4.4 has another File System and it's yet impossible to convert URI in Path : http://stackoverflow.com/a/19985374/2545832

To call the library, the only change you have to do is :
intent.putExtra(CropImage.IMAGE_URI, imageUri.toString()) instead of : intent.putExtra(CropImage.IMAGE_PATH, path);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants