You are here

Shortcut extras

Extra key: 
android.intent.extra.shortcut.ICON
Additional extra keys: 
android.intent.extra.shortcut.ICON_RESOURCE
android.intent.extra.shortcut.INTENT
android.intent.extra.shortcut.NAME

Specify a new shortcut.

The extras are:

  • android.intent.extra.shortcut.ICON: The name of the extra used to define the icon, as a Bitmap, of a shortcut
  • android.intent.extra.shortcut.ICON_RESOURCE: The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut.
  • android.intent.extra.shortcut.INTENT: The name of the extra used to define the Intent of a shortcut.
  • android.intent.extra.shortcut.NAME: The name of the extra used to define the name of a shortcut.

See Android documentation.