简体   繁体   English

从QR联系网站保存联系人数据到手机

[英]Save contact data to mobile phone from website like QR Contact

Is there a way to generate a clickable link in html to save some contact information to the users mobile phone? 有没有办法在html中生成可点击的链接,以便将一些联系信息保存到用户手机?

When I scan a QR-Code, I get the contact information. 当我扫描QR码时,我会收到联系信息。 How can I do this in html/php/JavaScript? 我怎么能在html / php / JavaScript中这样做?

Since android doesn't support vcf files, there should be another way to do this. 由于android不支持vcf文件,应该有另一种方法来执行此操作。

Javascript running on device regular browser can't just write directly to android internal databases or files(unless you have an application installed on the target android device which resolves some certain uri scheme leading to them). 在设备常规浏览器上运行的Javascript不能直接写入android内部数据库或文件(除非你在目标android设备上安装了一个应用程序,它解决了某些导致它们的uri方案)。

you can use tel: uri or direct the user to a ".vcf" file(android Does support it) and have the user decide. 您可以使用tel:uri或将用户指向“.vcf”文件(android确实支持它)并由用户决定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将联系电话号码保存到手机 - Save contact number to mobile phone Cordova通过电话号码保存联系人(如果不存在) - cordova save contact if not exist by phone number 人们如何通过单击我网站上的按钮将我的联系信息保存在手机上? - How can people save my contact information on their phone by clicking button in my website? 如何使用带有 JS 或 PHP 集成的 HTML 按钮将网站的联系方式保存到 android 或 iphone? - How to save contact details from a website to an android or iphone using HTML button with JS or PHP integration? 联系表格接收来自网站的空邮件 - contact form receiving empty mail from website 将联系表单中的电子邮件地址保存在数据层中 - save email address from contact form in datalayer 如何使用jQuery从html元素中选择电话号码和联系人? - How to select phone number and contact from html element using jQuery? 从Windows Live获取联系人的电话号码 - Get contact's phone numbers from Windows Live 如何从Nativescript Angular中的联系人获取电话号码? - How to get phone number from contact in Nativescript Angular? 无法通过联系表将数据提交至 firebase - Not able to submit the data to firebase from contact form
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM