title: Android how to get image via putExtra
body: <p>Hi I need a little help with understanding how to send image <code>uri</code> via <code>intent.putExtra()</code> so I can change the source of another activity with <code>intent.getExtra()</code>.</p>
  
  <p>So basically I'm trying to send from <strong>Activity1</strong> <code>intent.putExtra("R.drawable.image");</code>  to <strong>Activity2</strong> and show the image.</p>
  
  <p>I'm trying to do it like this :</p>
  
  <p>Activity1:</p>
  
  <pre><code>intent.putExtra("image_url","R.drawable.image");
  </code></pre>
  
  <p>Activity2:</p>
  
  <pre><code>    ImageView image = (ImageView) findViewById(R.id.image);
      String image_link = getIntent().getStringExtra("image_url");
  </code></pre>
  
  <p>and I don't know how to set it as background to image.
  Any suggestions?</p>