title: Load an image from assets folder
body: <p>I am trying to load an image from the <code>asset</code> folder and then set it to an <code>ImageView</code>. I know it's much better if I use the <code>R.id.*</code> for this, but the premise is I don't know the id of the image. Basically, I'm trying to dynamically load the image via its filename. </p>
  
  <p>For example, I randomly retrieve an element in the <code>database</code> representing let's say a <em>'cow'</em>, now what my application would do is to display an image of a <em>'cow'</em> via the <code>ImageView</code>. This is also true for all element in the <code>database</code>. (The assumption is, for every element there is an equivalent image)</p>
  
  <p>thanks in advance.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>forgot the question, how do I load the image from the <code>asset</code> folder?</p>