ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV Mobile 2024 feature!
Help / WLanguage / WLanguage functions / Mobile specific functions / 
  • Overview
  • App shortcuts
  • Pinned shortcuts
  • Manipulating app shortcuts with WINDEV Mobile
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview

App shortcuts

App shortcuts are an Android feature that allows users to quickly perform specific actions in an application without having to open the full application. These actions generally appear as icons on the home screen, or in the context menu of application shortcuts.
Examples of app shortcuts:
  • Direct access to a specific function or action within an application. For example, writing a new message in a messaging application.
  • Preview or access specific content within an application. For example, a shortcut to the latest article in a news application.
  • Directly open a specific section of an application. For example, a shortcut to the settings of an application.
To access app shortcuts on an Android device, follow these steps:
  • Press and hold an application icon on the home screen to see the available actions, if any.
  • Press and hold an application icon in the list of applications to open a context menu with available actions.
AndroidAndroid Widget Available app shortcuts may vary depending on the version of Android and the launcher used on the device.
AndroidAndroid Widget

Pinned shortcuts

Pinned shortcuts are an additional feature of app shortcuts. They allow users to pin specific application actions to their home screen for even faster access. This feature is only available from Android 8 onwards.
When an action is pinned, an icon is created on the home screen and allows users to perform that action with a single tap. This can be useful for frequently used actions or functionalities to which direct access is required.
To pin an action, users must press and hold the application icon on the home screen or in the list of applications to bring up the app shortcuts, drag the desired action to the top of the screen and release to pin it to the home screen.
Once pinned, the action will remain on the home screen even after a device restart. It can be moved, rearranged or deleted in the same way as any other icon on the home screen.
Manipulating app shortcuts with WINDEV Mobile
WINDEV Mobile allows you to manipulate dynamic shortcuts. This type of shortcut enables applications to generate actions on the fly according to the user's context or activity. They can be dynamically updated or modified by the application according to recent events or actions.
For example, a music app can generate actions for the most recently played songs or playlists.
WINDEV Mobile offers:
  • a variable type:
    New in version 2024
    QuickAction
    The QuickAction type allows you to define all the advanced characteristics of a quick action of an app on Android (app shortcut) or iOS (Quick Action).
  • several WLanguage functions:
    New in version 2024
    QuickActionAdd
    Adds a new quick action to the application.
    New in version 2024
    QuickActionList
    Lists the application's quick actions.
    New in version 2024
    QuickActionPin
    Generates a request to pin a quick action.
    New in version 2024
    QuickActionRemove
    Removes a quick action defined for the application.
    New in version 2024
    QuickActionRemoveAll
    Removes all the quick actions defined for the application. Quick actions pinned to the home screen will be disabled, but not removed.
Remarks:
  • To determine if an application has been launched by a quick action, use ExeInfo with the exeLaunch constant. In this case, ExeInfo will return the exeQuickAction constant.
  • In Android, each application has a limited number of quick actions. Generally, this limit is 5 actions per application.
  • In iOS, you can only add and delete application shortcuts.
Minimum version required
  • Version 2024
Comments
Click [Add] to post a comment

Last update: 01/17/2024

Send a report | Local help