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 SUP_HOME\MobileSDK22\ObjectAPI\Android into the libs directory within your project, retaining the same structure:
    Location Files
    • SUP_HOME\MobileSDK22\ObjectAPI\Android
    • AfariaSSL.jar
    • ClientLib.jar
    • sup-client.jar
    • UltraLiteJNI12.jar
    • SUP_HOME\MobileSDK22\ObjectAPI\Android\armeabi
    • libmlcrsa12.so
    • libultralitej12.so
  3. Select Project > Properties > Java Build Path. On the Libraries tab, add the libraries to the project.