Can't load images in webview on Android

 

Hi T.

this is what I did:

  1. Extract the urls of the images needed out of the source of my html.

  2. I moved them to the documents directory

  3. I could then load them!

I’ve tried to work around this by renaming the .png files to .pngx (just in case the issue was related to the warning about certain file types found here: http://docs.coronalabs.com/api/library/system/ResourceDirectory.html) but that does NOT workaround the bug in Corona.

You have to rename the .png to png.txt in the ResourceDirectory.

Then after the move to the DocumentsDirectory change the filename back to .png!