How do I create a phone number in my app that I can click on so that it opens directly in my phone and I can then call it?
CodePudding user response:
You can use the anchor element in this way:
<a href="tel:555-555-5555"><img src="path/to/phone/icon.jpg" alt="Call 555-555-5555" /></a>
most modern browsers support this.
Duplicate of this: How to trigger a phone call when clicking a link in a web page on mobile phone
CodePudding user response:
you can implant it same as you did in html!
<a href="tel:PHONE"> Call! </a>