Whats the issue? I am taking pictures with resolution, let's say 4096x3072. Now, I have a polygon inside this picture with some co-ordinates {(x1,y1),(x2,y2),(x3,y3),(x4,y4)}. I want the focus of my camera in the center of this polygon.
Anything on internet? I have looked over internet but most of them are for finger touch event. They are getting co-ordinates like motion.eventX() and motion.eventY() but these co-ordinates map to screen resolution not the picture resolution.