Use the following procedure to create a new Android Studio project to build the basic player for app development.
Create a suitable directory in Windows Explorer and extract the SDK zip file to it. Rename the integration.aar file otvsdk.aar.
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).
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
- Switch to Project view, expand app and copy the otvsdk.aar file into the \common\libs directory.
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