onyxbits / remotekeyboard

Android input method
http://www.onyxbits.de/remotekeyboard
Apache License 2.0
114 stars 25 forks source link

maintain telnet connection across ime switches #28

Open bhoover opened 5 years ago

bhoover commented 5 years ago

My implementation mainly involves not destroying the telnet server on remote keyboard destroy, and a couple changes that necessarily follow from this.

An alternative approach might be to return from server input loop, but maintain socket connection in connection accept loop, blocking there on a semaphore signaled when ime is returned to remote keyboard, and then restarting the input loop. This however might make for an unnecessarily busier input loop (input loop polling for whether it should exit), as the present implementation already has the input loop blocking on io read.

Comments, observations, suggestions, advice appreciated.

helpdeskdan commented 2 weeks ago

As the original author no longer seems to maintain this, is there any chance we could convince you to fork the project or make an updated build?