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

Asked

Viewed 72 times

0

I’m new in android programming and I’m developing a simple project where the user takes a photo of any. Once the photo is taken and the user has confirmed, he wanted to save it in a folder within the project itself (maybe in the drawable folder for example), and save it in the database with the name of the image to be used later.

1 answer

0


As far as I know it is not possible to write anything in drawable or any other application directory because it is inside the APK. The ideal would be to save this photo in the storage of the device. A android documentation explains how to do this.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.