将联系人添加到移动设备的地址簿从HTML网页联系人、地址、网页、设备

2023-09-07 13:25:59 作者:思念成风

我目前正在建设一个网站,与一触,你应该能够将联系人添加到您的IPhone / Android的地址簿。该网站是目前HTML5,但Javascript和/或PHP选项​​可以实施。

I'm currently building a site where, with one touch, you should be able to add a contact to your IPhone/Android Address book. The website is currently HTML5, but Javascript and/or PhP options could be implemented.

那么,有没有一种方式,一个链接的点击,移动设备将打开联系地址簿已经充满了我希望它有(姓名,电子邮件地址,街道地址,电话号码)的信息。

So is there a way that on the click of a link, the mobile device will open the Adress book already filled with the info I want it to have (Name, EMail Address, Street Address, Phone number).

我到处找,只找到方法来编写应用程序,会做同样的事情。我想从一个网页做出来。任何地方我可以学习如何做到这一点?

I've looked everywhere to only find ways to program apps that would do the same thing. I want to make it from a webpage. Anywhere I can learn how to do this?

PS:目前,我试图用一切可能被上点击下载的.VCF文件......这似乎无处带领我的那一刻

PS: Currently, I'm trying with everything in a .VCF file that could be downloaded on the click... this seems to lead me nowhere at the moment.

推荐答案

您可能要攻击这个从事物的设备端来代替。如果这是你最终做尝试跨平台的框架。

You might have to attack this from the device side of things instead. If that's what you end up doing try a cross-platform framework.

不知道你的灵活性是什么,但对于跨平台的设备集成应用,我强烈建议 PhoneGap的。此外,听起来像是你已经在HTML5和CSS已经有一些经验。这可以跨设备轻松处理您的联系人整合pretty的。

Not sure what your flexibility is, but for cross platform device integrated application I highly recommend PhoneGap. Plus, sounds like you've got some experience in HTML5 and CSS already. This could handle your contacts integration pretty easily across devices.

 
精彩推荐
图片推荐