2013. 6. 25. 15:48
String mDrawableName = "myimg";
int resID = getResources().getIdentifier(mDrawableName , "drawable", getPackageName());


Posted by hoonihoon