本站消息

站长简介/公众号

  出租广告位,需要合作请联系站长


+关注
已关注

分类  

暂无分类

标签  

暂无标签

日期归档  

暂无数据

创建直接将您发送至拨号应用程序的电话链接

发布于2023-09-25 20:30     阅读(733)     评论(0)     点赞(13)     收藏(3)


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?


解决方案


这是移动操作系统的默认功能。如果您只有一个应用程序尝试读取“tel:”协议事件,那么您将直接转到该应用程序。但如果有多个应用程序侦听“tel:”协议,那么您将获得多种选择。




所属网站分类: 技术文章 > 问答

作者:黑洞官方问答小能手

链接:http://www.qianduanheidong.com/blog/article/531602/5a9c2f9153c68dc52270/

来源:前端黑洞网

任何形式的转载都请注明出处,如有侵权 一经发现 必将追究其法律责任

13 0
收藏该文
已收藏

评论内容:(最多支持255个字符)