QuickShortcuts
Backwards compatible with versions < Android 8 (SDK 26). Features will only work when the user's device is Android => 8 (SDK 26)
This is a extension that lets you add dynamic shortcuts as well as request user to pin shortcuts to the home screen.
Suggestions and bug reports are suggested as this is my second time dealing with Java and I might not be very experienced at it yet
This is a test release and the blocks included might change before release. If you plan to use it frequently, please think twice before using.
Gallery
Block Documentation
CreateDynamicShortcutCreates dynamic shortcuts on the app. Users can then access it by holding down your app icon
- shortcuts - list (with
BuildDynamicShortcutinside of list)
BuildDynamicShortcutBuilds the shortcut information into a list
- id - String
- shortName - String
- longName - String
- icon - String (Images from app assets only | Might change in the future)
- screen - String
- startValue - String
CreatePinnedShortcutCreates a pinned shortcut on the app and requests the user to place it on the home screen.
- id - String
- shortName - String
- longName - String
- icon - String (Images from app assets only | Might change in the future)
- screen - String
- startValue - String
RemoveShortcutRemoves a dynamic shortcut by id
- id - String
DisableShortcutDisables a shortcut by id
- id - String
EnableShortcutEnables a shortcut by id
- id - String
RemoveAllDynamicShortcutsRemoves all dynamic shortcuts. Does not apply to pinned shortcuts or dynamic shortcuts that has been pinned to the home screen
IsDynamicShortcutExistChecks if a dynamic shortcut exist or not
- id - String
- Returns - Boolean
IsPinnedShortcutExistChecks if a pinned shortcut exist or not
- id - String
- Returns - Boolean
IsRateLimitedChecks whether the user's device is blocking the app from creating shortcuts due to spam
- Returns - Boolean
IsShortcutsSupportedChecks whether the the device is supported by the extension (Use this to disable any button if shortcuts is not supported on the user's device.)
- Returns - Boolean
IsPinnedShortcutsSupportedChecks whether the user's device launcher supports pinning shortcuts (Recommend use before
CreatePinnedShortcut)
- Returns - Boolean
Download & Source Code
Test AIA Project File
testing.aia (16.0 KB)









