<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://developers.smarttv-alliance.org/forum/feed.php?f=6&amp;t=82" />

<title>developers.smarttv-alliance.org</title>
<subtitle>Developers forum</subtitle>
<link href="https://developers.smarttv-alliance.org/forum/index.php" />
<updated>2014-05-21T18:57:13-07:00</updated>

<author><name><![CDATA[developers.smarttv-alliance.org]]></name></author>
<id>https://developers.smarttv-alliance.org/forum/feed.php?f=6&amp;t=82</id>
<entry>
<author><name><![CDATA[Support_STA]]></name></author>
<updated>2014-05-21T18:57:13-07:00</updated>
<published>2014-05-21T18:57:13-07:00</published>
<id>https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=196#p196</id>
<link href="https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=196#p196"/>
<title type="html"><![CDATA[Re: Handling Toshiba]]></title>

<content type="html" xml:base="https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=196#p196"><![CDATA[
Hi Geneellis, <br /><br />To handle back button on Toshiba models, you need to override evenhandler of keypress, keydown... button. Besides that, detecting Toshiba models is necessary too.<br /><br />Please review bellow code that helps you to detect Toshiba models and override eventhandler:<br />function detectToshiba(){<br />var userAgent = new String(navigator.userAgent);<br />var detectStrIndex = userAgent.search(/TOSHIBA-DTV/i);<br />if (detectStrIndex != -1){<br />return true;<br />}<br />return false;<br />}<br /><br />function keydownhandler(e)<br />{ <br />switch (e.keyCode) <br />{ <br />                ...<br />case VK_BACK:<br />// Your code here<br />... <br />} <br />}<br /><br />Thanks and regards,<br />STA QA<p>Statistics: Posted by <a href="https://developers.smarttv-alliance.org/forum/memberlist.php?mode=viewprofile&amp;u=2056">Support_STA</a> — Wed May 21, 2014 6:57 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Support_STA]]></name></author>
<updated>2014-05-07T14:14:15-07:00</updated>
<published>2014-05-07T14:14:15-07:00</published>
<id>https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=630#p630</id>
<link href="https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=630#p630"/>
<title type="html"><![CDATA[Re: Handling Toshiba]]></title>

<content type="html" xml:base="https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=630#p630"><![CDATA[
Hi Geneellis, <br /><br />To handle back button on Toshiba models, you need to override evenhandler of keypress, keydown... button. Besides that, detecting Toshiba models is necessary too.<br /><br />Please review bellow code that helps you to detect Toshiba models and override eventhandler:<br />function detectToshiba(){<br />var userAgent = new String(navigator.userAgent);<br />var detectStrIndex = userAgent.search(/TOSHIBA-DTV/i);<br />if (detectStrIndex != -1){<br />return true;<br />}<br />return false;<br />}<br /><br />function keydownhandler(e)<br />{ <br />switch (e.keyCode) <br />{ <br />                ...<br />case VK_BACK:<br />// Your code here<br />... <br />} <br />}<br /><br />Thanks and regards,<br />STA QA<p>Statistics: Posted by <a href="https://developers.smarttv-alliance.org/forum/memberlist.php?mode=viewprofile&amp;u=2056">Support_STA</a> — Wed May 07, 2014 2:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[geneellis]]></name></author>
<updated>2014-05-07T14:14:15-07:00</updated>
<published>2014-05-07T14:14:15-07:00</published>
<id>https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=623#p623</id>
<link href="https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=623#p623"/>
<title type="html"><![CDATA[Handling Toshiba]]></title>

<content type="html" xml:base="https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=623#p623"><![CDATA[
My app was requested for the following reason:<br />The app exits when hit Back key on landing page on Toshiba models.<br />Does anyone have any advice on how to handle Toshiba? How do we keep it from exiting? Thank you.<p>Statistics: Posted by <a href="https://developers.smarttv-alliance.org/forum/memberlist.php?mode=viewprofile&amp;u=4457">geneellis</a> — Wed May 07, 2014 2:14 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[geneellis]]></name></author>
<updated>2014-05-07T14:14:15-07:00</updated>
<published>2014-05-07T14:14:15-07:00</published>
<id>https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=189#p189</id>
<link href="https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=189#p189"/>
<title type="html"><![CDATA[Handling Toshiba]]></title>

<content type="html" xml:base="https://developers.smarttv-alliance.org/forum/viewtopic.php?t=82&amp;p=189#p189"><![CDATA[
My app was requested for the following reason:<br />The app exits when hit Back key on landing page on Toshiba models.<br />Does anyone have any advice on how to handle Toshiba? How do we keep it from exiting? Thank you.<p>Statistics: Posted by <a href="https://developers.smarttv-alliance.org/forum/memberlist.php?mode=viewprofile&amp;u=4457">geneellis</a> — Wed May 07, 2014 2:14 pm</p><hr />
]]></content>
</entry>
</feed>