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
Remote Message Port is not working
var gServiceAppId = ‘cFlc2IE9pQ.samplenativeapp’,
/**
* Service port name.
*
* @type {string}
*/
gServicePortName = ‘NATIVE_PORT_SAMPLE’,
/**
* Local message port name.
*
* @type {string}
*/
gLocalMessagePortName = ‘WEB_PORT_SAMPLE’,
/**
* Local message port object.
*
* @type {LocalMessagePort}
*/
gLocalMessagePort =null,
/**
* Remote message port object.
*
* @type {RemoteMessagePort}
*/
gRemoteMessagePort = null,
try {
gRemoteMessagePort = tizen.messageport
.requestRemoteMessagePort(gServiceAppId, gServicePortName);
} catch (ex) {
gRemoteMessagePort = null;
console.log(ex.name);
}
in catch block, console.log(ex), it is showing “NotFoundError” and i cannot send message from web to native. Any solution??
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio