Open Android Native camera, take photo and upload to server


Need some help, I wanted to open the android native camera, take a picture and upload that to the server, so far I used Enumerate video capture devices and rendered media texture on to material, applied this to an image in a HUD. I’m able to open the camera and get the feed, but I need to know how can I take a picture and send it to the server. If there is any other way to do this, it is also fine I would love to give a try.