Find drawable by string
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2349652/android-open-resource-from-drawable-string">Android - Open resource from @drawable String</a>  </p>
</blockquote>



<p>First of all sorry for the title but I don't know exactly what title I can set.</p>

<p>Ok, here's my question:</p>

<p>I will recibe from a external database a string for example: 'picture0001'.</p>

<p>In the folder res/drawable I have a picture which name is picture0001.</p>

<p>I would like to set that picture as background (source) of a ImageView.</p>

<p>The question is, how can I look for this picture with the string I got from the external database.</p>

<p>Thank you so much. </p>
