Importing Libraries and Code

Create a specific directory structure, within your Eclipse project, containing the library resources needed to compile your Android client code.

  1. In your Sybase Unwired WorkSpace project, create a libs directory.
  2. Copy the following library and JAR files from <UnwiredPlatform_InstallDir>\UnwiredPlatform\MobileSDK\ObjectAPI\Android into the libs directory within your project, using the exact directory structure shown here:
    Libs Directory
  3. Select Project > Properties > Java Build Path. On the Libraries tab, add the libraries to the project.
  4. Click on the active target, and modify the Header Search Path from Building Settings.
    Specify the path to the location where you copied the include files, and select the Recursive checkbox. The header files in the client library are grouped into subdirectories public and internal, so the recursive option is required.