Change a Display Pic, Add A new Image

I am trying to automate my android application through Appium. My
application has a camera functionality. Through that application, a user
can able to take photos and upload it to the server.
My Question is I want to automate that functionality through appium.
I can able to automate launching camera. I am also able to get the UIautomation screenshot of the buttons (like selfie mode,shutter button). But Unable to click a pic.

Secondly If i try(Chooses an Image) option …and pasting the image URL in sendkeys…
the image still not getting changed .

we managed it for a while with iOS Simulator only. Simulator opens gallery instead and we adding needed image into it.