1

In my Android app, I have a website in WebView (URL) with many phone numbers. But the numbers don‘t offer click-to-call. Do I have to link all number on my website with tel:123456789?

In my iOS-App click-to-call is available without linking the phone numbers. Can I do it in Android webview, too? Thanks for every answer.

Micer
  • 8,731
  • 3
  • 79
  • 73
  • Not sure if there is a way around. I think you might need to use `tel:`. Lets wait for more answers. Check [Is there any way to have WebView auto-link URLs and phone numbers in Android?](http://stackoverflow.com/questions/1744091/is-there-any-way-to-have-webview-auto-link-urls-and-phone-numbers-in-android) – Shobhit Puri Feb 15 '15 at 00:45
  • Possible duplicate of [Is there any way to have WebView auto-link URLs and phone numbers in Android?](https://stackoverflow.com/questions/1744091/is-there-any-way-to-have-webview-auto-link-urls-and-phone-numbers-in-android) – Micer Mar 17 '18 at 19:52

1 Answers1

1

Put this in your textview:

android:autoLink="phone"
Micer
  • 8,731
  • 3
  • 79
  • 73
Harsh Parikh
  • 3,845
  • 3
  • 14
  • 14
  • Thank you for your answer. But I have a WebView. How can I do this? Where to add: android:autoLink="phone"? –  Feb 07 '15 at 10:52