Android SDK 5 Example Code Quick Start
This guide enables you to demonstrate the CONNECT Player features and view the example code.
To demonstrate the CONNECT Player PRM features and view the example code, see the (5.33.x) PRM Example Code Quick Start guide.
To demonstrate the CONNECT Player features and view the Kotlin version of the example code, see the (5.33.x) Kotlin Example Code Quick Start guide.
To demonstrate the CONNECT Unified Player Interface features and view the example code, see the (5.33.x) Unified API Example Code Quick Start guide.
For the development tools, current dependencies and minimum build configuration required, see (5.33.x) Prerequisites and dependencies.
Some features may have additional dependencies and libraries; see the README.md and build.gradle files in the relevant example code packages.
Download the Android SDK, which supplies all the files needed to launch the player and start streaming content.
opy-sdk-android-<version>-example-code.zip
This contains application projects which demonstrate how to use the player features.opy-sdk-android-<version>-sdk-integration.aar
This is the SDK binary file used for integration purposes.
Procedure
Extract the opy-sdk-android-<version>-example-code.zip file to your desktop.
Go to opy-sdk-android-<version>-example-code > common, and place the opy-sdk-android-<version>-sdk-integration.aar file in the libs folder.
Open Android Studio and select Open an Existing Project and locate the opy-sdk-android-<version>-example-code folder.
When the project has built, select the required project from the dropdown menu (not the side file list); see the example projects below.
Connect an Android device to your development machine via USB and run the application.
For full details on integrating the SDK with your application, see the (5.33.x) Android SDK 5 Integration Guide. See also the API reference guide provided in the Android SDK pack.