Picture camera in variable folder

Good night everyone, I am studying and developing an application for testing. and basically consists of a text box a button to create a directory with the name that is typed in the text box.
and a camera that takes a picture and saves it in the same directory.

I need the photos to be created inside this folder, that every time the text changes and creates a new directory the photos go there.

my print Screen

thanks for all hope

11 posts were merged into an existing topic: Picture from camera in a created folder