«

Feb 28

Android Camera2 Touch-to-Focus

Man Camera2 APIs are hard to master...

I've scanned SO for a way to get touch-to-focus to work on Android and could not find a solution that works.
These were very partial, or provided only scaffold code which I couldn't use:

Finally I was able to do it by myself this way:

Enjoy
Roy

Share
  • ovmeygat

    what is mPolygonDrawerView ?

  • royshikron

    It's leftover from other code. I'll remove. Thanks!