title: What part of App is considered Context? The java file, the .xml, or a part of one or the other?
body: <p>I've been trying to access images from my assets folder now instead of drawable in order to possibly alleviate some memory issues I'm having. </p>
  
  <p>I found this code to aid with this: </p>
  
  <pre><code>public static Drawable getAssetImage(Context context, String filename) throws IOException {
      AssetManager assets = context.getResources().getAssets();
      InputStream buffer = new BufferedInputStream((assets.open("drawable/" + filename + ".png")));
      Bitmap bitmap = BitmapFactory.decodeStream(buffer);
      return new BitmapDrawable(context.getResources(), bitmap);
  }
  </code></pre>
  
  <p>I'm confused what the context is though. Am I to pass it my MainActivity.java? Or reference it to a specific view? If anyone could explain this I would much appreciate it. </p>