Previously worked as C++ & Qt, there is the case was different, perhaps even easier.
Now the challenge is to write a TcpClient for Android that is Java. So, naturally you need to process requests from the server, and to be able to take. So far, I settled on the idea is to divide the client into two streams, one for instance accepts requests from the server and processes them. The second thread that actually have a GUI and send requests.
What do you say? Is it possible to elect a better way? I want to listen to people working in this area, maybe someone can recommend a good link to the example code, unfortunately I have yet to find in the Internet the src which would have helped me.