Part 2 of the camera2 API tutorial series which describes how to setup the camera2 API surface preview sizes. It is important that the supported preview sizes from the camera device closely match the desired preview size of the applications preview display. GitHub You can clone the code from github and then Tag “camera2-surface-preview-sizes” or else run this […]

Read more