How to run BlackBerry application in Background
I am working on a BlackBerry Application which requires the applica开发者_C百科tion 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.
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
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
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
精彩评论