check out runOnUiThread() its exactly what you need. I don't remember the syntax right off the top of my head but if you google runOnUiThread android you'll get an example.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bret Foreman Sent: Saturday, August 28, 2010 5:45 PM To: Android Developers Subject: [android-developers] Popping up Toast (or something like it) from a thread My user hits a button and kicks off a process that takes 3 steps in about 10 seconds total. I'd like to pop up Toast messages "Step 1", "Step 2", "Step 3", "Finished!" as the process progresses. I'm using the standard Java Thread interface to run the process in a thread and I've found that trying to pop up Toast from the thread causes an FC. What is the best way to report this kind of progress - step by step messages? -- 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 -- 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

