I’m trying to import a vcf file into MapiContact object using this code below:
InputStream stream = new DataInputStream(new FileInputStream(“c:\temp\test_card.vcf”));
MapiContact contact = MapiContact.fromVCard(stream);
When I try to run it, the code throws a lot of exception.
How can I solve this?