How to move image captured with the phone camera from one activity to an image view in another activity?

后端 未结 3 1130

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

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-21 09:05

    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.

提交回复
热议问题