On 03/30/2010 02:49 PM, BiiG wrote:
I'm real new to Java, but not to programming. By blocking do you mean
I'm stopping the main routine from executing? If I use the time
difference by currentTimeMillis and give it something to do, is this
still blocking?

Yes, blocking as in the Unix sense of the word. The basic
issue is that your UI thread is not consuming messages and
that the system/vm monitors that thinking -- rightly -- that
something's wrong. When you block, you cannot process UI
events which is never good.

I'll look at the other things you suggested which also turned up in my
investigation. Just not sure how hard it is.

It's trivial. new Handler () in your activity to be able to do
postDelayed, and new Runnable () to encapsulate kicking off
the next step.

Mike
Thanks a million!
Mike


--
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 from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to