How Do I Use the Mobile Device Camera or Select an Image from the Gallery? (Magic xpa 3.x)
You can initiate a camera or select an image from the gallery from the Android, iOS and Windows 10 Mobile client.
You do this in the Logic Editor:
-
In the Logic tab, define a User event.
-
Create an Update Variable operation.
-
In the With property, define the ClientImageCapture function and in the source parameter (first parameter) use the following value: 0 to open the camera and 1 to open the gallery.

The path to the image will be returned from the function. If the user did not take an image, a blank string will be returned.
The Rich Client Samples project (program RMO07)