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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -