And because I have read your question too fast, you have to put your html file in the assets directory too
Guitouille On 14 jan, 16:42, tikky <tiku...@gmail.com> wrote: > Hello, > > I have a locally stored webpage (html) under res/raw folder. The html > is something like this: > > <html> > <body> > This is a test page > <br></br> > <img src="test.gif"></img> > </body> > </html> > > There is an image that is referenced in this html page (test.gif) > which is stored under res/drawables. > > When I use a webview to display this page, it does not display the > image. How can I correctly reference the path to the test.gif image? > > I tried using a text view with Html.fromHtml() but that does not parse > several html tags. > > Any help on this issue will be greatly appreciated.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en