This tutorial explains how to use Android CameraX to develop a full working camera app, including picture / video capture and writing media files to system DCIM folder, with the help of the new CameraX widget CameraView. It's Android 10 compatible.
Text version of this video:
https://haoc8.blogspot.com/2020/08/an...
You can download complete code over there.