Anything that touches the UI MUST be done on the UI thread.  This is
the main thread that starts your app.
If you start off a thread, you must use an inter-thread communication method.

See this: http://android-developers.blogspot.com/2009/05/painless-threading.html

On Sat, Aug 28, 2010 at 2:45 PM, Bret Foreman <[email protected]> wrote:
> 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



-- 
http://developingthedream.blogspot.com/,
http://diastrofunk.com,
http://www.youtube.com/user/revoltingx, ~Isaiah 55:8-9

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

Reply via email to