How to run BlackBerry application in Background

怎甘沉沦 提交于 2019-12-08 04:32:24

问题


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.


回答1:


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




回答2:


RIM has posted an article about running applications in background on their support forum:
Make a running UI application go to the background and resume in the foreground




回答3:


You can use Alternate Entry Points to make your application run in the background. Check the link below for assistance

http://docs.blackberry.com/en/developers/deliverables/23567/Always_on_1380986_11.jsp



来源:https://stackoverflow.com/questions/6327002/how-to-run-blackberry-application-in-background

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!