title: How do I get an image from an sdcard to show up on a widget imageview?
body: <p>I am trying to make it so that the widget shows an image saved onto the sdcard. so far i have found this:</p>
  
  <pre><code>String imageInSD = String.format("/sdcard/facepalm%d.jpeg", counter%10);    
  Bitmap bitmap = BitmapFactory.decodeFile(imageInSD);
  remoteViews.setBitmap(R.id.imageview1, "setImageBitmap", bitmap);
  ImageView myImageView = (ImageView)findViewById(R.id.imageview1);
  myImageView.setImageBitmap(bitmap);
  </code></pre>
  
  <p>The commented line causes the widget to crash for some reason. I just want to find a way to make this work.</p>