如何通过互联网以编程方式将名片消息发送到手机
是否可以以名片格式从互联网发送消息.?我需要将联系人发送到手机,以便收件人可以轻松保存联系人.
Is it possible to send messages from internet in business card formats. ? I need to send a contact to a mobile phone so that the recipient can save the contact easily.
使用sms api s我们可以发送sms但是如何发送名片文件?
using sms api s we can send sms but how to send business card files ?
在我的项目场景中,我有 10 个人的电话号码,我需要将这些号码以名片格式发送到另一部手机.
In my project scenario I have telephone numbers of 10 persons which I need to send the numbers to another mobile phone in business card format.
关于如何实施的任何想法?
Any ideas on how to implement ?
vCard 是一种文件格式标准电子名片.电子名片通常附在电子邮件中,但可以通过其他方式交换,例如在万维网上或即时通讯.它们可以包含姓名和地址信息,电话号码、电子邮件地址、URL、徽标、照片,甚至音频剪辑.
vCard is a file format standard for electronic business cards. vCards are often attached to e-mail messages, but can be exchanged in other ways, such as on the World Wide Web or Instant Messaging. They can contain name and address information, phone numbers, e-mail addresses, URLs, logos, photographs, and even audio clips.
在 维基百科上了解有关 vCard 的更多信息.
More info on vCard at Wikipedia.
vCard 有特定的格式,维基百科上的一个例子如下
A vCard has a particular format, an example on Wikipedia is as follows
电子名片 2.1:
BEGIN:VCARD
VERSION:2.1
N:Gump;Forrest
FN:Forrest Gump
ORG:Bubba Gump Shrimp Co.
TITLE:Shrimp Man
TEL;WORK;VOICE:(111) 555-1212
TEL;HOME;VOICE:(404) 555-1212
ADR;WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:100 Waters Edge=0D=0ABaytown, LA 30314=0D=0AUnited States of America
ADR;HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:42 Plantation St.=0D=0ABaytown, LA 30314=0D=0AUnited States of America
EMAIL;PREF;INTERNET:forrestgump@example.com
REV:20080424T195243Z
END:VCARD
电子名片 3.0:
BEGIN:VCARD
VERSION:3.0
N:Gump;Forrest
FN:Forrest Gump
ORG:Bubba Gump Shrimp Co.
TITLE:Shrimp Man
PHOTO;VALUE=URL;TYPE=GIF:http://www.example.com/dir_photos/my_photo.gif
TEL;TYPE=WORK,VOICE:(111) 555-1212
TEL;TYPE=HOME,VOICE:(404) 555-1212
ADR;TYPE=WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America
LABEL;TYPE=WORK:100 Waters Edge\nBaytown, LA 30314\nUnited States of America
ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America
LABEL;TYPE=HOME:42 Plantation St.\nBaytown, LA 30314\nUnited States of America
EMAIL;TYPE=PREF,INTERNET:forrestgump@example.com
REV:20080424T195243Z
END:VCARD
手机收到的 vCard 只是 vCard 格式的短信.
所以来回答你的问题
我正在使用 SMS API 发送 SMS 但如何发送名片文件?
是吗可以从名片格式的互联网?
我需要向手机发送联系人电话,以便收件人可以保存轻松联系.
I am using SMS API to send SMS but how to send business card files?
Is it possible to send messages from Internet in business card formats?
I need to send a contact to a mobile phone so that the recipient can save the contact easily.
是的,您可以将 vCard 发送到手机,只需将联系人详细信息格式化为 vCard 格式并以短信形式发送即可.
Yes, you can send a vCard to a mobile phone, just format the contact details in a vCard format and send it as SMS.
但请注意,不同手机的 vCard 格式不同.
不同设备上的不同 vCard 格式
But be aware that the vCard format is different for different phones.
Different vCard formats on different devices