Home » Java » Webview appending file:///android_asset on links on android

Webview appending file:///android_asset on links on android

Posted by: admin September 26, 2018 Leave a comment

Questions:

I am using webviews on android. I have HTML file in my asset folder. I have 2 issues:

  • The links are not clickable inside webview until I have anchor tag to links.
<p><a href="www.google.com"> http://www.google.com </a> Lorem ipsum dolor sit amet, ei vix tempor aliquam temporibus. Percipit invidunt mnesarchum ex usu, et quo eruditi sententiae scripserit, eripuit habemus ne vel. http://www.yahoo.com Mollis oblique et ius, vero saperet an eam. Ne qui vivendum cotidieque, cu ludus sententiae nec. No justo docendi his, eos te tamquam deseruisse.
  </p>
Answers: