# ActionBuilders.AndroidActivity

Artifact: [androidx.wear.tiles:tiles](https://developer.android.com/jetpack/androidx/releases/wear-tiles) [View Source](https://cs.android.com/search?q=file:androidx/wear/tiles/ActionBuilders.java+class:androidx.wear.tiles.ActionBuilders.AndroidActivity) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

*** ** * ** ***


```
public final class ActionBuilders.AndroidActivity
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> Deprecated in Java

A launch action to send an intent to an Android activity.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidActivity.Builder` **This class is deprecated.** Deprecated in Java |

| ### Public methods |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `[getClassName](https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidActivity#getClassName())()` **This method is deprecated.** Deprecated in Java |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/util/Map.html<https://developer.android.com/reference/java/lang/String.html, https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidExtra>` | `[getKeyToExtraMapping](https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidActivity#getKeyToExtraMapping())()` **This method is deprecated.** Deprecated in Java |
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `[getPackageName](https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidActivity#getPackageName())()` **This method is deprecated.** Deprecated in Java |

## Public methods

### getClassName

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public @NonNull String [getClassName](https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidActivity#getClassName())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Gets the fully qualified class name (including the package) to send the intent to, for example, "com.google.weather.WeatherOverviewActivity". Intended for testing purposes only.

### getKeyToExtraMapping

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public @NonNull Map<String, ActionBuilders.AndroidExtra> [getKeyToExtraMapping](https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidActivity#getKeyToExtraMapping())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Gets the extras to be included in the intent. Intended for testing purposes only.

### getPackageName

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.0.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/wear-tiles#1.2.0)

```
public @NonNull String [getPackageName](https://developer.android.com/reference/androidx/wear/tiles/ActionBuilders.AndroidActivity#getPackageName())()
```

> [!CAUTION]
> **This method is deprecated.**   
> Deprecated in Java

Gets the package name to send the intent to, for example, "com.google.weather". Intended for testing purposes only.