Introduction
Taking pictures through Power Apps is a very common use case. To do so, you have two options:
Which one should you use?
Tip - Use Add Picture
It has many advantages over the Camera control. It allows users to:
- Choose between taking photos and selecting existing photos.
- Switch between front and back cameras of a mobile device.
- Use all the special effects that a device's native camera app offers.
- Take photos in full resolution based on the device's camera.
- Take photos through Power Apps that are used within Teams on mobile.
To test out #4, I took 2 similar photos. The photo taken by the Camera control had a resolution of 480 x 640. And the one taken by the Add Picture control had a resolution of 1235 x 1646. You may be concerned with the fact that using this control results in an additional click to choose between clicking or selecting a picture. To solve for that, there is a property called UseMobileCamera. Setting it to true uses the camera directly, when available.
Stay tuned for the remaining 25 tips!
Add picture control , camera. Capture is giving low resolution output. Please help if there is some additional setting that need to be done