Android Question Linking local image in webview with LoadURL()

AmenO123

Member
Licensed User
Longtime User
Say I have logo.jpg added to the assets folder how can I use LoadURL() method and have that image referenced in the HTML code? (external URL)

or I can only use LoadHTML()?

I already tried:
HTML:
<img src='file:///android_asset/logo.jpg'/>
But it didn't work

Thank You.
 

mcqueccu

Well-Known Member
Licensed User
Longtime User
Upvote 0

AmenO123

Member
Licensed User
Longtime User
Upvote 0
Top