> Petroleam is right about AsyncTask using a thread-pool of only one > thread on 1.5. Higher versions of Android use a pool of more than one > thread. > > You can do something similar with ExecutorService and FutureTask > classes (java.util.concurrent; i believe that AsyncTask is based upon > these classes) and tell the ExecutorService to use Thread-pools of any > size.
I have a version of AsyncTask for Android 1.5 that eliminates the one-thread limitation: http://github.com/commonsguy/cwac-task -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- 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

