Closed
Description
The issue is still there on some mobile phones. Only for downloaded images.
- Library Version - 1.7.1
- Samsung A10
Stack trace
E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Download/image-1.jpg (No such file or directory)
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65560, result=-1, data=Intent { dat=file:///storage/emulated/0/Download/image-1.jpg (has extras) }} to activity
Code
ImagePicker.with(this)
.start { resultCode, data ->
if (resultCode == Activity.RESULT_OK) {
selectedPhotoUri = data?.data
imageView.setImageURI(selectedPhotoUri)
//OTHER WORK
} else if (resultCode == ImagePicker.RESULT_ERROR) {
//ERROR
}
}
Metadata
Metadata
Assignees
Labels
No labels