title: Writing to a resource file in android
body: <p>I need to keep reading and writing a file while running the application in Android. I can easily read the data with
  <em>InputStream is = this.getResources().openRawResource(R.drawable.appdata);</em>
  and then
  <em>is.close();</em>
  when finished. But how can I write new data to the same file?</p>