mobile
mobile copied to clipboard
Use CameraX on Android to take a picture
Camera intents to capture a picture are deprecated now.
We should slowly migrate to use CameraX.
The API seems minimal, but some investigation must be done as it might use the Android fragments (:-/)
See https://developer.android.com/training/camerax
As it turns out, Camera intents are not deprecated, Camera 1 is deprecated. See https://developer.android.com/media/camera/camera-intents
We might want to implement the camera ourselves though via Qt API