Dynamically Load images in ANDROID


imgID = getResources().getIdentifier("image name", "drawable", "package name");
imgCenter.setImageResource(imgID);