Is there any android API to extract contacts in vcard 3.0 format ? I have come across an open-source vcard project android-vcard
but in the usage Example
This works with Eclair (>= Android 2.0) and I guess its somewhat this functionality the examples page describes
Uri uri = Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_VCARD_URI, lookupKey);
AssetFileDescriptor fd = resolver.openAssetFileDescriptor(uri, "r");
FileInputStream fis = fd.createInputStream();
byte[] b = new byte[(int)fd.getDeclaredLength()];
fis.read(b);
String vCard = new String(b);
sb.append(vCard);