Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.5.0
-
None
Description
I use InapBrowser to open site which has some buttons containing with href="tel:somenumber"
The app opens the phone and the number is there, I think a DIAL intent is used. However after hanging up the phone you get the message that teh page "tel:somenumber" could not be opened.
By adding this code in the InappBrowser, I get the wanted behaviour
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
if (url.startsWith(WebView.SCHEME_TEL))
return false;
}