title: How to get a resource integer ID from a string containing ID (like: R.string.*, R.drawable.*, etc.)?
body: <p>Recently I had an issue very similar to the one described i.e. here: <a href="https://stackoverflow.com/questions/8038004/convert-string-containing-an-id-into-an-integer-id">Convert String containing an ID into an Integer-ID</a>.</p>
  
  <p>In short, I had resource identifiers formatted as: <code>R.drawable.picture</code> and wanted to transform them to integer values so that they could be stored in an array and accessed by methods building layouts of my application.</p>
  
  <p>However, following the clues given by Users didn't help to solve my problem, I always ended up with improperly formatted data.</p>