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.
- <a href= "Callto:[phone_number" >phone_number</a>
Copy Code
Example:
- <a href= "callto:12345678" >12345678</a>
Copy Code
(2) How Android is written
[Phone_number] is the phone number.
- <a href= "WTAI://WP/MC; [Phone_number] ">phone_number</a>
Copy Code
Example:
- <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:
- <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:
- <a href= "sms:12345678" > Send 12345678 SMS </a>
Copy Code
- <a href= "Sms:12345678?body=hello" > Send sms Messages with "Hello" to 12345678 </a>
Copy Code
- <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:
- <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:
- <a href= "Market://search?q=myapp" >MyApp</a>
Copy Code
4. Ovi Store
This is a Nokia app market.
- <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
- <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
- <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
- <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:
- <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:
- <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:
- <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:
- <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:
- <a href= "Skype:myskypeid?chat" >Skype</a>
Copy Code
9. Mail
E-mail is used just like normal HTML mailto
- <a href= "Mailto:[email protected]" ></a>
Copy Code
- <a href= "Mailto:[email protected],[email protected]" ></a>
Copy Code
- <a href= "Mailto:[email protected]?subject=testing" ></a>
Copy Code
- <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