I take a picture with the camera using
Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE ); startActivityForResult( intent, 22 ); <
Why not this way:
ImageView MyImageView = (ImageView)findViewById(R.id.imageView1); Drawable d = Drawable.createFromPath( PATH TO FILE ); MyImageView.setImageDrawable(d);