Sounds like a case where you are going to want to have separate threads...
one for the UI and one for establishing the socket connection.
The dev guide mentions when this should be done and I believe it also
addresses how to create multiple threads.
Thanks,
---
How would multiple threads help us in this matter?
setText() does not seem to write out anything to display until the
currently running method has ended.
Anybody who has any example code?
Thanks!
On Sep 9, 6:06 am, Justin Anderson wrote:
> Sounds like a case where you are going to want to ha
Have your onCreate do two things:
1) Set an initial value for the TextView
2) Spawn another thread to establish the connection
onCreate will then finish immediately after spawning the new thread,
allowing the initial value to be displayed. You can then set up a Handler
for the thread to post back
3 matches
Mail list logo