When you visit a page, the usual features are introduced

Source: Internet
Author: User

Source Network The following article is mainly about how links in Web pages can be written to activate the function of the phone. For example, the page shows a phone number, when the user clicks the phone number in the mobile browser, the opportunity to pop up the dial panel, or the SMS program will start.

1. Call
In Android browsers, if the phone number is xxx-xxx-xxxx, the Dial-up panel activates when the user clicks it, but the dial-up function does not start if it is not in this particular format. You can actually activate the dial panel by linking.
(1) The wording of the iphone
[Phone_number] is the phone number.

    1. <a href= "Callto:[phone_number" >phone_number</a>
Copy Code

Example:

    1. <a href= "callto:12345678" >12345678</a>
Copy Code

(2) How Android is written
[Phone_number] is the phone number.

    1. <a href= "WTAI://WP/MC; [Phone_number] ">phone_number</a>
Copy Code

Example:

    1. <a href= "wtai://wp/mc;12345678" >12345678</a>
Copy Code

Precede the phone number with a + (plus sign) to indicate the international number. Such as:

    1. <a href= "wtai://wp/mc;+12345678" >+12345678</a>
Copy Code



2. SMS

If it is the interface that needs to call the SMS, the link can be written in the following format: Sms:<phone_number>[,<phone-number>]*[?body=<message_body>]
For example:

    1. <a href= "sms:12345678" > Send 12345678 SMS </a>
Copy Code
    1. <a href= "Sms:12345678?body=hello" > Send sms Messages with "Hello" to 12345678 </a>
Copy Code
    1. <a href= "Sms:12345678,98765432?body=hello" > Send text messages for "Hello" to 12345678 and 98765432 </a>
Copy Code



3. Android Market

If you want a link to activate the Android Market feature, you can write the link:

    1. <a href= "Market://search?q=[query" >android Market link</a>
Copy Code

Where <query> is the search for the content, you apply the name example:

    1. <a href= "Market://search?q=myapp" >MyApp</a>
Copy Code



4. Ovi Store

This is a Nokia app market.

    1. <a href= "Http://store.ovi.com/content/XXXXX" >MyApp</a>
Copy Code

XXXX is the ID of your app (application ID).


5. Windows Marketplace
Microsoft's Application Market

    1. <a href= "Http://marketplace.windowsphone.com/details.aspx?appId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" > Myapp</a>
Copy Code

Where Xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx only is the app's ID


6. BlackBerry APP World
BlackBerry's Application market

    1. <a href= "Http://appworld.blackberry.com/webstore/content/XXXXX" >MyApp</a>
Copy Code

The XXXX in the link is the app ID. The following is the URL of the author page

    1. <a href= "Http://appworld.blackberry.com/webstore/vendor/XXXX" >MyApp</a>
Copy Code

where xxxx refers to the author's ID


7. Map Positioning GPS
<a href= "geopoint:[longitude],[latitude]" > My location </a>
For example:

    1. <a href= "geopoint:100,23" > My location </a>
Copy Code



8. Chat Tool

(1) Yahoo Messager
<a href= "ymsgr:[action"? [user name]&m=[message] ">yahoo messager</a>
[Action]: Addfriend, Sendim, call Example:

    1. <a href= "Ymsgr:[email protected" > Send messages to [email protected] </a>
Copy Code

(2) Windows messager (MSN)
<a href= "msnim:[action]?contact=[User name]" >windows messager</a>
[Action]: Chat (chat), add (added as a contact), voice (audio), video
Example:

    1. <a href= "Msnim:[email protected]" >MSN</a>
Copy Code

(3) Google talk (GTalk)
<a href= "gtalk:[action]?jid=[user name]&from_jid=[own user name]" >GTalk</a>
[Action]: Chat (chat), call (voice) Example:

    1. <a href= "Gtalk:[email protected]&[email protected]" >GTalk</a>
Copy Code

(4) Skype
<a href= "skype:[user name"? [Action] ">Skype</a>
[Action]: Chat, add, UserInfo, Voicemain
Example:

    1. <a href= "Skype:myskypeid?chat" >Skype</a>
Copy Code



9. Mail

E-mail is used just like normal HTML mailto

    1. <a href= "Mailto:[email protected]" ></a>
Copy Code
    1. <a href= "Mailto:[email protected],[email protected]" ></a>
Copy Code
    1. <a href= "Mailto:[email protected]?subject=testing" ></a>
Copy Code
    1. <a href= "Mailto:[email protected]?subject=testing mailto&[email protected]" ></a>
Copy Code

Now generally use the link to add <a href= "tel:1233434334" >

When you visit a page, the usual features are introduced

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.