Additional tasks to add support on OCA
applications
When using the Emulator with an Occasionally Connected Application (OCA) on the Mobile Application for Handhelds perspective, some additional configuration tasks are needed in order for the Emulator to provide the expected functionality and compatibility.
The Peripheral Support Emulator Actions Toolbar must have been added to the Mobile Application for Handhelds perspective. An Eclipse launch configuration associated with an application that requires peripheral support must have been created and executed.
1. Try running the application using the default method stated on the documentation. Verify that you receive a NoClassDefFoundError when launching the application.
2. Follow the instructions to create a new launch configuration with Emulator support.
3. Access the menu on the NetWeaver Developer Studio Run button and select Open Run Dialog.
4. Select the created launch configuration from the list on the left side of the Run window.
5. Go to the Classpath tab, select User Entries, and click on the Add External JARs button.
6. Browse to your mobile client installation root folder. Access the lib folder on the mobile client and select all the library JAR files required by the client.
7. Apply the changes made to the launch configuration. Click the Run button to launch the application with Emulator support.
The application should launch successfully and it will be able to communicate with the Peripheral Support Emulator with its complete functionality and features.