[英]How to save a contact to Android/IOS phone book (contacts app) when a user clicks an html button on my website
I am trying to make a website where a user can click a button or click a link and it opens the phone's native Contacts app and fills in provided information from the website.我正在尝试创建一个网站,用户可以在其中单击按钮或单击链接,它会打开手机的本机联系人应用程序并填写网站提供的信息。 I spent my day doing research and couldn't find useful information.
我花了一天的时间做研究,找不到有用的信息。 I found out the below line about Deep Links, where I can put
我发现了下面关于深度链接的行,我可以把
<a href="instagram://user?username=instagram">Link</a>
and this opens the Instagram app on my phone.这会打开我手机上的 Instagram 应用程序。 I am assuming I need something like this to open the Contacts app.
我假设我需要这样的东西来打开联系人应用程序。
Unfortunately, we don't have any available deep link to open Contacts app.不幸的是,我们没有任何可用的深层链接来打开联系人应用程序。 Apple provide the CNSaveRequest APIs to update/add/delete contact without using interface but I don't know anyway to access this API from website
Apple 提供 CNSaveRequest API 来更新/添加/删除联系人而不使用接口,但我不知道如何从网站访问这个 API
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.