In an educational application, users may want to take their profile photos from within the application. This process is initiated when the user clicks the ‘Take Photo’ button on the user profile screen, and the photo taken is displayed directly to the user and saved.
Adding a Take Photo Action
- Enter the UI Design module and drag and drop a Button element from the Elements panel on the left side.
- In the Properties panel, enter a phrase such as ‘Take Photo’ in the Label section of the button.
- Select the button and add the OnClick → Device → Photo Take action from the + ADD ACTION menu.
- Configure the Edit Photo and Photo Quality settings in the action parameters.