简体   繁体   English

如何访问手机“添加到联系人”屏幕的快捷方式

[英]How to access shortcut for Add To Contact screen for mobile phone

I'm working on digital business card. 我正在处理数字名片。 I want to open Add To Contact screen from a mobile phone using an HTML5 button link. 我想使用HTML5按钮链接从手机打开“ Add To Contact屏幕。 I can't find out a way to do it using HTML5 . 我找不到使用HTML5

I'm able to find and use the shortcuts for telephone, SMS, email, etc. But, how do I access the shortcut for the Add To Contact screen? 我可以找到并使用电话,短信,电子邮件等的快捷方式。但是,如何访问“ Add To Contact屏幕的快捷方式?

For example, here are the shortcuts I'm using for telephone and SMS: 例如,以下是我用于电话和SMS的快捷方式:

<p class="mobile"><a href="tel://1<? echo $phone; ?>" class="button2"><? echo $phoneNo; ?></a></p>
<p class="mobile"><a href="sms://1<? echo $phone; ?>" class="button2"><? echo $phoneNo; ?></a></p>

What is the syntax for the Add To Contact screen? Add To Contact屏幕的语法是什么?

Thank you all of you for your help but finally i figure it out that It is not possible . 谢谢大家的帮助,但最后我弄清楚这是不可能的

Link of attempt : http://www.w3.org/TR/contacts-api/ 尝试链接: http : //www.w3.org/TR/contacts-api/

The Contacts Intent section in HTML5 specification was an attempt to a uniform view to the contacts; HTML5规范中的“联系人意图”部分试图对联系人进行统一查看; an implementation which varied across multiple operating systems and web applications. 在多个操作系统和Web应用程序之间变化的实现。 Users had to maintain multiple sets of same address book information since there was nothing available to tie it together, resulting in redundant and often stale information. 用户必须维护多组相同的地址簿信息,因为没有可用的信息将它们捆绑在一起,从而导致冗余且经常陈旧的信息。

I also tried codes of this link : https://www.w3.org/TR/web-intents/ 我也尝试过此链接的代码: https : //www.w3.org/TR/web-intents/

But i figure it out that it would be horrible if that was possible due to security restrictions of mobile phone. 但是我发现,由于手机的安全性限制,如果有可能,那将是可怕的。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM