|
|
|
|
- Overview
- App shortcuts
- Pinned shortcuts
- Manipulating app shortcuts with WINDEV Mobile
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.
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:
| | | 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:
| | | Adds a new quick action to the application. | | Lists the application's quick actions. | | Generates a request to pin a quick action. | | Removes a quick action defined for the application. | | 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|