biokys / cropimage

Replacement for deprecated official Android crop image function
555 stars 292 forks source link

Cropped image does not get set in imageview in Galaxy s6 #57

Open DavidRajPaul opened 8 years ago

DavidRajPaul commented 8 years ago

Right after selecting the image from gallery, the cropping class is getting called. After selecting the portion in the image to crop and tapping crop nothing happens. This happens only in samsung devies, especially Galaxy S6 and S6 edge. Please help. Below is the code i am using to call the CropImage class. Intent intent = new Intent(context, CropImage.class); intent.putExtra(CropImage.IMAGE_PATH, path); intent.putExtra(CropImage.SCALE, true); intent.putExtra(CropImage.ASPECT_X, 2); intent.putExtra(CropImage.ASPECT_Y, 2); getActivity().startActivityForResult(intent, PIC_CROP);

Has someone face similar issues?

Mshuu commented 8 years ago

Hey Mate,

This is a bit old but incase someone finds this.

I get the same issues if the application does not have permissions to WRITE external storage. Make sure you have; __