They are both build on top of Thread, but easier to use, especially in
conjunction with the rest of the Android framework.

On Wed, Sep 7, 2011 at 8:52 PM, Pratik Prajapati <[email protected]
> wrote:

> Hi All,
>
> Android documentation says that "consider 
> usingAsyncTask<http://developer.android.com/reference/android/os/AsyncTask.html>
>  or 
> HandlerThread<http://developer.android.com/reference/android/os/HandlerThread.html>,
> instead of the traditional 
> Thread<http://developer.android.com/reference/java/lang/Thread.html>
>  class"
>
> Any specific reason for this? Is it like " HanderThread" is just
> simpler implantation or also provides better performance?
>
> --
> Kind Regards,
> Pratik Prajapati
>
>
>
>  --
> 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




-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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