Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

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

Note! If this block cause a SecurityException failure is likely because the activity isn’t exported (i.e. private), it’s disabled or 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

Input arguments

  • 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 typeMIME type of data the Data URI is referring.
  • Category — action category, use an array for multiple categories.
  • Extrasdictionary with extended data. Inconvertible entries lacking a conversion type may be excluded.
  • Timeout — time until the activity is automatically canceled, default is no timeout.
  • Show window — whether to show the activity window directly without having to tap the notification. Only works when no other window is showing.

Output variables

  • Result URI — variable to assign the resulting content URI.
  • Result extras — variable to assign a dictionary with extended result data. Inconvertible entries may be excluded.
Note! This documentation can also be found in the Help & feedback menu of the app.