Friday, July 1, 2011

[android-developers] Re: AsyncTask, Runnable Thread, ???

AsyncTask is designed to run with Android API (activity, service,
etc...) so that would be my preferred choice if I was using it within
an activity say. The class has a well designed lifecycle and makes
code more readable than the thread/handler idiom.

On Jul 1, 3:02 pm, Jorge Luis <jorgelferr...@gmail.com> wrote:
> I need to retrieve a few JSON URLS and put then in the UI... which is the
> best way to do it?
> AsyncTask, Thread+Handler, any other?
>
> In addition could you give an example, or tell me where do i get a nice
> tutorial to do it?
>
> Thx.
>
> --
> Jorge Luis Ferrari Cé
> Desenvolvedor / Web Designer
> Siga @JLFerrari

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment