Hello everyone, i'm working on an application which consists of a server on my laptop and a client on my android phone, i'm using the UDP library to send and receive data packets, so far everything works fine, i can turn up/down the volume on my laptop through my phone, i can also move the mouse around through touching the screen on the phone. This is where i need some help, when i slide my finger on the touchscreen on the phone, i send those x and y values to the computer therefore moving the mouse on the laptop. My problem is that let's say i move the mouse from left to right, since the screen resolution is smaller on the phone than on the computer, the mouse will obviously only move to the right as far as the width of the phone's screen, i need to figure out a way to let's say if i lift the finger and go back to the left and slide the finger from left to the right again, to keep the mouse moving to the right from where it left off when i lifted my finger up.
I kind of made my self dizzy explaining this, hope i make any sense, i hope i can get some help with this.
thanks everyone,
Walter Flores
I kind of made my self dizzy explaining this, hope i make any sense, i hope i can get some help with this.
thanks everyone,
Walter Flores