jeudi 2 avril 2015

App Should exit on Smart Hub in Samsung smart TV

Hi Before marking this ques as duplicate i request every one to go through this ques thoroughly as this is one unanswered issue on samsungdforum as well no satisfactory ans has been found here so far..


My app has been rejected by Samsung guys because app does not exit on smart hub, when user presses the smarthub button smarthub do come up but app is still running in behind and the proof of it is when we relaunch the app it starts form where it was left,


As far as i know this code will take the app to smart hub



var widgetAPI = new Common.API.Widget();
widgetAPI.sendReturnEvent();
mwPlugin.SetSource(0);


Above code is behaing fine for blu- ray player but for tv it is only minimising the app and if there is any running video in app, then on tv this code will mess with the video


and this code will exit the app on brodcasting screen



var widgetAPI = new Common.API.Widget();
widgetAPI.sendExitEvent();
mwPlugin.SetSource(0);


So can any one suggest how to exit app on smart hub in Samsung smart TV


Aucun commentaire:

Enregistrer un commentaire