> 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.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to