how to accees Environment.getExternalStorageDirectory() when user connected to system
<p>I am working on email application. My application will create some files in the Sd card.</p>

<p>I am using </p>

<pre><code>   Environment.getExternalStorageDirectory() 
</code></pre>

<p>to store the files in SD card. But I have observed that some times when my device connected to my computer I am unable to access my files.</p>

<p>Please suggest what's the path I need to use so that my files must always accessible. </p>

<p>I want to store my files only in Sd card.</p>
