ACTION_CREATE_SHORTCUT constant

String const ACTION_CREATE_SHORTCUT

Activity Action: Creates a shortcut.

Input: Nothing.

Output: An Intent representing the {@link android.content.pm.ShortcutInfo} result.

For compatibility with older versions of android the intent may also contain three extras: SHORTCUT_INTENT (value: Intent), SHORTCUT_NAME (value: String), and SHORTCUT_ICON (value: Bitmap) or SHORTCUT_ICON_RESOURCE (value: ShortcutIconResource).

@see android.content.pm.ShortcutManager#createShortcutResultIntent @see #EXTRA_SHORTCUT_INTENT @see #EXTRA_SHORTCUT_NAME @see #EXTRA_SHORTCUT_ICON @see #EXTRA_SHORTCUT_ICON_RESOURCE @see android.content.Intent.ShortcutIconResource

Implementation

static const String ACTION_CREATE_SHORTCUT =
    'android.intent.action.CREATE_SHORTCUT';