hey :)
I want to put a background image in may java file from an image stored on the sdcard. I use the code below but with no success :/
TableLayout tl=new TableLayout(this);
int tmp = this.getResources().getIdentifier("sdcard/pic.png", "drawable", getPackageName());
tl.setBackgroundResource(tmp);
an idea ?