write in file permission in android
<p>i want to write in a file by using the following:</p>

<pre><code>                BufferedWriter buf = new BufferedWriter(new FileWriter("test2"));
                        buf.write(mytext);
                        buf.close();
</code></pre>

<p>but i got this message 
(file test2 read only)</p>

<p>how can i get the write permission</p>
