title: context.getResources().openRawResource() crashes the app
body: <p>I'm trying for a while to make android read from a text file that I already have in the R.raw folder.</p>
  
  <p>I have the function void readfile(Context context) that contains the line </p>
  
  <pre><code>InputStream is = context.getResources().openRawResource(R.raw.data);
  </code></pre>
  
  <p>However when I try to run the app it crashes at that exact line. Can you tell me a workaround? Or another way to read from that file?</p>