Android-image-cropper: Activity is not opening

Created on 11 Nov 2017  路  1Comment  路  Source: ArthurHub/Android-Image-Cropper

This code works:
CropImage.activity()
.setGuidelines(CropImageView.Guidelines.ON)
.start(activity);

But this code is not working
CropImage.activity(Uri.parse("/storage/emulated/0/DCIM/Camera/IMG_20171105_163601.jpg"))
.setGuidelines(CropImageView.Guidelines.ON)
.setMinCropResultSize(300, 150)
.setMaxCropResultSize(3000, 1500)
.start(activity);

Most helpful comment

this works:
CropImage.activity(Uri.parse("file:///storage/emulated/0/DCIM/Camera/IMG_20171105_163601.jpg"))

>All comments

this works:
CropImage.activity(Uri.parse("file:///storage/emulated/0/DCIM/Camera/IMG_20171105_163601.jpg"))

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danponce picture danponce  路  3Comments

Ani24may picture Ani24may  路  5Comments

joseph-acc picture joseph-acc  路  9Comments

gilshallem picture gilshallem  路  8Comments

key321 picture key321  路  9Comments