Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Shortcuts in Android

Shortcuts in Android

This PPT is all about some basics of Shortcuts and its types in Android

Raja Jawahar

May 13, 2022

Transcript

9 slides
  1. BREIF ABOUT SHORTCUTS ➤ Shortcuts deliver speci fi c types

    of content to your users by helping them quickly access parts of your app. ➤ Each shortcut references one or more intents, each of which launches a speci fi c action in your app when users select the shortcut. ➤ Static, Dynamic and Pinned Shortcuts.
  2. STATIC SHORTCUTS ➤ Basically used for common user activities ➤

    We can de fi ne our shortcuts in XML ➤ For example, if the user wants to view their calendar or email in a speci fi c way, using a static shortcut ensures that their experience in performing a routine task is consistent.
  3. DYNAMIC SHORTCUTS ➤ Dynamic shortcuts are used for actions in

    apps that are context-sensitive. ➤ These actions can change between uses of your app, and they can change even while your app is running. ➤ Good example is calling a speci fi c person from Contacts app or navigate to speci fi c location in Google maps.
  4. ➤ On Android 8.0 (API level 26) and higher. ➤

    User driven actions. ➤ Unlike static and dynamic shortcuts, pinned shortcuts appear in supported launchers as separate icons. PINNED SHORTCUTS
  5. ➤ Minimum SDK is 25(Nougat) ➤ Maximum four can be

    visible. ➤ API allows combination of 15 shortcuts(Static and Dynamic Shortcuts). ➤ Short Description Character Limit - 10. ➤ Long Description Character Limit - 25 ➤ App Shortcuts Design Guidelines LIMITATIONS

More Decks by Raja Jawahar

Other Decks in Programming