put image in assets folder..
then
<img src = "file:///android_asset/filename.png">

Thats it..
try now.

On Sep 19, 1:29 am, Agus <[email protected]> wrote:
> How to reference resources (images)  from a HTML page in webview?
>
> I am trying to display an image in html and the image is an android
> resource.
>
> <html>
> <body>
> <img src=" ? " />
> </body>
> </html>
>
> What should i put on src attribute?
>
> Thanks,
> Agus.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to