title: How to generate a .vcf file from an object which contains contact detail and object is not in the phone book
body: <p>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. </p>
  
  <p>Once my .vcf file is generated I can send this vcard like this</p>
  
  <pre><code>Intent i = new Intent();
  i.setAction(android.content.Intent.ACTION_VIEW);
  i.setDataAndType(Uri.parse("**generated.vcf**"), "text/x-vcard");
  startActivity(i);
  </code></pre>
  
  <p>But I am not getting how to get this generated .vcf file?</p>