title: FileNotFoundException when writing to raw file
body: <p>I'm trying to write in file "numbers.txt". It's located in raw folder. <Br>
  I'm using this function to write in file: <BR></p>
  
  <pre><code>public void writeToFile(String data) {
      try {
          Uri url = Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.numbers);
          String Path = url.toString();
          File f = new File(Path);
          OutputStreamWriter outputStreamWriter = new OutputStreamWriter(new FileOutputStream(f));
          outputStreamWriter.write(data);
          outputStreamWriter.close();
      }
      catch (IOException e) {
          Log.e("Exception", "File write failed: " + e.toString());
      }
  }
  </code></pre>
  
  <p>When I run the function the Log says : </p>
  
  <blockquote>
    <p>File write failed: java.io.FileNotFoundException: android.resource:/com.sakt.emergencymessage/2131099648: open failed: ENOENT (No such file or directory)</p>
  </blockquote>
  
  <p>But the file exists and I can read from it.<br>
  And yes, I have written the permission WRITE_EXTERNAL_STORAGE in Manifest.
  <br><br>
  Thanks for your help.</p>