I am building an Andorid application. I have this String array which contains the values for the image files:
String[] stringArray = new String[]{ "R.drawable.image1", "R.drawable.image2 ", "R.drawable.image3", "R.drawable.image4"};
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 ?
int[] intArray = new int[]{R.drawable.image1, R.drawable.image2, R.drawable.image3, R.drawable.image4};