Problems with Device Application Code Generation

Provides troubleshooting information about generating device application code in the Device Application Designer.

Cannot deploy to BlackBerry simulator

Problem: Cannot deploy the device application to the BlackBerry Simulator.

Solution 1: Verify that the BlackBerry Simulator MDS is running. Start it, if necessary.

Solution 2: Check the PATH environment variable.
  1. Verify that there is not a % symbol in the PATh environment variable.

    For example, do not use %Java_Home% or %SystemRoot%. Replace any % symbols with the full path.

  2. Add the full path for JDK\bin to the PATH environment variable.
    Note: You can also add the JDK path in the Advanced options of the Generate Device Application wizard.

Connection profile appears for Windows Mobile generated code

Problem: A connection profile appears in Windows Mobile generated code instead of a login screen.

Explanation: It is likely that a login screen was not included in the screen flow design. Device applications require a login.

Solution: If no login screen is included, a connection profile screen appears so the user can enter login credentials. The user can enter the password and click OK, but a better solution is to redesign the screen flow for Windows Mobile to include a login screen.