moazzamk wrote:
> I have a function in my activity that starts a new thread and that
> threads send a message back to an event handler. I need to start an
> activity after that thread finishes. How can I do that. I keep getting
> an error when I try to do this :

If you don't tell us the error, it is difficult to help you.

For your scenario, consider using AsyncTask rather than your own
Handler. You can start your activity in onPostExecute(), update your
original activity in onPublishProgress(), etc.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 Available!

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