Hello,

I'm trying to launch a lot of remote connection retrieve picture on a
server. To do this, I use AsyncTask.

This pics are displayed in a listview using adapter. If I implement
this in my adapter, images are retrieved but the display is bad
(problem with index or something like that).
If I try to retrieve image when I build my object list (contained in
my listview), I get the exception
04-07 13:35:57.744: ERROR/AndroidRuntime(4132): Caused by:
java.util.concurrent.RejectedExecutionException
04-07 13:35:57.744: ERROR/AndroidRuntime(4132):     at
java.util.concurrent.ThreadPoolExecutor
$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1876)
04-07 13:35:57.744: ERROR/AndroidRuntime(4132):     at
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:
774)
04-07 13:35:57.744: ERROR/AndroidRuntime(4132):     at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:
1295)
04-07 13:35:57.744: ERROR/AndroidRuntime(4132):     at
android.os.AsyncTask.execute(AsyncTask.java:394)

What is this exception ? Why I can launch multiple asynctask in my
listview (giving to me a bad result) and not in a simple object
without having this issue ?

Thanks for your explanations.


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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to