I'm working on web application which is intended to run on Samsung Frame TV. The flow I want to achieve is as follows:
- Samsung TV is up and running, presenting image(s) using Art app.
- My application is started (using push notification).
- User interacts with the app.
- The application is closed and TV goes back to point 1. (Art app)
My question is about point 4. How can I programmatically close my app and immediatelly, after it's closed - show Art app again?
If I just close or hide it using either of following functions:
tizen.application.getCurrentApplication().exit(); tizen.application.getCurrentApplication().hide();
I land on the view presenting currently selected input source (like HDMI1 etc.)
I also tried to open tizen art app using:
tizen.application.launch('org.tizen.art-app')
It works as expected - tizen art app is started. But user lands on app home screen where they're prompted to select image(s) that will be displayed. I don't want to ask users to select images - I want to present the same images that were displayed before my app was started.