Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试为 BLACKBERRY 5.0.0 准备活动指示器,但未能成功。我正在尝试创建两个线程类,一个具有后台功能,一个具有扩展弹出屏幕的活动指示器类...但出现错误作为“线程错误太多...
请帮帮我
提前谢谢
会出现这个错误是因为黑莓只支持63个线程。如果线程数超过 63,它会给出“线程过多异常”。
所以尝试使用UiApplication.getUiApplication().invokeLater(new Runnable{})作为活动指示器。这将有助于解决问题。