RLScott wrote: > I am writing some help files in HTML that will be displayed in a > WebView. The HTML files are in the assets folder. In those help > files I want to refer to some images used in ImageButtons. Those > images are in res/drawable. I know I could simply make a duplicate PNG > file for the button images in assets and that works fine. But I would > rather not duplicate the images for two reasons: 1. It is a waste of > space to store images twice. 2. Having duplicate sources makes it > difficult to maintain the software. If I should ever change the > button image I would have to remember to change the duplicate PNG file > in assets to keep the help file up to date. > > I tried referring to the image in my HTML file as "../drawable/ > imagename.png and it didn't work. Is there some way to make my HTML > in the WebView refer to images that are in a different folder in the > application package?
hi, what about custom ContentProvider serving Drawables? pskink -- 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