CONNECT Player SDK 5 for Android
5.42.x 5.41.x 5.40.x 5.39.x 5.38.x 5.37.x 5.36.x 5.35.x 5.34.x 5.33.x 5.32.x 5.31.x 5.30.x 5.29.x 5.28.x 5.27.x 5.26.x 5.25.x 5.24.x 5.23.x 5.22.x 5.21.x 5.20.x 5.19.x 5.18.x 5.17.x 5.16.x 5.15.x 5.14.x 5.13.x 5.12.x 5.11.x 5.10.x 5.9.x 5.8.x 5.7.x 5.6.x 5.5.x
5.42.x 5.41.x 5.40.x 5.39.x 5.38.x 5.37.x 5.36.x 5.35.x 5.34.x 5.33.x 5.32.x 5.31.x 5.30.x 5.29.x 5.28.x 5.27.x 5.26.x 5.25.x 5.24.x 5.23.x 5.22.x 5.21.x 5.20.x 5.19.x 5.18.x 5.17.x 5.16.x 5.15.x 5.14.x 5.13.x 5.12.x 5.11.x 5.10.x 5.9.x 5.8.x 5.7.x 5.6.x 5.5.x

Creating the project

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

Multi-DRM SDK

Follow this procedure if you are using the Multi-DRM version of the SDK.

  1. Save the opy-sdk-android-5.34.x-sdk-integration.aar file to a suitable location and rename it otvsdk.aar; see Downloading the SDK.

  2. In Android Studio, create a new Basic Activity project.

    • Select the required Language.

    • Set the Minimum API level to 21 (Android 5.0 Lollipop) or higher.

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

    XML
    <uses-permission android:name="android.permission.INTERNET"/>
    
  4. Switch to Project view; select your project and expand app. Copy the otvsdk.aar file into the libs folder.

Multi-DRM with NAGRA PRM SDK

Alternatively, follow this procedure if you are using the NAGRA-PRM version of the SDK.

  1. Save the opy-sdk-android-5.34.x.-sdk-prm-integration.aar file to a suitable location and rename it otvsdk.aar.

  2. In Android Studio, create a new Basic Activity project.

    • Select the required Language.

    • Set the Minimum API level to 21 (Android 5.0 Lollipop) or higher.

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

    XML
    <uses-permission android:name="android.permission.INTERNET"/>
    
  4. Switch to Project view; select your project and expand app. Copy the otvsdk.aar file into the libs folder.

  5. Expand src > main > res and create a new directory raw; add your opvault.json file to this folder.

Next step: Add CONNECT Player to your project