Well, the code in that SO question is fairly weak. It won't handle
configuration changes, for example.

AsyncTask uses a thread pool, so if you request too many tasks, some
tasks will queue up waiting for threads to release, which would cause
the described symptoms. For current versions of Android, though, that
pool will grow to 128 threads, unless you supply your own
ThreadPoolExecutor (that part is new to Android 2.3 IIRC).

On Fri, Sep 30, 2011 at 10:06 AM, R S <[email protected]> wrote:
> Hi there,
> I am having the same problem as the one described here:
> http://stackoverflow.com/questions/4080808/asynctask-doinbackground-does-not-run
> Just checking if this has been sorted out or I should change my
> doInBackground code to the example that that guy has written there?
> Thanks!
> Ryan
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
Available!

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