App decision

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 "android.intent.extra.STREAM" extra, 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.

Common extras

KeyConversion typeDescription
"android.intent.extra.HTML_TEXT"StringA HTML alternative to "android.intent.extra.TEXT"
"android.intent.extra.REFERRER"UriHTTP or package referrer
"android.intent.extra.STREAM"UriData stream
"android.intent.extra.SUBJECT"StringSubject of a message
"android.intent.extra.TEXT"CharSequenceA generic text
"android.intent.extra.TITLE"CharSequenceA generic title
"query"StringA search query

Launch options

KeyConversion typeDescription
"android:activity.animType"IntValue as 7 will launch activity (behind) without presenting it to user, only accessible through “recents” screen (Android 4.4+)
"android:activity.launchBounds"RectThe [top,left,right,bottom] bounds (window size) that the activity should be launched in (Android 7+)
"android.activity.launchDisplayId"IntDisplay id the activity should be launched into (Android 8+)
"android:activity.lockTaskMode"BooleanWhether the activity should be launched into “LockTask” mode (Android 9+)

Input arguments

Output variables