Copying files of Native API applications for Java Platform, Micro Edition (Java ME)

To copy the files in the Native API application for Java™ ME into the project that defines the app for Java ME.

About this task

To use the MobileFirst Native API for Java ME in your native app, you must copy the library and the client property file of your Native API application into your native app for Java ME project.

Procedure

  1. Create a lib folder in your native Java ME application.
    Note: You can name this folder differently. If you select a folder name other than lib, ensure that you use this folder name instead of lib in the following steps.
  2. Make sure that the build path of your native Java ME application includes this lib folder.
  3. Copy the worklight-javame.jar file of your Native API application into this lib folder of your native Java ME application.
  4. Copy the json4javame.jar file of your Native API application into this lib folder of your native Java ME application.
  5. Copy the wlclient.properties file of your Native API application into the res folder of your native Java ME application.