有没有办法在 HTML 页面上提供可点击的链接来将联系人保存到手机上?

发布于 2024-12-03 08:04:13 字数 137 浏览 3 评论 0原文

我希望允许我的用户在我的移动网络上单击链接,立即将我的联系人添加到他们的手机(iPhone/Android)中。

我知道有一个可用的电话方案,我目前正在使用该方案。是否有办法在组合解决方案中提供名字、姓氏、电子邮件、电话以存储到我用户的手机中?

I'm looking to allow my users to my mobile web click on a link to straight away add my contact into their phone (iphone/android).

I know there's a tel scheme available and I'm currently using that on top. Is there anyway to provide First Name, Last Name, Email, Phone in a combined solution to store into my user's phone?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尤怨 2024-12-10 08:04:13

Contacts API 规范与设备 API 访问权限(您需要具有写入或读取联系人的权限),但尚无浏览器支持它。

Mozilla Labs 正在研究它,但它只适用于桌面。

至于模式,有 http://schema.org/Person 但目前仅由搜索引擎使用,也许在不久的将来浏览器会“学习”使用这些模式。

还有 PhoneGap 的混合 Web/本机应用程序解决方案,但它不是移动 Web 解决方案!

There is the Contacts API spec in conjunction with Permissions for Device API Access (you need to have permission to write or read contacts), but no browser supports it yet.

Mozilla Labs is working on it, but it is only in the desktop.

As for schemas there is http://schema.org/Person but this is only used by search engines, for now, maybe in the near future browsers "learn" to use these schemas.

There is also the hybrid web/native app solution with PhoneGap, but it is not a mobile web solution!

如梦 2024-12-10 08:04:13

我认为您可以在 .vcf 中创建您的联系人。如果用户点击您的 vcf 链接,您的联系人将被下载,然后打开以确认保存到电话簿中

I think you can create your contact in .vcf. If user click the link to your vcf, your contact will be downloaded an then opened for confirmation to save into phone book

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文