title: Can't read/write to sdcard in Android
body: <p>Can any one help in that problem</p>
  
  <p>when i try that code</p>
  
  <pre><code>File routesRoot = Environment.getExternalStorageDirectory();
              if (!routesRoot.canWrite())
                  System.out.println("can't write root");
              if (!routesRoot.canRead())
                  System.out.println("can't read root");
  </code></pre>
  
  <p>when run program both can't write /read occure</p>
  
  <p>I have set permission to access sdcard what is the problem ??</p>