如何使用 SMS 向三星和诺基亚手机发送 VCard?
我不知道我的语法(或诺基亚和三星手机)有什么问题,因为当我将其发送到索尼爱立信时,它将被处理并保存为联系人,但当我将其发送到诺基亚或三星时,它将显示为简单的消息。
这是我的语法&在索尼爱立信中完美运行:
BEGIN:VCARD
VERSION:2.1
N:myname;
TEL;VOICE;WORK:0999999999
TEL;CELL;WORK:0999999999
EMAIL:[email protected]
END:VCARD
I don't know what is wrong with my syntax (or Nokia & Samsung phones) because when i send it to Sony Ericsson it will be processed and save as a Contact but when i send it to Nokia or Samsung it will be displayed as plain message.
This is my syntax & works perfectly in Sony Ericsson:
BEGIN:VCARD
VERSION:2.1
N:myname;
TEL;VOICE;WORK:0999999999
TEL;CELL;WORK:0999999999
EMAIL:[email protected]
END:VCARD
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果将 vCard 作为二进制 SMS 发送到 WAP vCard SMS 端口 0x23f4,可能会取得更大的成功。诺基亚手机完全有可能希望 vCard 来自此端口。
You may have more success if you send the vCard to the WAP vCard SMS port, 0x23f4, as a binary SMS. It is entirely possible the Nokia handsets are expecting vCards to come from this port.
很少有手机无法检测短信中的 vCard 并将其读取为纯消息,这也可能是由于版本不兼容问题造成的。正如您在这里发布的这个问题,您希望以编程方式执行所有操作,因此对于 j2me,如果您的手机模拟器版本的规格为 jsr 75 并且您的模拟器能够访问蓝牙或网络接口(取决于制造商规格)您可以通过网络(gprs/edge)或蓝牙将 vCard 记录读/写到您的手机中。
Few of the cellphones can't detect vCards in SMSs and read it as plain message and this could also be due to version incompatibility issue. As you have posted this question here you want to do all the things programmatically so for j2me if your handset emulator version is having specs as jsr 75 and your emulator is able to access bluetooth or network interface(depend on manufacturer specs) you can read/write vCard records into your handsets via network(gprs/edge) or bluetooth.