title: Error when trying to load an image
body: <p>I have the following error when trying to load an image. jpeg (1856x1044 and 687kb) in a gallery:</p>
  
  <p>java.lang.OutOfMemoryError: bitmap size exceeds VM budget</p>
  
  <p>I have a ImageAdapter and in the method getView() i have:</p>
  
  <pre><code>imageview.setImageResource(images[position]); --&gt; here it fails
  </code></pre>
  
  <p>As I can treat the image so that it does not fail?</p>