The first activity has a button which when clicked, opens the inbuilt camera. Now when the picture is taken, a new activity opens with the image captured in an imageVi
imageVi
Refer to this link. You should save your image on a file and get the file path of that image. You can then pass the image path to the second activity.