Hello,
Im developing an APP in Javascript to a Tizen 4.0 TV.
I already launch the Bluetooth App via launchApplication("org.tizen.ep-hotel-btplayer");
Now i want to launch built-in Screen Mirroring application on TV but i dont know the name of the app to call it.
It would be something like: org.tizen… ?
Can someone help me?
Thank you in advance!
hello i have this idea name: tizenmirror if you don’t like that name you can send me a message on my website: Rota Certa Negócios
Hello,
I have the same problem, Do you found who to start Launch screen mirroring on tizen samsung smart tv.
thanks.
to open Mirror Screen
launchApplication("org.tizen.connection-guide-app");
then in
if (getTizenVersion() === "6.0") {
appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view", null, null, null, [new tizen.ApplicationControlData("deeplink", ["smartphone_screenmirroring_1"])])
} else {
appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view", null, null, null, [new tizen.ApplicationControlData("deeplink", ["mobile_screenmirroring_1"])])
}
For me launchApplication("org.tizen.ep-hotel-btplayer");
this does not work. Tizen 6.5 TV. Cannot open direct Bluetooth Page. Help me pLeAsE!
1 Like
This is how I implement for Tizen 6.5 and Older TVs
var launchApplication = function (appName, appKey) {
try {
var appControl = null;
if (appKey === "SCREEN_MIRROR") {
if (getTizenVersion() === "6.0") {
appControl = new tizen.ApplicationControl(
"http://tizen.org/appcontrol/operation/view", null, null, null,
[new tizen.ApplicationControlData("deeplink", ["smartphone_screenmirroring_1"])]
)
} else {
appControl = new tizen.ApplicationControl(
"http://tizen.org/appcontrol/operation/view", null, null, null,
[new tizen.ApplicationControlData("deeplink", ["mobile_screenmirroring_1"])]
)
}
} else if (appKey === "BLUETOOTH") {
appControl = new tizen.ApplicationControl(
"http://tizen.org/appcontrol/operation/view", null, null, null,
[new tizen.ApplicationControlData("uri", ["SoundMirroringGuide"])]
)
} else {
appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view");
}
// ApplicationControlDataArrayReplyCallback instance
var appControlReplyCallback = {
onsuccess: function (data) {
// callee sent a reply
console.log("appControlReplyCallback :: success");
}, onfailure: function () {
// callee returned failure
console.log('appControlReplyCallback :: failed');
}
};
// on Launch Callbacks
var onLaunchSuccess = function () {
console.log("[sochoi] success !! App launched: " + appName);
// Usage with a callback
getRunningAppId(appName, function (appId) {
console.log("Current Running App ID:", appId);
});
};
var onLaunchError = function (error) {
console.log("[sochoi] failed! error code: " + error.code + " error name: " + error.name + " message " + error.message);
};
// Launch the application
tizen.application.launchAppControl(appControl, appName, onLaunchSuccess, onLaunchError, appControlReplyCallback);
} catch (error) {
console.log("Error occured :: " + error.message);
}
};
But I am trying to catch status / event when user open / clsoe Bluetooth, Mirroring etc. For that I need your help