Mobile phone calls and SMS tips

Source: Internet
Author: User

1. Settings <meta> Tags

<meta name= "format-detection" content= "Telephone=no" >
When the HTML page is browsed on the phone, the label is used to specify whether to display the phone number in the page content as a dial-up hyperlink.
The default value on the IPhone is:
<meta name= "format-detection" content= "Telephone=yes"/>
If you don't want your phone to automatically display the phone number in your page as a dial-up hyperlink, you can write:
<meta name= "format-detection" content= "Telephone=no"/>

2. Make a phone call

The most commonly used Web page JS implementation of one-touch dialing phone calls function:

<a href= "tel:10086" > Mobile Web Page JS One-click Call Number Consulting function </a>

On the dial-up interface, display the number and prompt to dial.

3. Send SMS

<a href= "sms:10086" > Mobile Web page JS One click send SMS Advisory Function </a>

In the information entry interface, display the sending number, and prompt input information.

4. Make a call using the Wtai protocol.

The code looks like this:

Instance:

<a href= "wtai://wp//mc;10086" > Call 10086 </a>
<a href= "wtai://wp/ap;10086;" > Save 10086 to the phone book </a>

It is recommended that this approach be used.

Mobile phone calls and SMS tips

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.