title: context.getExternalFilesDir(null) is null
body: <p>I am trying to debug a problem I am having in my app.  The issue is that getExternalFiles(dir) returns null in my android app but I am not sure why.  I have the necessary permissions.  This is a bug which exists on multiple devices and versions of android (2.3.5 and up).  Let me know if you need any more information.  </p>
  
  <p>The line of code which is the problem is:</p>
  
  <p>path = context.getExternalFilesDir(null) + "/database/mydata.db";</p>
  
  <p>or</p>
  
  <p>path = context.getFilesDir().getAbsolutePath() + "/database/mydata.db";</p>
  
  <p>Thank you.  </p>