> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Daily Client SDK for Android

> Build real-time video and audio calling into your native Android applications.

The Daily Client SDK for Android is a native Kotlin/Java library built on WebRTC. It handles media negotiation, network traversal, and participant management so you can focus on building your UI.

> [card] [Quickstart](https://docs.daily.co/docs/android/quickstart.md)
>
> Build a working video call app step by step

> [card] [Screen sharing](https://docs.daily.co/docs/android/screen-share.md)
>
> Add screen share to your Android app

> [card] [API reference](https://reference-android.daily.co/)
>
> Full Kotlin/Java API docs

## Hello, world

Add the SDK to your `build.gradle`, then join a call:

```groovy theme={null}
dependencies {
    implementation 'co.daily:client:latest.release'
}
```

```kotlin theme={null}
import co.daily.CallClient
import co.daily.CallClientListener
import co.daily.model.Participant

val call = CallClient(applicationContext)
val videoViews = mutableMapOf<String, VideoView>()

call.addListener(object : CallClientListener {
    override fun onParticipantJoined(participant: Participant) {
        val videoView = VideoView(applicationContext)
        videoViews[participant.id] = videoView
        addVideoViewToMyUI(view = videoView)
        videoView.track = participant.media?.camera?.track
    }

    override fun onParticipantUpdated(participant: Participant) {
        videoViews[participant.id]?.track = participant.media?.camera?.track
    }
})

call.join(url = "https://your-domain.daily.co/room-name") {
    it.error?.apply { Log.e(TAG, "Error joining: $msg") }
    it.success?.apply { Log.i(TAG, "Joined successfully") }
}

// Turn off camera
call.setInputsEnabled(camera = false)

// Leave and release when done
call.leave { }
call.release()
```

## API structure

The SDK is organized around the tasks involved in building a call. For each task you get methods to **update** state, methods to **get** current state, and **events** via `CallClientListener` to react to changes.

> [card] [Call lifecycle](https://reference-android.daily.co/daily-android/co.daily/-call-client/index.html)
>
> `join()`, `leave()`, `callState()`, `CallStateUpdated`

> [card] [Participants](https://reference-android.daily.co/daily-android/co.daily/-call-client/participants.html)
>
> `participants()`, `ParticipantJoined`, `ParticipantUpdated`, `ParticipantLeft`

> [card] [Media inputs](https://reference-android.daily.co/daily-android/co.daily/-call-client/update-inputs.html)
>
> `updateInputs()`, `setInputsEnabled()`, `startScreenShare()`, `InputsUpdated`

> [card] [Publishing](https://reference-android.daily.co/daily-android/co.daily/-call-client/update-publishing.html)
>
> `updatePublishing()`, `setIsPublishing()`, `PublishingUpdated`

> [card] [Subscriptions](https://reference-android.daily.co/daily-android/co.daily/-call-client/update-subscriptions.html)
>
> `updateSubscriptions()`, `updateSubscriptionProfiles()`, `setSubscriptionState()`

> [card] [Active speaker](https://reference-android.daily.co/daily-android/co.daily/-call-client/active-speaker.html)
>
> `activeSpeaker()`, `ActiveSpeakerChanged`

## Resources

> [card] [Demo app](https://github.com/daily-demos/daily-android-demo)
>
> A complete working example on GitHub

> [card] [Starter kit](https://github.com/daily-demos/daily-android-starter-kit)
>
> Production-ready boilerplate from Daily's engineering team

## Requirements

* minSdkVersion >= 23 (Android 6.0)
* Kotlin 1.6 or later recommended


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.