Camera focus distances

前端 未结 4 547
一整个雨季
一整个雨季 2020-12-29 07:44

I\'m trying to read the focus distance (distance of subject in a photo) from an Android camera. I keep getting 0 for all focus distances on my HTC Desire even when it correc

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-29 08:02

    I don't know where you can get the source for the native calls. But what about getting 0 for all the focus distances in getFocusDistances(float[]) method, you can read this issue. There you can read that this error is not the error of the device but of the Android SDK.

提交回复
热议问题