Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
Event from native app to web app
I have a native services which fires an event
bundle *event_data = NULL;
event_data = bundle_create();
int ret = EVENT_ERROR_NONE;
ret = bundle_add_str(event_data, “leq“, “test”);
ret = event_publish_app_event(“event.arq901aCcl.tatysoundservice.new_data_event”, event_data);
if (ret != EVENT_ERROR_NONE)
dlog_print(DLOG_ERROR, LOG_TAG, “event_publish_app_event err: [%d]”, ret);
ret = bundle_free(event_data)
and a web application which wants to receive the event
watchId = app.addEventListener({
appId: ‘arq901aCcl.tatysoundservice’,
name: ‘new_data_event’
}, new_data);
but it does not seam to work, in the log i see the event is fired.
from a web app to a web app the event work fine.
Does anyone has a clue what i’m doing wrong?
Regards
Maarten
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio