【发布时间】:2012-11-07 20:48:54
【问题描述】:
我正在开发一个应用程序,但在将 vcard 保存为联系人功能时遇到了问题。以下是它的工作原理:
-
扫描二维码(vCard Data v2.1 http://www.printbusinesscards.com/marketing/qrcode/QR-Code-Quality-Standards-Test.php Test Case 12.02)
-
现在我将数据存储在一个字符串中并将其传递到一个新页面:
VERSION:2.1 N:Standard;Joe;;; FN:Joe Standard12.02 TEL:999-999-0001 TEL;WORK:999-999-0002 TEL;HOME:999-999-0003 TEL;CELL:999-999-0004 TEL;CELL;WORK:999-999-0005 TEL;CELL,WORK:999-999-0006 TEL;CELL;WORK;VOICE;MSG:999-999-0007 TEL;CELL;WORK;VOICE;type=MSG:999-999-0008 TEL;CELL;WORK;type=VOICE;type=MSG:999-999-0009 END:VCARD)``` -
现在我遇到了问题。我想将字符串(电子名片)保存为联系人。有没有快速的方法,或者我需要解析所有的字符串?
(实际上应该作为内置的windows phone bing qr readear。)
【问题讨论】:
-
好答案:P upvote
标签: c# windows-phone-7 qr-code contacts vcf-vcard