如何在后台运行BlackBerry应用程序 [英] How to run BlackBerry application in Background
问题描述
我正在使用BlackBerry应用程序,该应用程序要求应用程序在发送到后台时运行。
如果有人可以指导我与BlackBerry中运行后台服务相关的任何教程,我真的很感激。
I am working on a BlackBerry Application which requires the application be running once its sent to the background also. I would really appreciate it if someone could guide me to any tutorials related to running background services in BlackBerry.
推荐答案
后台应用程序是一种过程,因此您应该扩展Application而不是扩展Uiapplication。在你的主类中实现你所有的代码。您还可以查看此StackOverflow问题的示例:黑莓 - 运行后台应用程序
Background Application is a kind of process so you should extend Application instead of extending Uiapplication . In your main class implement all your code. You can also see this StackOverflow question for an example: Blackberry - Running Background Application
这篇关于如何在后台运行BlackBerry应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!