[object Object] Icon

Learn how to create, start, manage and modify Encodings

[object Object] Icon

Learn how to create, start, manage and modify Players

[object Object] Icon

Learn how to create, start, manage and modify Analyticss

Docs Home
User shortcuts for search
Focus by pressing f
Hide results by pressing Esc
Navigate via   keys

Android / AndroidTV SDK

The following tutorials show you through how to configure, integrate and customize your Player on Android.

Step 1: Add the SDK to your ProjectLink Icon

Add a Link to the Player SDK to the Project

Add a link to our release repository to your application's build.gradle file. In addition to that, the google maven repository must be added.

Add the Dependency to the Project

Add the Bitmovin Player Android SDK as a dependency to your project as shown below, while replacing {Version Number} with the desired SDK version number. The available SDK versions are listed in our maven repository.

Step 2: Setup ProjectLink Icon

Edit Manifest

The Bitmovin Player license key and the necessary permissions have to be added to the manifest file. The license key should be added inside the application element.

The player requires the INTERNET permission. The following line should be added inside the manifest element.

Step 3: Setup the PlayerLink Icon

Instantiate the Player

First, the BitmovinPlayerView has to be added to the activity view:

Then you need to create the config.

The last step is, in the Activity, getting the player instance and apply the configuration to it:

Step 4: Configure your Player LicenseLink Icon

Allowlist Domains

In order to use the player on your website you have to allowlist the domain of your website for which you want to enable the player. This is a security mechanism and protects your license from being used elsewhere.

Domain allowlisting can be done in the dashboard under Player -> Licenses.


Step 5: Final ReviewLink Icon

In this tutorial you completed the basics to use the Bitmovin Player, added the SDK to your project, set up the player license and added code to configure the player.

Now you can start having a look at the configuration options and adapt the player to your needs.

ExamplesLink Icon

You can download fully functional code examples from our Github account.


Give us feedback