OK, I had a little play around with your input method today and I really don't think it will work for controlling the phone realistically.
I made this small program which takes a number and a message (enclosed in quotes) from the command line and will send the keys to the phone to send the message. the adb input method is so slow and clumsy that it can take minutes to send a normal length txt.
The best way to make this kind of application would definitely be to make some sort of backend to run on the phone (like a VNC server as someone already suggested) and have the program on the PC communicate with that. This method has the advantage of not needing adb installed and possibly not even needing the usb cable...
The attached java app is actually quite fun, but really not practical for sending SMS!
I made this small program which takes a number and a message (enclosed in quotes) from the command line and will send the keys to the phone to send the message. the adb input method is so slow and clumsy that it can take minutes to send a normal length txt.
The best way to make this kind of application would definitely be to make some sort of backend to run on the phone (like a VNC server as someone already suggested) and have the program on the PC communicate with that. This method has the advantage of not needing adb installed and possibly not even needing the usb cable...
The attached java app is actually quite fun, but really not practical for sending SMS!