黑莓OS-4.5中的“太多线程错误”

时间:2010-06-08 07:59:18

标签: blackberry java-me curve

在我的应用程序中,主屏幕上有20个图标(位图字段) 当我点击任何图标时,在单独的线程中发出HTTP请求。

我曾在必要时使用invoke方法来处理多线程问题。

但线程数仍然超过16,并且弹出错误,表明线程错误太多,应用程序需要重新启动!!

任何人都可以告诉我如何在不再使用它们时销毁这些线程。 我不明白他们为什么不像往常一样自己毁灭。

1 个答案:

答案 0 :(得分:0)

I tried to go ahead with active count of thread
If that count exceeds beyond the limit set by me then i queue up the request 

然后稍后再发送。

but this delays the response.

I had no other option other than this

Thanks for help!!!!!!!
相关问题