如何在应用程序运行期间隐藏/删除默认进度图标
我正在 OS 5.0 中使用一个 BB java 应用程序。应用程序有一个屏幕,其中列出和显示列表。广告横幅已放置..横幅正在特定时间间隔下载和替换..我的问题是,当我在该屏幕上时,默认情况下会放置黑莓进度图标
..请告诉我如何隐藏/从此屏幕中删除..
这只发生在9700模拟器和设备中..并且在9550设备和模拟器中正常工作。
请参阅带有进度图标的附件图片。
提前致谢...
i am working with one BB java Application in OS 5.0. Application have one Screen in which List & Ad banner are place .. Banner is downloading and replacing in specific time interval .. my problem is that when i am on that screen Blackberry by default Progress icon
are placed .. please tell me how to hide/remove from this screen ..
This happen only in 9700 Simulator and device .. and working properly in 9550 device and simulator.
Please see attachment pic with progress icon.
Thanks in Advance ...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当系统垃圾收集器工作时,您会看到进度图标。您将无法删除进度图标,因为您无法控制它。如果垃圾收集器正在工作,就让它工作,因为它正在尝试释放内存。
完整的垃圾收集操作平均执行 1 秒,完成时间应少于 2 秒。完整垃圾收集操作执行以下操作:
在以下情况下,系统可能会启动完整垃圾回收操作:
此信息来自此处
如果您的应用处于上述情况,将显示进度图标。现在您知道它何时显示,在设备中调试您的应用程序,并查看哪些情况适用于您。
You see the progress icon when the System garbage collector is working. You will not be able to remove the progress icon as you dont have any control over it. If the garbage collector is working, let it do, as it is trying to free up memory.
The full garbage collection operation executes for 1 second on average and should take less than 2 seconds to complete. The full garbage collection operation performs the following actions:
The system might initiate a full garbage collection operation in the following situations:
This info is from here
If your app is in the above situations, the progress icon will be shown. Now you know when it is shown, debug your app in the device, and see which situations apply to you.