Implement Multitasking functionality in samsung tizen tv application

723 views Asked by At

We have developed Samsung tizen tv application.

Now our client want to submit application on Tizen app store.

We have compared functionality of our application with Development Checklist using url http://developer.samsung.com/tv/develop/development-checklist/ .

We have found that we missed multitasking functionality in our application.

Can we implement Multitasking functionality for Samsung Tizen TV application ?

If yes, then how to implement Multitasking functionality ?

One more query, Can we submit application without Multitasking functionality to tizen store ?

1

There are 1 answers

3
graham o'donnel On

You need to enable Multitasking in the config.xml. Be sure you add the following line:

Multitasking is enabled on config.xml as follows:

In adition, you need to listen the hide event (every time you change to a different app document.hidden is triggered) and include a behaviour (typically you will pause your video player):

if(document.hidden){
    //when application is hidden (multitasking)
    webapis.avplay.suspend(); 
  } else {
    //when application is restored
    webapis.avplay.restore(); 
  }
});

Kind regards