OK. Thank you.

So how do I interface to my UI from the new thread that I start? Once
the long-running task completes (assuming it finishes before my time-
out period), I want to notify my UI thread so it can take appropriate
action. If this was a short-running task, I could have easily used the
onPostExecute() method of AsyncTask for that purpose.

But when running my own thread, what is the recommended way in Android
to properly communicate the results of the task to the UI thread? I
can can think of several ways to do this, but I'm sure there is a
procedure for this which is consistent with Android "best practices".

Thanks again.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to