I've been tasked with developing an app for Samsung TV to match our existing suite of apps for Windows, Mac, Linux, Chromebook, iOS, and Android. One of the key features of our app is that it must launch automatically on boot.
Is there any way to create an app that will launch automatically on boot in Samsung TV's Tizen OS?
The auto-launching portion of the app doesn't even have to have a user interface. It can, but it doesn't have to. So even just a background service would be enough. But some kind of custom code has to launch on boot, or else the platform just isn't viable for our product.
I've Googled and Googled and cannot find anything that speaks clearly to this.
If this is possible, and you know how to do it, please provide enough instructions (or a link to something that does provide them) that I should be able to create a "Hello World" app (or something similarly trivial) that launches on boot.
If you know for a fact that it isn't possible, please let me know that it is impossible, and also tell me how you know this, so that I can stop spinning my wheels.
Thank you so much!
I had encountered the same problem, I had discovered two ways to implement and make it work. There are two below approaches that worked for me -
Created a node service that uses SDB (Samsung Development Bridge) to connect the Samsung Tv over the IP and execute the run app command provided by the tizen cli when node service detects the Tv gets turned on using samsung-tv-control package(https://www.npmjs.com/package/samsung-tv- control). Below is the command to run the app -
tizen run -p <appID>This is the flowchart of node service to programmatically launch Tizen Samsung TV app on boot: FlowChart of node application to launch the tizen application on boot
The code below is an idea how this application will work -