Standard Android Intents
Starting an Application
To start an application, use typeIntent a and supply the package name.
Additionally, actions, classes, and flags can be used for a more granular intent.
An action value specifies an action defined within the application.
An activity can be referenced as a class value; this will tell Launcher to open a specific activity in the application, rather than the default activity. When using a class to start an activity, a flag of 1 is required to start a new task.
Sending a Broadcast Intent
Android supports broadcast intents, or intents that are transmitted broadly to all listening applications to trigger an action.
Broadcast intents can be sent using typeIntent b and an action or package name.
For example, to invoke the action to clear cookies on the BlueFletch Browser application via broadcast:
Sending an Intent with Data
Intents, including standard Android intents and BlueFletch's customized Platform action intents, can include a data string to pass the intent configurable details it will need in order to run.
For example, to start an XML via intent, the XML file location is passed through data:
Or in a delay intent, data tells the intent how long to wait, in milliseconds:
Last updated