For example, the name of the image is got from the following code
Bundle bundle = getIntent().getExtras();
String name = bundle.getString("Name");
And what i would like to do is like
int picId = R.drawable.name;
where name should be replaced by the actual name. How can I do that? Or is there an alternative way so that I could show the picture in ImageView? I tried to put the image in the database which worked, but it makes the database way too large.