Open abhisheksachdeva opened 8 years ago
Do you have permission to write to external storage?
Yes. I had added permissions to read and write in manifest.
Do they often happen in your app ? or does it have a probability?
Actually, After this issue, I had removed that part. So, It never happened again.
Hi, I used custom compressor (same as given in your example) but it returned an image of 0 bytes. When i removed
.setDestinationDirectoryPath(Environment.getExternalStoragePublicDirectory( Environment.DIRECTORY_PICTURES).getAbsolutePath())
It worked! I am using android 4.4.2 What can be the possible reasons for this? Thanks