Hi,
I have an app in development which downloads images from a server and displays them on the device (covering the screen).
I recently purchased a Samsung Galaxy Tablet and the code which ran fine on a phone (480x800 pixels) is now returning an error on the tablet (1280x800 pixels). The error is complaining about the number of threads being exceeded when I call HttpClient Execute. I assume this is occurring due to the increased number of images required to cover the display real estate.
The actual error is;
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@416c1370 rejected from java.util.concurrent.ThreadPoolExecutor@40821f30[Running, pool size = 20, active threads = 20, queued tasks = 0, completed tasks = 950]
From this I assume there is a limit to 20 concurrent "threads" or "downloads" in my case.
Has anyone else come across this?
Thanks