problem attaching text files to email Intent object
<p>I have a requirement that I need to attach text files generated by my app to the email composer.</p>

<p>I have created my files at my applications private area (getFilesDirectory()).</p>

<p>I am attaching URI of that file path to the email Intent object. I am able to see the attachments in email composer but I am unable to receive the attachments.</p>

<p>I am using this statement attach the files to the intent object</p>

<pre><code>intent.putExtra(Intent.EXTRA_STREAM, Uri.parse(context.getFilesDirectory()+"abc.txt"));
</code></pre>

<p>after doing some search in google I got to know "getFilesDirectory()" is only private to my application and other app's can't access my files (my case its E-mail).</p>

<p>As many of devices may not have SD-card ,I can't kept my files in SD-Card.</p>

<p>Please let me know where I can store my files so that I can attach my files to the email application.
 thanks.</p>
