# Launch App After Installation

To launch an app after installation is complete, use the `performAction()` method:

{% code title="Kotlin" %}

```kotlin
fun performAction(
    packageName: String,
    actionType: String,
    metadata: Bundle = Bundle(),
    callback: IResponseCallback<PerformActionResponse, Error, Progress>? = null
)
```

{% endcode %}

| PARAMETER     | STATUS   | TYPE      | DESCRIPTION                                                                                                                                                                                                                       |
| ------------- | -------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `packageName` | Required | String    | Package name of the application you want to open.                                                                                                                                                                                 |
| `actionType`  | Required | String    | <p>Type of action to be performed on the packageName. The SDK supports only opening the app. To open an app, use the following format:<br><code>IgniteActions.LAUNCH.name</code></p>                                              |
| `metadata`    | Optional | Bundle    | Metadata for additional processing.                                                                                                                                                                                               |
| `callback`    | Optional | Interface | <p>The DTIS SDK provides the <code>IResponseCallback</code> interface for you to receive asynchronous status updates.</p><p>If you do not wish to receive task status notifications via callback, set this parameter to null.</p> |

### Example <a href="#h_01k20qhtwnrk5x72xrhht2yx7p" id="h_01k20qhtwnrk5x72xrhht2yx7p"></a>

{% code title="Kotlin" %}

```kotlin
// Initialization

// ...

IgniteServiceSdk.instance().performAction(packageName, IgniteActions.LAUNCH.name, Bundle(), object : IResponseCallback<PerformActionResponse, Error, Progress> {
        override fun onSuccess(result: PerformActionResponse) {
            Log.d(TAG, "Perform Action CallBack Success ${result.application.packageName}")
        }

        override fun onError(error: Error) {
            Log.e(TAG, "Perform Action CallBack Error: ${error.message}")
        }
    })
```

{% endcode %}
