Skip to content

Sample android app using vdocipher sdk to play videos

Notifications You must be signed in to change notification settings

VdoCipher/sample-android-app-kotlin

Repository files navigation

Sample android app (Kotlin)

Sample app written in Kotlin that demonstrates video playback using the vdocipher android sdk.

For the java version, see here.

Integrating the vdocipher sdk into your android app

Add VdoCipher maven repo to app module's build.gradle

repositories {
    // other repo, e.g. jcenter()
    maven {
        url "https://github.com/VdoCipher/maven-repo/raw/master/repo"
    }
}

Add dependency

// use the latest available version
implementation 'com.vdocipher.aegis:vdocipher-android:1.26.2'

Add cast plugin dependency

If you also need Google Cast integration for your app, add a dependency to the cast plugin as well.

Add the dependency in your cast app module's build.gradle file.

def vdocipher_sdk_version = '1.23.1'
implementation 'com.vdocipher.aegis:vdocipher-android:' + vdocipher_sdk_version
implementation 'com.google.android.gms:play-services-cast-framework:16.2.0'

Enable Java 8 support

You also need to ensure Java 8 support is enabled by adding the following block to each of your app module's build.gradle file inside the android block:

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

Issues

Please send all issues and feedback to [email protected]

About

Sample android app using vdocipher sdk to play videos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages