Take photo in the android application and save to a folder inside the project (No drawable for example)

0

I'm new to android programming and I'm developing a simple project where the user takes any photo. Once the photo is taken and the user has confirmed it, I would like it to be saved in a folder within the project itself (perhaps in the drawable folder for example), and save it in the database with the image name to be used later. / p>     

asked by anonymous 31.05.2018 / 19:00

1 answer

0

As far as I know, it is not possible to write anything in the drawable or any other directory of the application because it is inside the APK. Ideally, you should save this photo in the device's storage. android documentation explains how to do this.

    
31.05.2018 / 19:09