Launches an Android Activity that allows the Client to interact with other software loaded on the device.
Calls to Action.launch() are asynchronous and the script will continue to execute even through the activity has not returned.
- Intents must have at least an action or a class and package combination.
- If multiple applications match the intent, a chooser dialog will appear.
Intent object properties
|action||A string representing the action to be performed.||String||Optional||If the device has multiple apps registered to handle an action, a chooser dialog appears.|
|categories||A list of required categories for the activity that is being started.||Array of strings||Optional|
|class||The name of the activity class to explicitly launch.||String||Optional||Must be used with |
|package||The name of the application package to explicitly launch.||String||Optional||Must be used with |
|extras||Passes additional data to the invoked app.||Array of objects||Optional||If you use extras, you must specify the name, value, and type (string or integer) for the data.|
/* Start the calculator activity. */