An external object called Camera enables interaction with the device's photo camera. The main purpose of this external object is to invoke the Camera of the device, take a picture, and be able to use that image in the application.
This article offers a step-by-step tutorial to use this feature.
To interact with the camera, the external object named Camera has to be used.
TakePhoto: This method invokes the device's camera native application, so the user can take a picture and select it to use it in the application.
Layout
Variable
&photo based on Image data type
Event
Event 'TakePhoto'
&photo = Camera.TakePhoto()
Endevent
2.2. Execution
Once the action is executed:
After taking a picture:
After using it:
Generators: Apple, Android, Angular