I want to display some text and image in webview. FOr this i am using a template html string.
Within this template i want to replace the {image} with the path for an image in drawable folder
i tried
str = str.replace("{image}","res/drawable-hdpi/about.png" )
but the image is not coming. Is this the right way to give path. Or what is the right solution
Thanks a lot for your time and help