ScreenSharing SDK

Share the content of your own app securely with a remote expert. Ideal for enabling remote guidance and support directly within your application.

Requirements

  • minSdkVersion 26 or newer

  • Kotlin 2.2.0 or newer

  • JDK 21 or newer

Usage

  • Apply Kotlin Plugin version 2.2.0 or newer

  • Add the TeamViewer SDK repository to your repositories in settings.gradle.kts:

dependencyResolutionManagement {
repositories {
maven {
url = uri("https://pkgs.dev.azure.com/TeamViewerMobileSDK/android/_packaging/android%40Release/maven/v1")
name = "teamviewerSdkCredentials"
credentials(PasswordCredentials::class)
authentication.create<BasicAuthentication>("basic")
}
}
}
  • Add or edit the gradle.properties file in ${user.home}/.gradle or the project directory. Generate a Personal Access Token with Packaging read scopes and paste it into the PERSONAL_ACCESS_TOKEN placeholder.

teamviewerSdkCredentialsUsername=TeamViewerMobileSDK
teamviewerSdkCredentialsPassword=PERSONAL_ACCESS_TOKEN

Sample

You can find a sample of how to integrate the SDKs in Github: TravelApp

ScreenSharing SDK

  • Add the following to your build.gradle.kts:

dependencies {
implementation("com.teamviewer.sdk:screensharing:<VERSION>")
}

Have a look at the ScreenSharingWrapper in the sample app for next steps on how to configure the SDK and establish a TeamViewer session through the SDK.

Packages

Link copied to clipboard

Contains interfaces and classes for interacting with the TeamViewer Sdk.