mark,

could on also use a dedicated broadcast receiver? for example, the activity registers a BR that has a handle to the activity itself. the client then sendBroadcasts() to the BR?

On 9/21/09 10:11 AM, Mark Murphy wrote:
  
What is the best way now, to pass information (IP or client socket
object) between the two thread?

(so that I could update the ListView in thread one when new incoming
socket is accepted)
    
Use a Handler, to send either messages or Runnable objects to be executed
on the UI thread.

  

--

Reply via email to