How to save images from Camera in Android to specific folder?

前端 未结 3 583
长情又很酷
长情又很酷 2020-12-03 11:13

Basically, what I want to do is allow the user to make their own folder and then go to an activity that contains a button to launch th

3条回答
  •  生来不讨喜
    2020-12-03 11:50

    You should add the file location to the image capture intent. For example:

    camera.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, [file location]);
    

    Take a look here

提交回复
热议问题