title: String array with drawable values to int array
body: <p>I am building an Andorid application. I have this String array which contains the values for the image files:</p>
  
  <pre><code>String[] stringArray = new String[]{ "R.drawable.image1", "R.drawable.image2 ", "R.drawable.image3", "R.drawable.image4"};
  </code></pre>
  
  <p>Is is it possible to convert the stringArray to something like that, if yes h so the Android app can read the resource values properly ? If yes then how ?</p>
  
  <pre><code>int[] intArray = new int[]{R.drawable.image1, R.drawable.image2, R.drawable.image3, R.drawable.image4};
  </code></pre>