tel: link w/ extension working on iOS but not Android

笑着哭i 提交于 2019-12-11 12:46:55

问题


I have a link that looks something like:

<a href = "tel:1234567890pp2149">Call Support</a>

This link works perfectly fine when using an iOS device. When clicking the link while on Android however the phone attempts to dial 1234567890 (the number without the extension). What is the proper way to do this so that it will work across devices


回答1:


This appears to be a known bug/issue which may be due to the lack of standards around this feature, as comma,'W','P' are all specific implementations which could change as the Manufacturer may switch out the standard dialer for their own.

http://code.google.com/p/android/issues/detail?id=13684




回答2:


Try commas instead of 'p' for the pauses. I believe Android's pause character is a comma.



来源:https://stackoverflow.com/questions/12646614/tel-link-w-extension-working-on-ios-but-not-android

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