Use the following procedure to create a new Android Studio project to build the basic player for app development.

  1. Create a suitable directory in Windows Explorer and extract the SDK zip file to it. Rename the integration.aar file otvsdk.aar.

    The production.aar file is used to build the production version.

  2. In Android Studio, create a new Basic Activity project. In the wizard, the Minimum API level should be set to 21 (Android 5.0 Lollipop).

  3. In the new project, ensure the Android view is selected, and then select app > manifests, and open the AndroidManifest.xml file. Add the following permission before the <application> tag.

    <uses-permission android:name="android.permission.INTERNET"/>
  4. Switch to Project view, expand app and copy the otvsdk.aar file into the \common\libs directory.
  5. Copy the opy_licence file to the \common\res\raw directory. Create the raw directory if it does not already exist.

    For trial and testing purposes, the licence can be passed to the SDK as a String during the library loading process.

Next step: Add CONNECT Player to your application