title: how to attach file to the email from /data folder of the device
body: <p>I am trying to attach the file from the /data folder of the device.</p>
  
  <p>I have successfully created "abc.txt" in /data folder, I can see the file at that place.</p>
  
  <p>I am using below code to send email:</p>
  
  <pre><code>    Intent intent = new Intent(Intent.ACTION_SEND);
      intent.setType("text/plain");
      intent.putExtra(Intent.EXTRA_EMAIL, new String[]{abc@gmail.com});
      intent.putExtra(Intent.EXTRA_STREAM,
         Uri.parse(Environment.getDataDirectory()+"/abc.txt"));
      intent.putExtra(Intent.EXTRA_TEXT, "hello..");
      startActivity(Intent.createChooser(intent, email_chooser_title));
  </code></pre>
  
  <p>but I am unable to receive the attachments..</p>
  
  <p>pl. let me know what's the mistake I have done..</p>
  
  <p>thanks.</p>