Skip to content

PrimisTech/PrimisPlayer-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

PrimisPlayer-android

This library allows you to integrate Primis Video Player into your Android app.

Installation

For installation instructions and more information, check out the SDK documentation

Sample Application

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.

SDK Installation

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.

Cloning, Compiling and Running the Primis SDK Android Sample App

  1. Open your command-line interface (CLI) application (e.g. Terminal on macOS, Command Prompt on Windows).

  2. Navigate to the directory where you want to clone the SampleApp directory.

  3. Run the following command to clone the repository:

git clone https://github.com/PrimisTech/PrimisPlayer-android.git
  1. Once the cloning process is complete, open Android Studio.

  2. Click "Open an existing Android Studio project" and select the SampleApp root folder inside the PrimisPlayer-android folder.

  3. Once the project is loaded, and compiled successfully, click Run from the top menu and select Run app to launch the app on an emulator or a connected device.