title: How to append to a text file in android?
body: <pre><code>FileWriter f;
  try {
   f = new FileWriter(Environment.getExternalStorageDirectory()+
                   "/Text/o1"+".txt");
       f.write("Hello World");
   f.flush();
   f.close();
  }
  </code></pre>
  
  <p>I can create a file and write to it using the above code. How do i append to the text file without over writing it? thanks</p>