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.
The production.aar file is used to build the production version.
In Android Studio, create a new Basic Activity project. In the wizard, set the Minimum API level 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 project