Join us for ⁠#Android11: The Beta Launch Show on June 3!
Added in API level 1
Deprecated in API level R

AliasActivity

open class AliasActivity : Activity
kotlin.Any
   ↳ android.content.Context
   ↳ android.content.ContextWrapper
   ↳ android.view.ContextThemeWrapper
   ↳ android.app.Activity
   ↳ android.app.AliasActivity

Stub activity that launches another activity (and then finishes itself) based on information in its component's manifest meta-data. This is a simple way to implement an alias-like mechanism. To use this activity, you should include in the manifest for the associated component an entry named "android.app.alias". It is a reference to an XML resource describing an intent that launches the real application.

Summary

Inherited constants

Public constructors

Protected methods

open Unit
onCreate(savedInstanceState: Bundle?)

Inherited functions

Inherited properties

Public constructors

<init>

AliasActivity()

Protected methods

onCreate

Added in API level 1
Deprecated in API level R
protected open fun onCreate(savedInstanceState: Bundle?): Unit

Deprecated.

Parameters
savedInstanceState Bundle?: If the activity is being re-initialized after previously being shut down then this Bundle contains the data it most recently supplied in onSaveInstanceState. Note: Otherwise it is null. This value may be null.