A threaded server in Java for the Android platform

In this post we will create a basic concurrent server using threads in Java. The server will be implemented for the Android platform as part of a larger project to control a USB interface board remotely. Below are two screen captures. The first shows a state of the server after a few clients have connected and sent data. The second shows the terminals for the four clients. We will first take a look at our user interface. The main.xml file is given below. We have two buttons for starting Read more [...]