Android · Kotlin SDK

Preview

AAR / Maven package for Android apps that need remote flags, controls, and FLAG_SECURE.

Source preview · registry release pending

This SDK's source lives in this repository. A public registry install may not resolve yet. Use REST today, or use a local path / project reference from a checked-out source tree (requires repository access) — see SDK & package availability.

Source preview · registry release pending
Source lives at sdk/ctrlapp_android/. Until Maven Central publishing lands, add it as a local module from a checked-out copy of this repository, or call REST directly. No public Maven coordinate is guaranteed to resolve yet.

Local module (requires a checkout of this repo)

kotlin· settings.gradle.kts
include(":ctrlapp-android")
project(":ctrlapp-android").projectDir = file("../path/to/ctrlapp/sdk/ctrlapp_android")

Initialize in Application.onCreate

kotlin· App.kt
import app.ctrlapp.CtrlApp

class App : Application() {
  override fun onCreate() {
    super.onCreate()
    CtrlApp.init(
      apiKey = "<PUBLISHABLE_KEY>",
      deviceId = "<DEVICE_ID>",
      baseUrl = "https://ctrlapp.krdcode.com",
    )
  }
}

Android screen-capture protection uses FLAG_SECURE — see Privacy & screen protection.

Back to top