How to send csv file as attachment in android?
<p>Hi i am developing an android application with email functionality. Here i need to send a CSV file from my path data/data/mypackage/files folder. I am storing the csv file there.It is saving there good.My csv file size is just 245 bytes only. But when i  tried to send that file throught mail  functionality of android is displaying "File too Large to attach.." message is displaying. </p>

<p>Here is my code:</p>

<pre><code>String filelocation="file:///data/data/my package/files/excerDB.zip";   
            final Intent emailIntent = new 

    Intent(android.content.Intent.ACTION_SEND);           
                emailIntent .setType("plain/text");             
                emailIntent .putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{"purpletalk.raghu@gmail.com"});             
                emailIntent .putExtra(android.content.Intent.EXTRA_SUBJECT, "Attendence Report");             
                emailIntent .putExtra(android.content.Intent.EXTRA_STREAM, Uri.parse(filelocation));


            startActivity( emailIntent);
</code></pre>

<p>But it is not working for me. Please advice me how can i send my file as a attachment to mail in my application.</p>
