The activity gets the string (R.drawable.che3) by the method final String get_image = intent.getStringExtra(EXTRA_IMAGE); The question is how do I turn this line into a resource (image or link to a resource) here is an example for this method
ImageView imageView = (ImageView) findViewById(R.id.backdrop); imageView.setImageResource(R.drawable.cheese_1); ->
ImageView imageView = (ImageView) findViewById(R.id.backdrop); imageView.setImageResource(EXTRA_IMAGE); or so more understandably what I am about is imageView.setImageResource("R.drawable." + EXTRA_IMAGE )