This library allows you to integrate Primis Video Player into your Android app.
For installation instructions and more information, check out the SDK documentation
The Primis SDK Android Sample App showcases the integration of the Primis SDK into various types of views, including:
-
ScrollView implementation, which illustrates using the Primis SDK in a scrollable view.
-
RecyclerView implementation demonstrates integrating the Primis SDK into a list view.
-
WebView implementation showcases the Primis SDK's use within a web view.
The sample app uses PrimisPlayer SDK as AAR file, due to GitHub's Public Access Token restriction.
Please follow our Gradle Setup documentation for further details.
-
Open your command-line interface (CLI) application (e.g. Terminal on macOS, Command Prompt on Windows).
-
Navigate to the directory where you want to clone the
SampleApp
directory. -
Run the following command to clone the repository:
git clone https://github.com/PrimisTech/PrimisPlayer-android.git
-
Once the cloning process is complete, open Android Studio.
-
Click "Open an existing Android Studio project" and select the
SampleApp
root folder inside thePrimisPlayer-android
folder. -
Once the project is loaded, and compiled successfully, click
Run
from the top menu and selectRun app
to launch the app on an emulator or a connected device.