Am 07.05.11 17:53, schrieb Droid:
> Is one better than the other?

yes, but it depends on what you want to do

if you only want a background task you can do it a thread. if your task
acts with the ui you can do it with both but it is easier with the
asynctask (your thread vs. ui thread)

http://developer.android.com/resources/articles/painless-threading.html

-- 

Ralph Bergmann


www              http://www.dasralph.de/
mail             [email protected]
skype            dasralph

facebook         http://www.facebook.com/dasralph
xing             http://www.xing.com/profile/Ralph_Bergmann3
linkedin         http://www.linkedin.com/in/ralphbergmann
model kartei     http://dasralph.model-kartei.de/

java user group  http://www.jug-bb.de | http://www.xing.com/net/jugbb
ios dev group    http://www.xing.com/net/iosberlin


pgp key id       30C4ECD8
pgp fingerprint  C6E4 3435 7CC8 5008 54EC 1C86 4176 7F75 30C4 ECD8

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