Realize the function of directly calling the phone by clicking the mobile phone number when the mobile phone accesses the website

At present, basically all browsers support the WTAI function. The full name of WTAI is Wireless Telephony Applications Interface; the longest function of this function is the dialing function, and it is basically adapted to different models, but the function of sending SMS is not very good. Many phones do not support it.

Let ’s briefly talk about a few common functions: dialing a phone, sending a text message, and depositing it in the phone book
<a href="wtai://wp/mc;10000">拨打10000电话测试</a>[basically do it universally]
<a href="wtai://wp/ap;10000;">将10000存入电话簿 </a>
<a href="sms:10000?body=ktgj">开通挂机短信 </a>[First explain it: sms: 10000 means to send a text message to 10000; body = ktgj means the content of the text It is ktgj.
Sending SMS is not recognized on many mobile phones. For example, the above instructions will not work on Android phones. The display phone number area is: 10000? Body = ktgj; on Mobile phones, the display number area is 10000, and the SMS content area is ktgj.

When a mobile phone accesses a website, it can directly make a call by clicking the mobile phone number displayed on the webpage.
< a href=”wtai://wp/mc;158xxxxxxxx ”>号码< /a>
Making calls in this way is only supported on Symbian and Android, but iPhone is not supported.
< a href=”tel:158xxxxxxxx”>号码< /a>
This way Symbian, Android and iPhone are supported.

Other methods:
dial the phone number through the web page:
< a href=”wtai://wp/mc;158xxxxxxxx ”>拨打电话< /a>
Note: 158xxxxxxxx is the number, you can change to the number you want to dial.

Store phone number via web page:
< a href=”wtai://wp/ap;158xxxxxxxx”>存储号码< /a>
Note: This method can directly call up the interface for saving phone number on the phone.

<a href="sms:10086?body=000">点这里发短信000至10086</a>
<a href="wtai://wp/mc;10086">点这里发拨打10086</a>
body = followed by the default SMS content

Published 147 original articles · praised 49 · 160,000 views +

Guess you like

Origin blog.csdn.net/bigbear00007/article/details/105461754