I am using 2.1 in the emulator and 2.2.2 on my LG optimum and 2.3 on my
Wildfire S... the same thing happens in all 3 :(
Works fine till 4 or 5 times, then the threads dont start.

Thinking of rewriting it to use normal threads instead and a call
to runOnUiThread.

On Fri, Sep 30, 2011 at 5:15 PM, Mark Murphy <mmur...@commonsware.com>wrote:

> 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 <music...@gmail.com> 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 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
>
>
>
> --
> 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 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

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