Megosztás a következőn keresztül:


Intent.ExtraAllowReplace Field

Definition

Caution

deprecated

Used as a boolean extra field with #ACTION_INSTALL_PACKAGE to install a package.

[Android.Runtime.Register("EXTRA_ALLOW_REPLACE")]
[System.Obsolete("deprecated")]
public const string ExtraAllowReplace;
[<Android.Runtime.Register("EXTRA_ALLOW_REPLACE")>]
[<System.Obsolete("deprecated")>]
val mutable ExtraAllowReplace : string

Field Value

Implements

Attributes

Remarks

Used as a boolean extra field with #ACTION_INSTALL_PACKAGE to install a package. Tells the installer UI to skip the confirmation with the user if the .apk is replacing an existing one.

This member is deprecated. As of android.os.Build.VERSION_CODES#JELLY_BEAN, Android will no longer show an interstitial message about updating existing applications so this is no longer needed.

Java documentation for android.content.Intent.EXTRA_ALLOW_REPLACE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to