How to take pictures in Android/ iOS native Cameras

I want to write a simple Automated test that launches and takes a picture from Androids’s native Camera. I can launch the Camera but cant take the picture.

Iv tried looking in Appium Inspector to get the :xpath for the button that takes the pic so that i can do a “.click” on it, But its not there.

Im new to Appium, I haven’t been able to find any info online. I dont know even if this is possible.

Thanks