Href = "tel:" on android trying to add a contact instead of launching a call

I have a standard html tag:

<a href="tel:08435034853"... 

While IOS and some Android devices start a call, others, such as nexus7 / android4.4, display a popup with action buttons: Close / Add to contacts

Could not find anything about this, how does the new android work?

Does anyone know if it is possible to force all Android devices to be called?

+8
android href cordova
source share
2 answers

First of all, you can check out this thread on this topic. It has some potential tips that might work on some exclusive devices.

In addition: not all Android devices are capable of making voice calls. For example. I am sure that the Nexus 7 you are mentioning is not. In such cases, a reasonable alternative suggests the user to add the number to the contacts instead. Is it not possible that your problematic devices simply lack the voice call feature?

+4
source share

Create one javascript function and add the following code:

 function makeCall(contactNo) { document.location.href = 'tel:' + contactNo; } 

And it works fine in Android 4.4

-one
source share

All Articles