meetharia
Lurker
I want to get AutoFocus Distance in diopters from Camera2 API. But whenever i use result.get(CameraCharachteristics.LENS_FOCUS_DISTANCE) to get focus distance in diopters, the app crashes... I mean it works on my Nexus 5 phone but not in other phones... Is there any other way to get camera focus distances in diopters without causing the app to crash? Camera is configured in auto focus mode. Please help