title: Android openFileInput causes FileNotFound
body: <p>I am trying to write / create a file, However no matter how I try it I get a filenotfound exception.
  I have tried all of this:</p>
  
  <pre><code>FileInputStream is = openFileInput(filename);
  </code></pre>
  
  
  
  <pre><code>File dirs = getFilesDir();
          File f_in = new File(dirs , "score6");
          FileInputStream fs = new FileInputStream(f_in);
  </code></pre>
  
  
  
  <pre><code>Environment.getExternalStorage()
  </code></pre>
  
  <p>All of those result in FnF I have set my android manifest permission to </p>
  
  <pre><code>&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>I think the app folder does not exist and because of that it cannot create a new file in that directory, could that be? can an app have no folder even with permission?</p>
  
  <p>What can I do ?</p>