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,901
  • 21
  • 84
  • 115
texmelex
  • 57
  • 7

0 Answers0