title: Android Access External Storage
body: <p>I am facing some storage issue. i am working on an application where i have to access phone's on board external storage and an External sdCard storage which i am getting with this code</p>
  
  <pre><code>Environment.getExternalStorageDirectory();
  </code></pre>
  
  <p>But when onBoard external memory exists then this code returns the path of onBoard memory not the external sdCard while the sdCard is mounted </p>
  
  <p>now the problem is..
  i want to access both memories onBoard and external sdcard is there any way to access both memories</p>