Export contact to vCard

This code shows how to export contact from address book to vCard format.