How to generate a .vcf file from an object which contains contact detail and object is not in the phone book
问题 I want to generate a .vcf file for an object which contains contact information like name, image, phone number, fax number, email id, address etc. This object is not added in the address book of the phone but it is stored in my application. Once my .vcf file is generated I can send this vcard like this Intent i = new Intent(); i.setAction(android.content.Intent.ACTION_VIEW); i.setDataAndType(Uri.parse("**generated.vcf**"), "text/x-vcard"); startActivity(i); But I am not getting how to get