views:

500

answers:

2

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