How to share a contact programatically in android
问题 I am presently working on a contact app and i have been searching for a while to share a contact programatically in android. I didn't know in which format i should send the contact to other device. If i am sending as text, how it will be processed into contactscontract Db in receivers device? Can you please suggest me how to make it work? 回答1: You need to get the VCard handle for the contact (using ContactsContract API: Contacts.CONTENT_VCARD_URI ), and then send it using the ACTION_SEND