简体   繁体   English

当用户单击我网站上的 html 按钮时,如何将联系人保存到 Android/IOS 电话簿(联系人应用程序)

[英]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.

相关问题 用户单击电话的通话记录按钮时如何运行我的应用程序? - How to run my app when the user clicks on call log button of the phone? 如何将联系人信息保存到电话簿中? - How to save contacts information into phone book? Android联系人列表-如何将我的应用程序创建的联系人与手机其余部分分开? - Android contact lists - How to seperate my app created contacts from the rest of the phone? 将联系人另存为“电话联系人” - Save Contacts as “Phone contact” 如何打开我的Android电话簿的编辑联系人视图 - How to open the edit contact view of my android phone book 在Android应用程序的电话簿中自动添加联系人 - adding contact automatically in phone book in android app 当用户从“联系人”的“完成操作使用”菜单中选择我的应用程序时,如何联系 - How to get contact when user choose my app from Contacts's Complete Action Using menu 如何在联系人列表中添加新联系人时通知我的应用 android - How to notify my app when new contacts added in contact list android 当用户单击Android手机的“主页”按钮时,限制主屏幕启动 - Restrict Homescreen launch when user clicks on Home button of android phone 通过电话簿在我的App中多次显示一些联系人 - Showing some contacts multiple times in my App from phone book
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM