I am trying to send an image from one activity to another but I dont know how to set the imageview.
here is how I send the image and other stuff
Intent i
Dont you think
img_view.setImageBitmap(intent.getByteArrayExtra("quantity"));
should be
img_view.setImageResource(intent.getIntExtra("name",R.drawable.default_image));
use this code for get intent
Intent intent = getIntent();
ImageView img_view = (ImageView) findViewById(R.id.item_image);
img_view.setBackgroundResource(intent.getIntExtra("name",1));