简体   繁体   中英

Make a telephone link that directly sends you to the dial app

I'm currently developing a mobile app and I want to make a link which when clicked will automatically send me to the dial pad. Right now, using <a href="tel"... > , when I click on the link I get a selection of apps with which I can open it, what I'd like to happen is when I click on the link to be directly redirected to the default dial pad, without the extra clicking. The same applies for email links, currently doing it with <a href="mailto..> . Is there any way you can do that?

This is a default functionality of the mobile operating system. If you have just one app that tries to read the "tel:" protocol event, then you'll directly go to that app. But in case there are multiple apps that listen to the "tel:" protocol, then you'll be served with the choices.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM