Hi,
I' ve just created an Hybrid APP (Packaged with "Multi" WebAPP + Service).
My service checks some data in the background, I want it to turn on the screen and open the web app when the service reaches a result.
I've tried this code, but it fails
app_control_h app_control; app_control_create(&app_control); app_control_set_operation(app_control, APP_CONTROL_OPERATION_DEFAULT); app_control_set_app_id(app_control, "MY-WEBAPP.ID"); if (app_control_send_launch_request(app_control, NULL, NULL) == APP_CONTROL_ERROR_NONE) dlog_print(DLOG_INFO, LOG_TAG, "Succeeded to launch app."); else dlog_print(DLOG_ERROR, LOG_TAG, "Failed to launch app."); app_control_destroy(app_control);