Sending plain text data in real time from Android client to server

I have seen other posts about streaming live audio and video from an Android app to a desktop server, but not yet for plain text data. Basically, I am trying to send key values ​​from the android keyboard directly to the desktop server (which is implemented in java) when I type to the client. It will be a simple remote keyboard application that displays the keyboard on an Android device and sends back keystrokes to the server, which accesses the PC keyboard through the Robot class. I understand how to send text from device to server, but I am stuck on how to make the transfer of text data to the server instantly as the user is typing on the device.

I tried to adapt to the examples for video / audio streaming, but I couldn't figure out how they work as I am still very new to programming and client / server programming in general.

Any help would be greatly appreciated. Thank.

+3
java android low-latency client-server sockets


source to share


No one has answered this question yet

Check out similar questions:

1270
How to pass data between activities in an Android app?
809
How to send an object from one android activity to another using intents?
261
Streaming video from Android camera to server
92
Live video from one Android phone to another via Wi-Fi
46
Stream Live Android Audio to Server
2
send and receive sound between android server and java using socket
1
Live video stream from Android to server, PC and, Android device
1
sending a png image file from server (desktop) to client (android) via socket programming
0
simple asynchronous android client with simple c # server
0
How to send port from server to desktop to client on client?



All Articles
Loading...
X
Show
Funny
Dev
Pics