title: Problem using AssetManager openFD()
body: <p>I have a DB helper class which extends SQLiteOpenHelper and in onCreate, I want to read various text files which each contain a single SQL CREATE command. The text files are in my project's asset folder and I'm trying to use a FileReader as follows...</p>
  
  <pre><code>@Override
  public void onCreate(SQLiteDatabase db) {
  
      AssetManager am = context.getAssets();
      FileReader tableListFileReader = new FileReader(am.openFd(context.getString(R.string.db_schema_filelist_filename)).getFileDescriptor());
  </code></pre>
  
  <p>I get an exception as follows...</p>
  
  <pre><code>java.io.FileNotFoundException: /npvr_db_schema_create_tables.txt
  </code></pre>
  
  <p>This obviously seems to be an absolute path from root ('/') whereas other AssetManager 'open' methods are documented as accessing files in the 'assets' folder. Unfortunately those methods return an InputStream which can't be used to directly instantiate a FileReader.</p>
  
  <p>This doesn't make sense to me - surely AssetManager should be just what it says it is and simply give access to my assets folder. Am I missing something here? How should I approach this in a better way?</p>