I have added a camera control to a screen in a PowerApps canvas app.
The next steps should give the user the ability to go to said screen, then approves the pop-up notification (from the Android OS at first use of the app) which asks for permission to access the camera and hence, will be able to take a photo which will be stored in an image control or gallery control on the following screen/page.
I managed to add the camera control which I named Camera1. I installed the PowerApps app for Android from Google Play on an Android phone, logged in with the Microsoft two-factor authentication and am correctly receiving the permission prompt for the camera access at first use. The camera then gets activated in both the PowerApps universe web application (on the PC) as well as when running the app on the Android phone.
In order to let the user take a photo and add it to the image control/gallery control on the next screen/page, I followed the steps listed in this permalink https://www.spguides.com/powerapps-camera-control/#Powerapps_add_picture_control under "Powerapps add picture control" but in vain (code doesn't seem to work on the camera control OnSelect function).
However, when running the canvas app on the Android phone hereafter and with the back camera of the phone being accessed, tapping the camera control doesn't take any photo no matter what. The only thing that works is the access to the camera which is shown "live" in the camera control (squared window).
My question now is...
a) how can I enable the user to take a photo tapping the camera control and
b) how do I store this photo on the next page in the image control/gallery control itself?
Could anyone please advise on the correct procedure and what I am doing wrong?
Thanks.