mautilus / sdk

MAUTILUS SmartTV SDK
BSD 3-Clause "New" or "Revised" License
99 stars 43 forks source link

How to handle multitasking? #33

Closed jorgitoml closed 6 years ago

jorgitoml commented 8 years ago

Do you have any multitasking sample for tizen&webos devices?

My app has a "login" scene and a "player" scene. If the user is in "player" scene and hides the app, when returning, the "login" scene is shown instead of "player" scene.

Can you tell me how to return directly to the "player" scene to continue playing?

Best regards.

jorgitoml commented 8 years ago

Nobody?

SoCoxx commented 8 years ago

Which platform are you interested in? Tizen or WebOS?

jorgitoml commented 8 years ago

Tizen. Thanks for your reply.

SoCoxx commented 8 years ago

Does it work on other applications on your device?

And one more question: When testing, does application reset only 1st time and after this it holds the state?

jorgitoml commented 8 years ago

Ooops, It doesn't work on my Tizen device (I've tested with Youtube app)...but Samsung testers noticed this problem when I tried to register my app.

SoCoxx commented 8 years ago

As i know, not all Tizen devices support multitasking. I will try to get some more info about this.

What is your model (i.e. UE43KU6072) ?

jorgitoml commented 8 years ago

OK, but my app was rejected on tizen devices due the multitasking issue. My model is: UE32J5570

SoCoxx commented 8 years ago

Hi,

the most closest model to yours that we have is UE32J5600 and this mode doesn't support multitasking.

Could you please send me the complain from samsung seller about missing multitasking? It might be something else

jorgitoml commented 8 years ago

Take a look: http://puu.sh/riTY3/ca033f4f7d.png http://puu.sh/riU4f/d4eceda63a.png http://puu.sh/riUfM/9635b24381.png http://puu.sh/riUnA/8fdbf51e0f.png

SoCoxx commented 8 years ago

Hi,

most of problems are instant on - when pressing power off button (for less than few seconds) while application is playing video and then powering it back. This should be handled in SDK (please check if you have latest version)

  1. instant on problem.
  2. same problem - instant on
  3. they have added this feature just now - this should solve problem https://www.samsungdforum.com/TizenGuide/tizen4091/index.html
  4. same problem - instant on

About multitasking/instant on:

in both cases (powering off tv / switching application), event 'visibilitychange' is emitted. This is also when switching back to application and powering TV again. SDK's Device_Tizen is translating them as Device.trigger('hideApp') and Device.trigger('resumeApp'). These events are watched by SDK's Player_Tizen that is handling all logic behind with suspending player with webapis.avplay.suspend() and restarting stream and setting position webapis.avplay.restore().

jorgitoml commented 8 years ago

Yes, I'm using the latest version. versionSDK: '2.0.230 [02.05.2016]',

SoCoxx commented 8 years ago

I will try to make a demo application for this purpose today, test it and then share it

jorgitoml commented 8 years ago

OK Thanks a lot SoCoxx.

SoCoxx commented 8 years ago

Hello,

I will need some more time, as it seems that Samsung changed instant on in their latest firmware and it is not working anymore on Tizen 2015 models. This might be a platform bug, but we need to make some research about it.

Thanks

jorgitoml commented 8 years ago

OK, no problem. Best regards.

jorgitoml commented 8 years ago

Hi SoCoxx, any news? Best regards.

SoCoxx commented 8 years ago

Nope, we are still communicating with Samsung QA. We are trying to explain them, that the bug is on their side

jorgitoml commented 7 years ago

Sorry for harping on about it, but...any changes?

jorgitoml commented 7 years ago

Bump