title: is accessing a raw resource from within android library possible?
body: <p>I am writing an android library and am having a problem.</p>
  
  <p>In my library I am attempting to access a file stored in the <code>res/raw</code> directory of my library project like that:</p>
  
  <pre><code>InputStream inputStream = Resources.getSystem().openRawResource(R.raw.sample);
  </code></pre>
  
  <p>I've also tried:</p>
  
  <p><code>InputStream inputStream = mContext.getResources().openRawResource(R.raw.sample);</code> (where mContext is a reference I've passed from my main app to my library)</p>
  
  <p>However I get an exception <code>file not found</code> when trying to instantiate my library from my main project.</p>
  
  <p>Is it possible to actually do this, and if so how do I go about doing it? or do I need to pull in the resource from my main project and send it to the library?</p>