Launch another application
If you want your application to launch another application, you use App control. In this example the application is just launched - without any special parameters. PRIVILEGES NEEDED: http://tizen.org/privilege/appmanager.launch
#include <app.h>
app_control_h app_control;
if (app_control_create(&app_control)== APP_CONTROL_ERROR_NONE)
{
//Setting an app ID.
if (app_control_set_app_id(app_control, "org.tizen.tizenstore") == APP_CONTROL_ERROR_NONE)
{
if(app_control_send_launch_request(app_control, NULL, NULL) == APP_CONTROL_ERROR_NONE)
{
LOGI("App launch request sent!");
}
}
if (app_control_destroy(app_control) == APP_CONTROL_ERROR_NONE)
{
LOGI("App control destroyed.");
}
}