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
- 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.
- Make sure that the build path of your native Java ME application includes this lib folder.
- Copy the worklight-javame.jar file
of your Native API application into this lib folder
of your native Java ME application.
- Copy the json4javame.jar file of your
Native API application into this lib folder of
your native Java ME application.
- Copy the wlclient.properties file
of your Native API application into the res folder
of your native Java ME application.