Special Links: Phone calls, SMS, Email;iphone and Android apps

Source: Internet
Author: User

Special Links: Phone calls, SMS, Email;iphone and Android apps

The following article is mainly about how the links in the Web page are 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.
<a href= "Callto:[phone_number" >phone_number</a>
    • Example:
<a href= "callto:12345678" >12345678</a>

(2) How Android is written

    • [Phone_number] is the phone number.
<a href= "WTAI://WP/MC; [Phone_number] ">phone_number</a>
    • Example:
<a href= "wtai://wp/mc;12345678" >12345678</a>

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

<a href= "wtai://wp/mc;+12345678" >+12345678</a>

2. SMS

If it is an interface that needs to invoke SMS, you can write the link in the following format:

Sms:<phone_number>[,<phone-number>]*[?body=<message_body>]

For example:

<a href= "sms:12345678" > Give 12345678 SMS </a> <a href= "Sms:12345678?body=hello" > Send Content "Hello" to 12345678 SMS </a> <a href= "Sms:12345678,98765432?body=hello" > Send sms Messages with "Hello" to 12345678 and 98765432 </a>

3. Android Market

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

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

Where <query> is the content of the search, the name of your app

Example:

<a href= "Market://search?q=myapp" >MyApp</a>

4. Ovi Store
This is a Nokia app market.

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

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

5. Windows Marketplace

Microsoft's Application Market

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

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

6. BlackBerry APP World

BlackBerry's Application market

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

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

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

where xxxx refers to the author's ID

7. Map Positioning GPS

<a href= "geopoint:[longitude],[latitude]" > My location </a>

For example:

<a href= "geopoint:100,23" > My location </a>

8. Chat Tool

(1) Yahoo Messager

<a href= "ymsgr:[action"? [user name]&m=[message] ">yahoo messager</a>

[Action]: Addfriend, Sendim, call

Example:

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

(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:

<a href= "Msnim:[email protected]" >MSN</a>

(3) Google talk (GTalk)

<a href= "gtalk:[action]?jid=[user name]&from_jid=[own user name]" >GTalk</a>

[Action]: Chat (chat), call (voice)

Example:

<a href= "Gtalk:[email protected]&[email protected]" >GTalk</a>

(4) Skype

<a href= "skype:[user name"? [Action] ">Skype</a>

[Action]: Chat, add, UserInfo, Voicemain

Example:

<a href= "Skype:myskypeid?chat" >Skype</a>

9. Mail message

Use mailto just like normal html

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

Special Links: Call, SMS, Email;iphone and Android apps

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.