Run BlackBerry application on startup, and add notification that it is running in the background

余生颓废 提交于 2019-12-23 02:52:36

问题


I want to write a Java BlackBerry application that runs on startup and stays running in the background, but gives the user an indication that it is running with an icon in the corner of the homescreen. What techniques can I use?


回答1:


For showing content on the home screen / status bar, see this thread. You can either have different states on your own application icon or add a notification in the BB status bar. All is explained there.




回答2:


right click on blackberry project ->properties->applicaiton tab

  1. keeps in background: create Appliation type project.
  2. blackberry application that runs on startup:check option "autorun on startup".
  3. but gives an indication that it is running with an icon in corner: which corner you are talking about?



回答3:


The blackberry button sits to the left of the trackball/trackpad, or to the left of the return button on the storm. If you press and hold the blackberry button, the OS will show all running apps in a popup. Do you need a more significant notification that the app is running?

The notification ribbon and the app 'splat' are generally used to show message counts and other activity of interest to the user, not just that your app is running.



来源:https://stackoverflow.com/questions/3977621/run-blackberry-application-on-startup-and-add-notification-that-it-is-running-i

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