title: Android Studio - How to use getExternalFilesDir
body: <p>Since google killed the perfectly fine method getExternalStoragePublicDirectory, I have to try to get getExternalFilesDir to work. <br></p>
  
  <p>This is one of the things I've tried:</p>
  
  <pre><code>private Context context = this.getApplicationContext();
  private static final String test = context.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS);
  </code></pre>
  
  <p>error message: <br></p>
  
  <pre><code>Non-static field 'context' cannot be referenced from a static context
  </code></pre>
  
  <p>I am not allowed to make context a static field though. <br></p>