Show TOC

Deploying the Mobile ApplicationLocate this document in the navigation structure

Use

In Mobile Applications for Handhelds, every Mobile Component (be it a Mobile Service Component, a Mobile UI Component, a Mobile Java Component, or a Mobile Application) can be deployed by itself as soon as it is built. The advantage of this is that you do not have to redeploy all components of a complex application when only one or two components have been modified.

Note

After successful testing of your developments, you can also upload the Mobile Components through the Data Orchestration Engine for subsequent rollout.

More information: Deploying Mobile Components to Data Orchestration Engine

Prerequisites

You have installed the following programs to deploy the mobile application through ActiveSync:

  • Microsoft ActiveSync

  • CAB files on the mobile device

  • Windows Mobile PowerToys

You have defined the deployment location.

More information: Configuring the Development Workstation

Procedure

To deploy a component to a real mobile device, an emulator of a mobile device, or another installation of the Mobile Client for Handhelds:

  1. In the context menu of a built component, choose Deploy .

    A component tree appears in the Deploy dialog box showing the called component and its dependent components.

  2. In the Deploy dialog box, select the components you want to deploy.

  3. Select whether the components are to be built before deployment.

  4. Depending on the deployment method you want to use, choose:

    • Local Deployment to NW Mobile Client for Handhelds

      1. Specify the suitable deployment location.

    • Deployment through ActiveSync

      1. Choose Install CAB files for runtime configured in preference page.

    Note

    The CAB files are added in order of the installation in the preference page. If the CAB files are copied directly to the mobile device, you do not have to select this option.

  5. Select whether the database content of the data objects in the components are to be deleted on SAP NetWeaver Mobile Client for handhelds.

Installing the CAB files on Handhelds

  1. From the main menu, choose Start of the navigation path Window Next navigation step Preferences... End of the navigation path

  2. Expand the Mobile node and choose Start of the navigation path Handhelds Next navigation step Runtime Settings End of the navigation path

  3. Enter the ActiveSync and Power Toys location.

  4. Add the CAB files in the following order of installation:

    • CREME

    • db2e.CAB or mindb.CAB

    • pda_runtime_wince.CAB

    • pda_eswt_container.CAB

  5. Choose Apply.

Result

The deployment files of the selected components are put into the inbox folder of the Mobile Client for Handhelds. On restart, the client extracts, installs, and registers the components.