R.drawable を使用する代わりに、独自のプロパティで drawable フォルダーから drawable を取得したい
どうすればこれを達成できますか?
public void updateLanguageImg(String img)
{
Bitmap myBitmap = BitmapFactory.decodeResource(this.getResources(),R.drawable.);
// i want retrieve the img String here
ImageView imageV = (ImageView) findViewById(R.id.imageLangue);
imageV.setImageBitmap(myBitmap);
}
どうもありがとうございました