Add compiler and library resources to the Android project.
- Add a compiler resource to the root directory of the
project:
- In Windows Explorer, browse to SMP_HOME\MobileSDK23\ObjectAPI\Android and copy the armeabi folder and these JAR files: AfariaSLL.jar, ClientLib.jar, sup-client.jar, and UltraLiteJNI12.jar.
- In Workspace Navigator, expand SMP101Android, select the libs folder, and paste the armeabi folder and JAR files into it.
- Add library resources to the project:
- In Workspace Navigator, right-click the SMP101Android project, click Properties, and select Java Build Path.
- Click the Libraries tab and select Add
JARs.
- In the JAR Selection window, expand the SMP101Android\libs folder and select AfariaSSL.jar, ClientLib.jar, sup-client.jar, and UltraLiteJNI12.jar.
- Click the Order and Export tab and select those four
JARs.
- Click OK.