Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Background Application on Smart TV

I have an application on Samsung Smart TV. I'm fetching data from web service and display this data in my application.

I'm fetching the data periodically and updating the application accordingly.

I want to run this operation as a background process, so it'll download the data and if there is an update, I warn the user when s/he watching TV.

The other thing I want is to start application on TV launch, is it possible?

like image 944
totten Avatar asked Oct 08 '12 10:10

totten


People also ask

How do I turn off background Apps on my smart TV?

Select Settings. From the Settings screen, select Apps. Press the up arrow or down arrow button to highlight the app you want to close, and then press Enter button. Select Force stop.

How do I change the background on my smart TV?

The easiest way to change the background on your Samsung Smart TV is by using the SmartThings app. Tap on the Menu Icon, then Ambient Background, then choose the wallpaper you want from the list.

How do I get rid of background Apps on my Samsung TV?

There are 2 ways to terminate a TV application: Through user interaction, when the user long-presses the remote control "Return/Exit" key. Long-pressing the "Return/Exit" key forces the application to terminate. Do not register the "Return/Exit" key long-press.

How do I close background Apps on Android TV?

On the supplied remote control, press the HOME button. At the HOME screen, select the Apps icon OR press and hold the HOME button to open the list of installed apps. Press the left, right, up, or down arrow buttons to highlight the app you want to close.


4 Answers

Only 'ticker' type application can run in background. It is not supported in Europe and will not pass certification for Samsung Apps store.

Samsung Smart TV suppots push-notifications (samsungdforum.com/Guide/art00080/index.html). It will allow you to show popup-message on screen with ability to launch your application.

like image 162
Ivan Solntsev Avatar answered Oct 13 '22 11:10

Ivan Solntsev


You cannot auto-start application on TV launch.

The only way is to use custom firmware like SamyGo (http://www.samygo.tv/)

About the "background process"... as far as we assume that JavaScript's setTimeout or setInterval can be used to execute application's "internal" background process, there is no problem - Just DO it! :)

But if you were thinking about system's background process - for ex. crontab of device - it's impossible.

like image 32
Adam Lukaszczyk Avatar answered Oct 13 '22 11:10

Adam Lukaszczyk


for your second doubt Auto launch of the application is supported in ticker applications only and there is property in config file of the ticker widget :

"<ticker itemtype="boolean">y</ticker>"

if u mark it as y(as above) than you can set up auto launch of the app from Menu->smart Hub->Apps settings->auto ticker. in 2014 Samsung Smart TV models.

like image 36
Vikas Avatar answered Oct 13 '22 11:10

Vikas


Since Tv has limited memory I wont recommend background process like setInterval or setTimout. You may have refresh button for the same. And They must have some js api for controlling internal method of tv application (not sure). Anyway if you really want to use interval/timeout dont forget to clear it.

like image 32
Marghoob Suleman Avatar answered Oct 13 '22 13:10

Marghoob Suleman