Show TOC

Configuring the Development WorkstationLocate this document in the navigation structure

Use

Mobile Applications for Handhelds can be developed in a stand-alone, single-developer mode or within a team of developers jointly working on the development project. In both cases, developers can use the services provided by the SAP NetWeaver Development Infrastructure (NWDI) for the entire lifecycle of the development project.

More information: Collaborating on Handheld Application Development

To utilize the NWDI, you must first configure your local development environment accordingly. The development configuration supplies your local development environment with all the necessary information for addressing infrastructure services and systems, such as the Design Time Repository (DTR) and the landscape directory. Such a configuration also contains a set of Software Components (SCs) to which Development Components (DCs) are assigned.

Prerequisites

The SAP NetWeaver Developer Studio is installed on your development workstation, which is connected to a Data Orchestration Engine (DOE) server.

Procedure

Configure the Data Orchestration Engine (DOE)

This allows you to import data objects and structures from the Data Orchestration Engine (DOE), the middleware.

  1. In the Window menu of the Development Studio, choose Preferences .

  2. In the Preferences dialog box, choose Start of the navigation path Mobile Next navigation step General  Next navigation step  Data Orchestration Engine End of the navigation path, and maintain the appropriate values.

    If you do not have the required data, ask your administrator.

    • Choose Add to add a new DOE configuration.

    • Select the configuration you want as your default.

      Note

      You can only select one of the DOE configurations (checkbox). All configurations listed will be displayed in the Create Data Objects dialog box as possible sources of Data Objects. The configuration you selected as default will be highlighted and used as the Data Object source, unless you choose another source.

Configure Client Settings

The Mobile Client for Handhelds installation itself also needs to be configured. Thus, you need to create a client user and define the connection settings to the Data Orchestration Engine (DOE), for example.

More information: Using the Mobile Client for Handhelds

Configure the Runtime Settings

SAP NetWeaver Developer Studio has various options for runtime settings that will be used when you are testing your application. To access this dialog use the following procedure.

  1. In the Window menu of the Development Studio, choose Preferences.

  2. In the Preferences dialog box, choose Start of the navigation path Mobile Next navigation step Handhelds Next navigation step Runtime Settings End of the navigation path

Local deployment to simulator

To deploy a Handheld Application, you must define the deploy location. By default, this will be the Mobile Client for Handhelds installation that automatically ships as part of the mobile plug-ins for the SAP NetWeaver Composition Environment (SAP NetWeaver CE). This version of the Mobile Client for Handhelds is technically identical to a the installation that you would install on a mobile device, but it is installed directly on your workstation as part of SAP NetWeaver CE. If you have another installation of this client on your machine, you can define a different deploy location.

  1. Using the Preferences dialog box opened above, in the Local deployment to simulator sub-frame you can enter the appropriate directory path for deployment or select Use default.

  2. If you select Use default, you can also choose to Reset Client Installation.

Resetting the client installation is equivalent to reinstalling the NW Mobile client on a handheld device. That is to say that all installed NW mobile applications and locally stored data will be removed; also the client configuration options will be reset to their default values.

Deployment through active sync

During your development cycle you may wish to test your application on a physical device. To simplify this deployment process you can specify options allowing the deployment to occur automatically. This is covered in a separate section: Deploying Mobile Applications to physical device

User Authentication Settings

When testing your application you can automatically login to the NW Mobile client.

  1. Using the Preferences dialog box opened above, in the User Authentication Settings sub-frame select Login Automatically into Mobile Client.

  2. You need to fill in the User Login Name and Password