I downloaded an Android camera2 demo, it ran well.
Now I want to get the intrinsic matrix of the camera by querying the CameraCharacteristics.
My code is
The lens intrinsics are only guaranteed to be defined if the camera device supports the DEPTH_OUTPUT capability.
As of right now, the depth extensions to the camera2 API are new, and not yet supported by basically any Android device.