title: Android, opencsv and writing to an assets file
body: <p>I can read from a csv file in the assets folder, using opencsv. However, writing to the file was a bit more mysterious.</p>
  
  <p>I do the following to open up a file in the /assets folder for reading:</p>
  
  <pre><code>CSVReader reader = new CSVReader(new InputStreamReader(getAssets().open("shoppinglists.csv")));
  </code></pre>
  
  <p>How do I open the file for writing, and how to I do the writing? Using getAssets() for accessing the file seams clean, so I'd like to use it for reading also.</p>