jeudi 28 mai 2015

I cant view the images from data base in an image view

hi i stored the images name in a database and the images are in the drwable folder and i retrive the images name into string array(imageArray[]) list so to view it in an image view i did this but its not working

imageview1.setImageResource(Integer.parseInt("R.drawable."+imageArray[pos]);

any ideas ?

Aucun commentaire:

Enregistrer un commentaire