How to call the application "call number" in a webview?

Asked

Viewed 791 times

3

I have a part in my application that is a webview, how to make so that when clicking on the webview phone, open the call Intent?

1 answer

2


You don’t necessarily have to call one Intent, you can use the "tel URI Scheme", in this way:

<a href="tel:0110000000">Chamar</a>

Or with javascript:

window.location = "tel:0110000000";
  • I’ll take a look, thanks

  • 1

    worked! thanks

Browser other questions tagged

You are not signed in. Login or sign up in order to post.