Asked
Viewed 579 times
I would like to access Emacs on my computer using my android phone. Output would be Emacspeak server on my phone.
What would be the best way to stream keyboard events from phone to Emacs?
2
It depends on what you would like to do. I sometimes run Emacs inside an SSH terminal on my phone. This, of course, means that it is displayed on the phone rather than on the computer screen.
2 Comments
is there any way to make this communication one-way, just to stream keyboard events, without sending terminal drawing in opposite direction?
If you want one way communication, in my opinion you have two options, both related to emacsclient. Start emacs on your PC in TCP server mode, then...
either
- Figure out the emacsclient protocol, and write your own program which to Emacs looks like an emacsclient, but actually is an Android program.
or
- Run emacsclient on the Android, and give the --eval option. This will make Emacs run elisp functions, and you can make it whatever you want on the Emacs side. (This will only work if your Android can run emacsclient. I don't know if that will involve port to a Java app + NDK or if you can get emacsclient on a rooted phone.)
Comments
Explore related questions
See similar questions with these tags.