I am building an android application. I am showing external webpage in webview. I have followed these steps:
- Load external website in webview. For example example.com, it loads fine in webview
There is an option in example.com site to launch Dialer app on button click. Here is the code.
<div class="center"> <input type="image" src="btn.png" onclick="location.href='tel:0000';"/> </div>
When I go to example.com from mobile browser and click on button, it can launch Dialer app with phone number
When I click from webview it shows this error
Web page not available The web page at tel:0000 could not be loaded because: net::ERR_UNKNOWN_URL_SCHEME
I do not know what is went wrong. Any clue will be helpfull.
NB: I am using real phone number (here it is 0000).
Thank you