I've found that if the Uri passed into CropImageView.load(Uri) looks like content://com.android.providers.downloads.documents/document/raw%3A%2Fstorage%2Femulated%2F0%2FDownload%2Fsome_file, then a NumberFormatException will be thrown, which is caused by passing the unchecked raw:/storage/emulated/0/Download/some_file to Long.valueOf(String).
I've added an if-else statement in class com.isseiaoki.simplecropview.util.Util to fix this problem.
Anyway, SimpleCropView is a great work. It has saved me a lot of time on handling image cropping things.
Hello Aoki,
I've found that if the Uri passed into
CropImageView.load(Uri)
looks likecontent://com.android.providers.downloads.documents/document/raw%3A%2Fstorage%2Femulated%2F0%2FDownload%2Fsome_file
, then a NumberFormatException will be thrown, which is caused by passing the uncheckedraw:/storage/emulated/0/Download/some_file
to Long.valueOf(String).I've added an if-else statement in class
com.isseiaoki.simplecropview.util.Util
to fix this problem.Anyway, SimpleCropView is a great work. It has saved me a lot of time on handling image cropping things.
Cheers Makito