I try to access my Images from www/assets/imgs folder through file:///android_assets/www/assets/imgs folder, but whenever I add images to src/assets/imgs it doesn’t exist in file:///android_assets/www/assets/imgs folder. How to retrieve my images then?
show code how you try to get the images.
Best regards, anna-liebt
That is my code to show my list directory, I have put my image in src/assets/imgs as well.
and all folder exist except imgs folder.
This will never work. Applications aren’t packaged this way; instead the stuff under
/assets gets bundled up into the app binary and served via a virtual filesystem that is invisible to the file plugin or any other filesystem access method. The only way you can get at them is over HTTP.