I have some image names stored in a database (Fully Qualified Like R.drawable.SomeImageName) Column type is Integer, but the images themselves are in the /res/drawable folder of the application.
I need to assign these images to some views at runtime, and I'm currently doing it this way:
and someView.setBackgroundResource(getResources().getIdentifier(cursor.getString(Image_Column_Index, null, null));
Both of these method doesnt work
thanks in advance.