[android] HTML로 전화를 걸기 위해 iPhone 또는 Android 전화에서 전화 번호를 클릭 할 수있는 방법이 있습니까?

사용자가 전화 번호를 클릭 할 때 호출되도록 HTML에서 전화 번호를 클릭 할 수 있도록 할 수 있습니까?



답변

다음과 같이 작동합니다.

<a href="tel:+1-800-555-5555">Call 1-800-555-5555</a>

더 많은 정보:

http://en.wikipedia.org/wiki/URI_scheme#tel :

http://tools.ietf.org/html/rfc3966


답변

iOS에서 다음을 사용하여 전화 번호를 감지 할 수 있습니다.

<i>web_view.dataDetectorTypes=UIDataDetectorTypePhoneNumber;<i>


답변