In my experience, (I have used both), you need to create a Hander object to
change something from the procedure that is running inside your Thread.

Whereas, if you use the AsycTask, there will be call backs to do UI
updations... I also agree with Miguel Morales.




Regards,
Saurav Mukherjee.


On Thu, May 19, 2011 at 12:08 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

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