Can someone give me a "simple" definition about Thread in android. I read the definition on the Android Site but It's really hard for me to imagine!
+2
A:
You sound like you could use a semi-real-world example. Google revealed this handy blog post.
For a general reference (as mikem suggested) see Wikipedia: Thread. Threads are pretty much the same in every framework.
Charlie Salts
2009-09-24 03:28:08
A:
Hello!
The thread models for Android is a bit different, in the way that they recommend using an AsyncTask. Read AsyncTask documentation. It's like a thread....
Regards
arit
arit
2009-09-25 22:06:26
It's common to see these sorts of features as threads *can* be difficult to use properly - .Net has its BackGroundWorker which is essentially a wrapper class for a thread which abstracts away some of the details of thread management. That being said, simplifying threads this way also makes it harder to do some more advanced things: AsyncTask can only be created on the main UI thread, and can only be run once. It all depends on what you're trying to achieve.
Charlie Salts
2009-09-25 22:23:54