"too many threads error" in blackberry OS-4.5

Posted by SWATI on Stack Overflow See other posts from Stack Overflow or by SWATI
Published on 2010-06-08T07:59:18Z Indexed on 2010/06/08 8:02 UTC
Read the original article Hit count: 200

Filed under:
|

hi in my application i have 20 icons(bitmap fields) on the home screen When i click on any icon an HTTP request is made in a separate thread.

I have used invoke later method wherever necessary to take care of multi-threading problems.

But still the number of threads goes beyond 16 and an error pops up indicating too many threads error and applications needs to be restarted!!

can anybody tell me how to destroy these threads when they are no longer in use. I don't understand why they don't destroy on their own as usually they do.

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about curve