title: send image from one activity to another
body: <p>I am trying to send an image from one activity to another but I dont know how to set the imageview.</p>
  
  <p>here is how I send the image and other stuff</p>
  
  <pre><code>Intent item_intent = new Intent(MainActivity.this, Item.class);
  item_intent.putExtra("name","test name arif");
  item_intent.putExtra("quantity","99");
  //*************************here is the image***************************
  item_intent.putExtra("image",R.drawable.access);
  MainActivity.this.startActivity(item_intent);
  </code></pre>
  
  <p>here is how I am trying to read the image and set it to the ImageView but I am getting a syntax error.</p>
  
  <pre><code>Intent intent = getIntent();
  ImageView img_view = (ImageView) findViewById(R.id.item_image);
  
  // this where I am having problem below******************************
  img_view.setImageBitmap(intent.getByteArrayExtra("image"));
  </code></pre>
  
  <p>how should I set the ImageView?</p>