How to construct a telephone number link on Android that includes an extension

允我心安 提交于 2019-11-30 01:23:15

问题


On a web page I have a link to a telephone number with extension like this:

<a href="tel:011234404,123456">call now</a>

When I tap this link in an iPhone browser, the iPhone will dial 011234404 and then when the call is answered it will dial the extension 123456. This is wonderful, however it does not appear to work at all on android (the main number is dialed and the extension is ignored).

Other people seem to be using ";" or even "p" instead of the comma separator on Android with some success, but I am unable get anything to work.

What is the standard for this type of link on Android?


回答1:


Please take a look at this forum for several examples of people overcoming the problem you're describing.

Summary: It would appear that there are 2 general ways to do this.

  • You can add a series of , characters, which will create a brief pause, or
  • You can add a w character, which prompts the Android phone to wait for you to press a second button before it will dial the extension.


来源:https://stackoverflow.com/questions/11848721/how-to-construct-a-telephone-number-link-on-android-that-includes-an-extension

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!