'How to set to android webview html mipmap resource png?

I have a png file in mipmap folder. How can I set this png to webview via html code?

String logo = "<link href= \" getResources().getDrawable(R.mipmap.icon)\"</link>";



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source