Scan the QR code (vcard) and save the contact on your Windows 7 phone

Hi guys, I'm developing an application, but I have a problem with saving vcard as contact functionality, here is how it works step by step:

  • Scanning a QR code (vCard data v2.1 http://www.printbusinesscards.com/marketing/qrcode/QR-Code-Quality-Standards-Test.php Test example 12.02)

  • Now I save dats in a line and transfer it to a new page (BEGIN: VCARD Version: 2.1 H: Standard; Joe ;;; FN: Joe Standard 12.02 TEL: 999-999-0001 TEL; WORK: 999-999-0002 TEL ; HOME: 999-999-0003 TEL; CELL: 999-999-0004 TEL; CELL; JOB: 999-999-0005 TEL; CELL, JOB: 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)

  • Now I have a problem, I want to save the string (vcard) as a contact, is there a quick way or do I need to parse the entire string?

(should actually work like the built-in windows phone bing qr readear)

thanks

+4
source share
1 answer

I just parsed the line ... I do this, but I did not understand how to use, it seems the wrong code:

http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207024(v=vs.105).aspx#BKMK_SavingacontactfromaVCard

0
source

Source: https://habr.com/ru/post/1444661/


All Articles