如何在应用程序运行期间隐藏/删除默认进度图标

发布于 2024-12-26 03:43:47 字数 290 浏览 1 评论 0原文

我正在 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.enter image description here

Thanks in Advance ...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

乖乖 2025-01-02 03:43:47

当系统垃圾收集器工作时,您会看到进度图标。您将无法删除进度图标,因为您无法控制它。如果垃圾收集器正在工作,就让它工作,因为它正在尝试释放内存。

完整的垃圾收集操作平均执行 1 秒,完成时间应少于 2 秒。完整垃圾收集操作执行以下操作:

  • 它执行 RAM 垃圾收集操作。
  • 它标记闪存中不再引用或不再持久的对象。
  • 它释放 RAM 和闪存中的所有非持久对象句柄。

在以下情况下,系统可能会启动完整垃圾回收操作:

  • 由于 RAM 中缺少可用空间,BlackBerry® Java® Virtual Machine 无法分配对象。
  • 进程即将超出其当前分配的堆大小。
  • BlackBerry JVM 无法分配新对象,因为对象句柄不可用。
  • BlackBerry 设备处于空闲状态。

此信息来自此处

如果您的应用处于上述情况,将显示进度图标。现在您知道它何时显示,在设备中调试您的应用程序,并查看哪些情况适用于您。

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:

  • It performs a RAM garbage collection operation.
  • It marks objects in flash memory that are no longer referenced or no longer persisted.
  • It releases any nonpersistent object handles in RAM and flash memory.

The system might initiate a full garbage collection operation in the following situations:

  • The BlackBerry® Java® Virtual Machine cannot allocate an object because of a lack of available space in RAM.
  • A process is about to exceed its currently allocated heap size.
  • The BlackBerry JVM cannot allocate a new object because the object handles are not available.
  • The BlackBerry device is idle.

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文