黑莓中的推送消息监听器
我在黑莓中实现了推送通知。它工作正常。但是当我从服务器发送消息时。它显示应用程序是否正在运行,但如果应用程序也未运行,我需要将消息显示为弹出对话框。如何在黑莓中执行此操作。
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
访问此网址
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