As we all know, when we click the "export to SD card" option to contacts, this means that we create our backup copy of the contact, and this file is stored with the extension as a .VCF file format, later when we import this file, Android OS automatically accepts all the contacts in it and saves it in our contacts. I just want to create this .VCF (A backup) file using code.
source share