title: How to load an ImageView from a png file?
body: <p>I take a picture with the camera using</p>
  
  <pre><code>Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE );
  startActivityForResult( intent, 22 );
  </code></pre>
  
  <p>When the activity completes, I write the bitmap picture out to a PNG file.</p>
  
  <pre><code>    java.io.FileOutputStream out = openFileOutput("myfile.png", Context.MODE_PRIVATE);
      bmp.compress(Bitmap.CompressFormat.PNG, 90, out);
  </code></pre>
  
  <p>That goes OK, and I can see the file is created in my app private data space.</p>
  
  <p>I'm having difficulty when I later want to display that image using an ImageView.</p>
  
  <p>Can anyone suggest code to do this?</p>
  
  <p>If I try to create a File with path separators in, it fails.
  If I try to create a Uri from a name without separators, that fails.</p>
  
  <p>I <em>can</em> open the file OK using:</p>
  
  <pre><code>        java.io.FileInputStream in = openFileInput("myfile.png");
  </code></pre>
  
  <p>But that doesn't give me the Uri I need to set an image with</p>
  
  <pre><code>   iv.setImageURI(u)
  </code></pre>
  
  <p>Summary: I have the picture in a png file in private app data.  What's the code to set that into an ImageView?</p>
  
  <p>Thanks.</p>