문제

I would like to ask a question related to the camera live view.

When we tap somewhere on the camera preview, a focus appears. How should I get the X & Y coordinates or pixel of that focus?

Thanks in advance.

도움이 되었습니까?

해결책

This method gives list of all focus areas and try to get Rect of each focus area by which you could get (x,y) of the rectangle.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top