Development Guide

Local Navigation

Specify the alternate entry point settings for a BlackBerry application project

  1. In the Package Explorer view, select a BlackBerry® application project.
  2. Right-click the project and click Properties.
  3. In the Properties for pane, select BlackBerry Project > Application Descriptor.
  4. Click the Alternate Entry Points tab.
  5. Click Add.
  6. In the New Entry Point dialog box, type the name and associated arguments of a project in the workspace that this project invokes.
  7. Click OK.
  8. Select the Alternate entry point properties and Locale Resources.
  9. On the Eclipse® toolbar, click Save.

Properties for the alternate entry point settings

Setting

Description

Title Type a name for the alternate entry point that is displayed on the Home screen of the BlackBerry® device.

Name of main MIDlet class

Type the name of the class that extends

javax.microedition.midlet.MIDlet

This field is available only if the Application type is MIDlet .

Application arguments

Specify the arguments to pass into the application's main() method.

This field is available only if the Application type is BlackBerry application.

Do not show the application icon on theBlackBerry device Home screen

Select this setting to run the application in the background, without displaying an icon on the Home screen of theBlackBerry device.

This setting is not available if the Application type is Library .

Auto-run on startup

Select this setting to start the application automatically when the BlackBerry device starts.

This setting is not available if the Application type is MIDlet.

Applications that run automatically must be digitally signed by RIM to run on a BlackBerry device.

Startup tier

If the Auto-run on startup setting is selected, specify the priority in which the application is started, in relation to other applications.

For third-party applications, you can select tier 6 or 7 (other start-up tiers are reserved for BlackBerry Applications). The default setting is 7 (lowest priority).

This setting is not available if the Application type is MIDlet .

Internationalized resource bundle available

Select this setting if the title and the description of the alternate entry point have been internationalized in a resource bundle.

Resource bundle

Select the resource header file to use for the alternate entry point (for example, HelloWorldRes).

Title ID

Select the resource key to use for the application title (for example, AEP_TITLE). If you do not provide a resource key for the application title, the BlackBerry® Java® Plug-in uses the title that is specified in the Title field.

Alternate Entry Point icons

Add the files for application icons from the project's resources or from a location external to the project.

To specify a rollover icon, select Rollover.

The number of application icons is limited to two.


Was this information helpful? Send us your comments.