Android configuration

Prev Next

Embedding Xebo.ai Mobile SDK – Android version

  1. Download the Android SDK from the https://github.com/Survey2Connect/Xebo-mobilesdk-android/releases and copy it to a suitable path in your app’s directory (eg: app/libs).

  2. Open the project in Android Studio.

  3. In Android studio settings, select the project structure menu, and select the dependencies tab.

  4. Under the all dependencies tab, select the ‘+’ icon to add a new dependency.

  5. Select the type as jar/aar dependency.

  6. If you have multiple modules, select the main ‘app’ module (the module for the main app).

  7. Provide the path to where you downloaded the Xebo SDK .aar file, and select OK.

  8. Click on apply, and then click on OK.

  9. In your app level build.gradle, under the dependencies block, a line similar to “implementation(files(“<path-to-file>”)) would have been added.

  10. Sync gradle to ensure the dependency is loaded successfully.

  11. The SDK uses the internet to fetch surveys and submit responses to Xebo.ai. Add internet permissions in your AndroidManifest.xmlfile.