0

I have an Android application, which takes a photo if you hit a button:

@Override
      public void onClick(View view) {
            Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
            view.getContext().startActivity(intent);
      }

How can I use the picture and load it into an existing ImageView? (It should overwrite the default picture)

Thank you for your help :)

Phantômaxx
  • 37,352
  • 21
  • 80
  • 110
texmelex
  • 25
  • 6

0 Answers0