Blackberry OS 4.5 应用程序的通知服务 [英] Notification Service for Blackberry OS 4.5 application
问题描述
我正在开发一个类似于电子邮件应用程序的应用程序.每当收到新消息时,我的通知服务应通过更新图标向用户指示更改,此外,通知服务应持续侦听服务器的传入事件.
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.
我正在 4.5 版操作系统中进行开发.
I am developing in os version 4.5.
推荐答案
RIM OS 中没有 ApplicationIndicator <4.6(见bb论坛帖子)
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:
- 播放声音
- 触发振动
- 触发可自定义的通知(以便用户可以决定)
- 更改应用程序图标
- 在应用程序图标上绘制文本
- 更改应用标题
是的,要在两个应用程序之间交换数据,最好使用 GlobalEventListener
And yes, to exchange data between two applications it's better to use GlobalEventListener
这篇关于Blackberry OS 4.5 应用程序的通知服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!