Android.Content.Intent.ActionInstallPackage Field
Activity Action: Launch application installer.

Syntax

[Android.Runtime.Register("ACTION_INSTALL_PACKAGE")]
public const string ActionInstallPackage

See Also

Intent.ExtraInstallerPackageName
Intent.ExtraNotUnknownSource
Intent.ExtraReturnResult

Remarks

Activity Action: Launch application installer.

Input: The data must be a content: or file: URI at which the application can be retrieved. As of NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR1, you can also use "package:" to install an application for the current user that is already installed for another user. You can optionally supply Intent.ExtraInstallerPackageName, Intent.ExtraNotUnknownSource, Intent.ExtraAllowReplace, and Intent.ExtraReturnResult.

Output: If Intent.ExtraReturnResult, returns whether the install succeeded.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14