Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我很好奇三星galaxy s2的前置摄像头是否可以与前置摄像头一起使用自动对焦?据我所知,Android 似乎没有任何文档。
if (Camera.getNumberOfCameras() > 1) { final Camera camera = Camera.open(1); final String focusMode = camera.getParameters().getFocusMode(); Log.v("FocusMode of front camera", focusMode); }
=>“固定”
焦点是固定的。如果焦点不可调节,相机始终处于此模式。
因此,答案是否定的。