title: Android : open failed eacces permission denied
body: <p>i am new to android. i have tried this code</p>
  
  <p>in manifest file i wrote this</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/&gt;
  </code></pre>
  
  <p>in java code</p>
  
  <pre><code>   File sdcard = Environment.getExternalStorageDirectory();
      //Get the text file
      File file = new File(sdcard,"store.txt");
  </code></pre>
  
  <p>but i am getting above exception</p>
  
  <p>i want to perform file read and write operations and i am using version 4.4.2.</p>
  
  <p>i am getting this error</p>
  
  <pre><code>06-14 02:19:44.491: D/Shopping Cart(1700): open failed: EACCES (Permission denied)
  </code></pre>