Android Question help file not found

Nkalampika

Active Member
Licensed User
hello i want to display an image in an imageview thanks to B4aGridView but i get an error after click event:
java.io.FileNotFoundException: file:/storage/emulated/0/WhatsApp/Media/WhatsApp Images/IMG-20190530-WA0004.jpg: open failed: ENOENT (No such file or directory)
 

Computersmith64

Well-Known Member
Licensed User
Unless your app is called "WhatsApp" it looks like you're trying to open a file from another apps resources (which you can't do in Android). Since you haven't posted any code or anything else that might be useful, I'd say that you need to put the image into your app's Files folder (in the B4A IDE), then load it from there.

- Colin.
 
Top