Build, deploy, and run the application on the device

Note

Now you can build the application, deploy it to a device or emulator, and run it on the device or emulator.

  1. Double-click the p_emplist_tutorial_exe project object in the System Tree.

    The Project painter opens.

    The build platform is PocketPC Device (ARM) specified by the wizard.

    Shown is the emp list underscore tutorial Project object opened in the Project painter. The properties set for the object include the name of the executable file that the project will build, the platform it will deploy the application for, the build directory, and the target directory on the deployment device. Version information is also displayed for the project application.
  2. Select the Add Shortcut to “Start Menu” check box if it is not already selected.

    When you deploy the application, this setting adds the application name to Start Menu list.

    Devices can restrict the number of menu items in their Start menus, so this does not guarantee that the application name will be visible in the Start menu. If there is already a maximum number of menu items in the list when you deploy the application, you can open Settings>Menu from the Start menu and clear the check box for one of the menu items you do not need to display, then select the check box for the deployed application or redeploy it with the same Add Shortcut setting.

  3. Select Run>Build and Deploy Workspace or click the Deploy button on the PainterBar.

    The project is built and deployed and the application is copied to the device’s \Program Files directory.

    Next you run the application on the Pocket PC device.

  4. On the Pocket PC device, tap the Start menu.

  5. Tap emplist_tutorial, or if it does not display in the Start menu, tap Programs and then tap the emplist_tutorial application icon.

    NoteAnother way to run the application You can also tap the Start menu, then tap the PocketBuilder 2.5 menu, and then tap the application you want to start, in this case emplist_tutorial, from the PocketBuilder application list.

    The application starts on the Pocket PC device, first displaying the SQL Anywhere log screen, and then the main application window.

    Shown is the Employees window of the tutorial application. It contains a Data Window with the first and last names of the employees listed in the database.
  6. Scroll through the employee list using the DataWindow scroll bars.

  7. Tap the circular ok button to exit the application.

    The Employees application closes and you return to the Programs menu.