2010/10/22 Kostya Vasilyev <kmans...@gmail.com>

> Prakash is right - the thread needs to be started.
>
No, it doesn't. He's posting it to run on a handler which will call the run
method. The problem is that that runs on the UI thread and the Task object
is sleeping for some arbitrary time, as Dan pointed out.

> Now, btw, why does Thead implement Runnable in Java? Seems like a recipe
> for confusion.
>
Yes it does.
http://developer.android.com/reference/java/lang/Thread.html

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to