Android 7.1 introduced a new feature called App Shortcuts. When you long press your app icon, it shows shortcuts to specific actions which can be launched, on supported launchers. For example, a dialer app can show shortcuts to your recently dialed numbers. A messaging app can show shortcuts to your recent conversations.
In this tutorial, we will create two Activities and add these activities as shortcuts.