AsyncTask is a good start to get something working.
Add code to carry it over configuration (orientation) changes, and,
depending on the requirements, you may be already done.
You can always move the code into a service (IntentService or
WakefulIntentService) to decouple it from the UI state, if needed.
-- Kostya
01.07.2011 18:02, Jorge Luis ?????:
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 [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
--
Kostya Vasilyev
--
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