The only difference is that AsyncTask uses a thread pool to do its work.  If
you use a thread, you will have a slight overhead of creating and starting
the thread.  However, they both work relatively the same.

On Wed, May 18, 2011 at 11:38 PM, Hitendrasinh Gohil <
hitendra.virtuei...@gmail.com> wrote:

> hi,
>
> I have just found one google doc for ANR.i am using thread class to
> retrieve data from server.and displaying it to app.
>
> so i just want to that whether i should use Thread or should forget
> the Thread because android is providing Asynctask.
>
> can anyone elaborate this,pls?
>
> --
> 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




-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx

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