I take a picture with the camera using
Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE ); startActivityForResult( intent, 22 ); <
Also possible:
java.io.FileInputStream in = openFileInput("myfile.png"); iv.setImageBitmap(BitmapFactory.decodeStream(in));