A decision block that start an app activity.
The fiber will pause until the activity has finished or the timeout expired.
If you don’t want the fiber to pause, use the App start block instead.
Only some app activities are designed to return a meaningful result, those activities often perform a single task, like picking, inserting or deleting content.
An app activity is referred, either explicitly by its package and
activity class (use the Pick app activity button),
or implicitly by an action and data URI.
To implicitly start the “main” activity like the launcher does, specify only the package
What data and actions an activity support varies. Search for public documentation,
or look at the app manifest for clues.
When including a file URI either as data URI or
ensure to enable the appropriate Grant flags otherwise it may be inaccessible to the app.
Note! If this block cause a
SecurityException failure is likely because the activity isn’t exported,
it’s been temporarily or permanently disabled, or it’s secured by a permission to prevent third-party apps from launching it.
- Package — package name of the app activity.
- Activity class — class name of the app activity.
- Action — action the activity should perform.
- Data URI — URI for the activity to handle.
- MIME type — MIME type of data the Data URI is referring.
- Category — action category, use an array for multiple categories.
- Flags — launch flags.
- Launch options — dictionary with activity launch options. (Android 4.1+)
- Timeout — time until the notification/dialog is automatically canceled, default is no timeout.
- Notification channel — UUID of notification channel used for shown notification, default is the flow default or Flow.
- Show window — whether to show the dialog window directly without having to tap the notification.
Requires the “appear atop of other apps or parts of the screen” privilege on Android 10+.
- Result URI — variable to assign the resulting URI.