Reputation: 4185
I read this article, which claims Google glass can autofocus. However, this code returns false:
getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_AUTOFOCUS)
I could not find a definite answer on Google Glass Tech specs. Does anyone know for sure if the camera can auto focus? Thanks in advance.
Upvotes: 8
Views: 1209
Reputation: 897
If you run
List<String> FocusModes = params.getSupportedFocusModes();
Then you will get a list of only one focus. It actually only supports
Camera.Parameters.FOCUS_MODE_INFINITY
Upvotes: 0
Reputation: 50701
The current Glass camera has a fixed focus, not autofocus. So it would make sense that this returns false.
Upvotes: 1