Share via


Settings.ActionAddAccount Field

Definition

Activity Action: Show add account screen for creating a new account.

[Android.Runtime.Register("ACTION_ADD_ACCOUNT")]
public const string ActionAddAccount;
[<Android.Runtime.Register("ACTION_ADD_ACCOUNT")>]
val mutable ActionAddAccount : string

Field Value

Attributes

Remarks

Activity Action: Show add account screen for creating a new account.

In some cases, a matching Activity may not exist, so ensure you safeguard against this.

The account types available to add may be restricted by adding an #EXTRA_AUTHORITIES extra to the Intent with one or more syncable content provider's authorities. Only account types which can sync with that content provider will be offered to the user.

Account types can also be filtered by adding an #EXTRA_ACCOUNT_TYPES extra to the Intent with one or more account types.

Input: Nothing.

Output: Nothing.

Java documentation for android.provider.Settings.ACTION_ADD_ACCOUNT.

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