# App Launch

### Enable app launch tracking

{% code title="Kotlin" %}

```kotlin
APMKmp.setAppLaunchEnabled(true)
```

{% endcode %}

You can also enable cold app launch tracking specifically:

{% code title="Kotlin" %}

```kotlin
APMKmp.setColdAppLaunchEnabled(true)
```

{% endcode %}

### Mark end of app launch

Call this when your app has finished loading (e.g. first frame drawn or main screen ready). The SDK uses it to measure launch time.

{% code title="Kotlin" %}

```kotlin
APMKmp.endAppLaunch()
```

{% endcode %}

Call it once per launch; the exact moment depends on your definition of “app ready” (e.g. after splash, after first interactive screen).
