Blackberry OS 4.5 应用程序的通知服务

发布于 2024-08-05 10:52:16 字数 113 浏览 2 评论 0 原文

我正在开发一个类似于电子邮件应用程序的应用程序。每当收到新消息时,我的通知服务应通过更新图标向用户指示更改,此外,通知服务应持续侦听服务器的传入事件。

我正在使用 4.5 版本的操作系统进行开发。

I am developing an application similar to email application.Whenever new message is received my notification service should indicate change to user by updating icon,also, the notification service should continuosly listen to server for incoming events.

I am developing in os version 4.5.

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

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

发布评论

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

评论(1

昔日梦未散 2024-08-12 10:52:16

RIM OS 中没有ApplicationIndicator < 4.6(参见bb论坛帖子)

您有多种选择来通知
用户(都不是指标,
很遗憾)。你可以:

  • 播放声音
  • 触发振动
  • 触发可自定义的通知(以便用户可以决定)
  • 更改应用程序图标
  • 在应用程序图标上绘制文本
  • 更改应用程序标题

如何在 v4.2 到 v4.5 版本中显示通知图标

是的,到在两个应用程序之间交换数据最好使用 全局事件监听器

There is no ApplicationIndicator in RIM OS < 4.6 (see bb forum thread)

you have several options to notify the
user (none of them is the indicator,
unfortunately). you can:

  • play a sound
  • trigger the vibration
  • trigger a customizable notification (so the user can decide)
  • change the application icon
  • paint a text on the application icon
  • change the application title

how to show notification icon in v4.2 to v4.5 versions

And yes, to exchange data between two applications it's better to use GlobalEventListener

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