黑莓中的推送消息监听器

发布于 2024-12-14 02:44:51 字数 93 浏览 2 评论 0原文

我在黑莓中实现了推送通知。它工作正常。但是当我从服务器发送消息时。它显示应用程序是否正在运行,但如果应用程序也未运行,我需要将消息显示为弹出对话框。如何在黑莓中执行此操作。

I implemented Push Notifications in Blackberry.It works fine.But when i sends message from the server. It shows if the application is running but i need to show the message as Pop Dialog if the application is also not in running.How can do this in Blackberry.

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

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

发布评论

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

评论(1

长不大的小祸害 2024-12-21 02:44:51

访问此网址

http://supportforums.blackberry.com/t5/Java-Development/Pushing-global-screen-message-from-a-background-uiapplication/td-p/439199

它包含代码以及关于在后台运行线程进行监听的解释,它显示弹出消息(类似地
尝试推送通知并在通知到达时显示弹出消息),对于推送通知,请使用备用入口点。

有关替代点,请访问此处

http://supportforums.blackberry.com/t5/Java-Development/Set-up-an-alternate-entry-point-for-an-application/ta-p/444847

Visit this url

http://supportforums.blackberry.com/t5/Java-Development/Pushing-global-screen-message-from-a-background-uiapplication/td-p/439199

it contains code and explaination about runnning the thread in background to listen and it shows pop message (similarly
try for the push notification and to shows pop message when notification arrives) and for push notification use alternate entry point.

For alternate point visit here

http://supportforums.blackberry.com/t5/Java-Development/Set-up-an-alternate-entry-point-for-an-application/ta-p/444847

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