php - How can I see if tel: is actually linked to a device that can make a call? -


I am currently on a project to find out if a device can make phone calls. It depends on whether it can or does not, I need to switch the approach and implement two separate functions, there is a phone to make a number on a phone: on HTML, the other is a button for you , Which will enter your number and we'll call you using 'Phonality.' Currently, I have been able to install such plugins / libraries such as Varuf or Terraubourfal, which is 100% reliable way to detect mobile phones or tablets. / Desktop can make a phone call.

Is there any server side or user-side solution, such as in the Vorphl / Terwurf or in a JavaScript ajax call that I missed "I do tele: works" or something of that nature.

Here is a PHP class that I can use to download a mobile browser for free.

Once you can set up correctly, you can use the code like this:

  if ($ Detect-> isMobile ()) {// Any mobile platform /   

Or you may be more specific:

  if ( $ Detect-> isiOS ()) {// code for the Apple iOS platform}   

This is usually Obail is used to create websites, but it will fit your purpose :)

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -