Auto. Dial the phone number from the web application in your mobile browser.

I want to create a link in my html page for a phone number so that clicking on that number will start a phone call.

Using the anchor tag with href="tel:{phone number}"

, we can create a phone link, but in mobile browsers, clicking on such a link will open the dial pad and show the user to save a contact or make a call.

I want to avoid all these things, instead clicking on the number should automatically dial it and start the call (the way we have it when calling WhatsApp)

There are suggestions here.

Thank.

+3


source to share


1 answer


It's impossible. You have no control over how the device handles links tel

, as this will open the door for malicious websites to abuse the device.



There are some apps like Facetime or Whatsapp that support opening links and take action right away, but they use customized URL schemes. When users click on a link for Facetime or Whatsapp for the first time they have to give the order to launch the application.

0


source







All Articles