Hello,

The "Processes and Threads" section of the documentation discusses how to
use the Thread and AsyncTask but reading through the documentation I found
out about the Executor and related classes* and I was wondering why there's
nothing on the documentation about those classes. Executors look like a nice
and clean solution for using threads without instantiating a "raw" Thread
when AsyncTask is overkill.

Are there any special cases when Executors should and should not be used?

Lastly, if anyone could explain the reason why using a
ScheduledThreadPoolExecutor is preferable to a Timer? I've read the
documentation but I didn't really get it.


Thanks in advance



*(ScheduledThreadPoolExecutor, ThreadPoolExecutor, ExecutorService,
ScheduledExecutorService)

-- 
株式会社アルゴ ARGO Inc.
〒130-0012
東京都墨田区太平3-11-10
NTKオオノビル8階

ソアレス フランシスコ ( Soares Francisco )
Mail : soa...@argo.bz HP : http://www.argo.bz/
TEL:03-5619-4511 FAX:03-5619-4512

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

Reply via email to