title: How can I create .vcf file for a single contact?
body: <p>I have successfully created .vcf file for the all contacts from my android device. I have referred below link for doing so : </p>
  
  <p><a href="https://stackoverflow.com/questions/8147563/export-the-contacts-as-vcf-file">Export the Contacts as VCF file</a></p>
  
  <p>and its working quite good.
  But, I need to convert a single contact to single .vcf file as per my requirement. </p>
  
  <p>In this current code getting all the contacts using below lines :</p>
  
  <pre><code>cursor = getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, null, null, null);
  </code></pre>
  
  <p>and then all contacts will be covered in .vcf file.</p>
  
  <p>So, What is way that I can generate .vcf file for a single contact ?</p>