title: How to add Write to File Permission on Android
body: <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 
  <code>(file test2 read only)</code></p>
  
  <p>How can i get the write permission?</p>