I have difficulty in reading image file from Samsung device A02s into image component. Actually I have one sound file and another is image file (.JPG). in a folder named “FFB”. I have read successfully mp3 file from the same folder but when I tried to load image file named “Image.JPG” from this folder. Image component is unable to show it.
I have used this path to access mp3 file and jpg files:
file:///storage/emulated/0/FFB/Audio.mp3 (Successfully read and played using player component)
file:///storage/emulated/0/FFB/Image.JPG (Unsuccessful to read in Samsung and other devices, I have success in Google Pixel 2 XL phone.)
Please help me using correct method of reading image file using path.
GREAT FRIEND, I’m also new to programming, but let’s not give up, I’m creating some code to understand the asd paths including for android 11 version, I’m seeing several with the same problem but we’ll manage.
Folder FFB is generated by saving the image using Camera.After Picture event which is successful. Write image is successful. This image is changed overwritten by the user and is not an asset that can’t be changed or overwrite. Reading an Audio mp3 file from this same folder is successful.