Creating the Device Application Prototype

Goal: Create the user interface for a prototype application that runs on a Windows Mobile device, and accesses database mobile business objects.

Prerequisites

Complete the Tutorial: Mobile Business Object Development.

Task
  1. Verify that the Device Application Designer Preferences are set to the default settings.
    1. From the main menu, select Window > Preferences.
      The Preferences window appears.
    2. Select Sybase, Inc. > Mobile Development > Device Application Designer.
    3. (Optional) If the default settings were changed, click Restore Defaults.
    4. Click OK.
  2. In WorkSpace Navigator, right-click the SUP101 Mobile Application Project folder you created in Tutorial: Mobile Business Object Development (Eclipse) and select Create Device Application Designer.
    The New Device Application Designer wizard appears.
  3. Complete the following:
    1. In Parent Folder, select SUP101.
    2. In File Name, enter custinfo.bob.
    3. In Platform Device, select Windows Mobile/Windows Mobile Professional.
    4. From the Connection Profile drop-down list, select My Unwired Server.
    5. Click Finish.
      The Device Application Designer opens and creates the device application screens and connections.

      The Start icon is connected to the first screen (Login) and the screens for the mobile business object operations and relationships are automatically created.


      winbob_custinfo

  4. Double-click the customer screen to view the screen layout.

    The Menu and Table Context on the right shows the table context and menu items for the screen. You can customize the screen layout, style, menu items, controls, and so on. This tutorial uses the default style.

    The decorators that display to the right of the menu items show that an action is assigned to the menu item. Clicking the decorator allows you to edit or remove the assigned action.


    winbob_table_context

  5. Select File > Save.
Related tasks
Verifying and Generating Code for a Device Application
Running the Device Application on the Windows Emulator