title: Android openRawResource() not working for a drawable
body: <p>I'm trying to create an input stream by doing this</p>
  
  <pre><code>InputStream is = (InputStream) getResources().openRawResource(R.drawable.image1);
  </code></pre>
  
  <p>but I'm met with the error "Expected resource of type raw" with respect to my drawable file (R.drawable.image1). image1 is a png and in my res/drawable folder. </p>
  
  <p>Any ideas???</p>