Adding a Device Application Entry Point

Add a main file to the BlackBerry device application.

  1. From the BlackBerry Application project that contains your generated MBO code, for example supClient, add a new file by right-clicking the project and selecting Create new file in project.
  2. Name the file, for example, BBMain. Click OK.
    This file is the main entry point to the device application.
  3. Import the common BlackBerry device application development packages as well as the package that contains your MBOs (for example, com.custom.MBO.*).
    You can now create the code to connect to Unwired Server, access and synchronize your MBOs, and perform other functions.