java - Android - Listening for incoming TCP/Socket messages in background -
I am trying to write a little application that sends TCP messages to the Java server running on PC (printed freer with). Now the client should listen in the background for incoming messages from the server in the background. How can I update incoming messages from GUIs with background messages? "post-text" itemprop = "text">
We want to spin a background thread for this. The easiest way is to use an asynchronous and then use it on PostExecute, or publish the progress, to display your message safely in the UI.
Check out.
Comments
Post a Comment