How to convert vertical display co-ordinates into Horizontal display co-ordinates?

How to convert vertical display co-ordinates into Horizontal display co-ordinates?

I am creating a remote desktop app to control PC through android. Now I created the imageview and onTouchListener setup and got the X and Y co-ordinates of the Android display. Now I need to convert them to horizontal display co-ordinates for PC to move the mouse location.


Source: StackOverflow

LEAVE A COMMENT