Invoke other applications on the device from within your app by using the invocation framework.
If you want to provide support for a certain file type in your app, and you know that there's already a core application on the device that's designed to handle the file type, you can invoke that application directly from your own app. This approach lets you handle a wide variety of file formats without writing specialized code for each one. You can use the invocation framework classes to specify invocation targets and requests, as well as handle replies and errors.
Libraries and permissions
To link against these classes, add the following line to your .pro file:
LIBS += -lbbsystem
To learn more about the invocation framework and how to invoke other applications from your apps, visit the App integration documentation.
To download a code sample that demonstrates how to use the invocation framework, visit the Cascades Samples repository in Github.
- InvokeSource -
The InvokeSource class represents the entity making an invocation request on a target.
- InvokeTarget -
The InvokeTarget class represents a remote application, card, or service that can be invoked.
- MenuItemInvokeParams -
The parameters required to invoke an action related to a MenuItem.