Android Question display image in webview

tsteward

Well-Known Member
Licensed User
Longtime User
I'm having trouble displaying images in webview. This worked fine before my computer crash but since rebuilding and reinstalling everything I have had a few issues.

When I compile my app and load html into webview it no longer show images it seems it cant find the image files.

html is <img src='File:///android_asset/hu92r.png'><br>
 

tsteward

Well-Known Member
Licensed User
Longtime User
hu92r.png should be in your files folder.
Additional i guess it should be referenced by file:///android_asset/hu92r.png (note the lower cased file)
Yes it is in the files folder. I fixed the 'File' to 'file'. Still doesnt work.
I have many html file that load at certain time and non of the hundred or so images load anymore. Frustrated and dont understand why.

I have had this working just fine until I rebuilt my computer.
The app used to be stored in a dropbbox folder but wouldn't compile from there anymore, I had to move it to a different folder to get it to compile at all.
I now have solved most problems and can compile the app, all seems good but for this issue.
 
Upvote 0

tsteward

Well-Known Member
Licensed User
Longtime User
found the answer here https://www.b4x.com/android/forum/t...g-rapid-”-b4a-3-50-version.38981/#post-230988
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…