This article applies to the BlackBerry® Java® Development Environment (JDE).
An application can be configured to start automatically when the BlackBerry device is turned on. Startup for BlackBerry devices based on Java occurs when the device turns on and loads all of its software. Background threads or applications are very useful as they allow the programmer to create programs that act as listening threads, such as the one that listens for new messages, or supporting programs that perform preprocessing to make your application run smoother.
To create an auto-start application using the BlackBerry® Java® Plug-in for Eclipse®
Double click on BlackBerry_App_Descriptor.xml found in the BlackBerry project.
On the Application tab, check off Auto-run on startup.
If you do not want an application icon to be shown on the home screen check the Do not display the application icon on the BlackBerry home screen check box.
To create an auto-start application using the BlackBerry JDE
In the BlackBerry JDE, right-click the project and select Properties.
On the Application tab, check the Auto-run on Startup check box.
If you do not want an application icon to be shown on the home screen check the System Module check box.
Note: If you would like your application to both auto-start and appear on the ribbon, please see this article.