How to write a file in Android to the raw folder?
<p>I think this is a pretty basic question. </p>

<p>I am currently writing a file like this:</p>

<pre><code>File output = new File("exampleout.mid");
</code></pre>

<p>Now, I want to write the file to ../myproject/res/raw</p>

<p>I read I could do it by putting the complete url in the "". BUT. Since this is an Android app. What is the full url? I don;t have to write /home/.../myproject/...?</p>

<p>Is the solution: </p>

<pre><code>File output = new File("/res/raw/exampleout.mid");
</code></pre>

<p>Or do I need a higher url structure?</p>

<p>Sorry about asking this simple question, but since I use an Android emulator, I cannot check if the file is actually in the right place.</p>
