title: Cannot resolve getBaseContext() method
body: <p>I want to read from a JSON-file. I did what is suggested <a href="https://stackoverflow.com/questions/37761289/cannot-resolve-getassets-method">here</a>, but it couldn't resolve the getBaseContext()-method. I read that I should use Context instead of this, but there remains an error saying "non static method getAssets() cannot be referenced from a static context". How can I resolve this? Code looks like this:</p>
  
  <pre><code>AssetManager assetManager = Context.getAssets();
  InputStream is = assetManager.open("Test.json");
  </code></pre>
  
  <p>I assume Context refers to the Activity in which the instance is created and so does getBaseContext(). Am I wrong with that?</p>