For my first post on this very good forum, i'd like to know if is possible to get a resource (drawable) dynamically.
Example of what i want to do :
Using java Syntax Highlighting
- String var = "image1";
- getResource().getDrawable(R.drawable.var) // => i would load the image1
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
so for var = "image42", i would load the image42...
But I can't use R.drawable.var, indeed the image var.png does not exist
Is it possible to do such a thing, and how ?
Thanks in advance

