<div class="gmail_extra">Yo creo que lo más cercano para tener un canal de retorno es usar la TVD desde un celular, porque allí casi seguramente tengas internet por gprs,3g, egde o por wifi.<br><br>El canal de retorno para los STB seguramente va a demorar si esperamos que el estado nos de todo (aunque hay un plan para que así sea).<br>
<br>Pero hoy en día crece todos los días el hecho de tener internet en casa, asi es que no lo veo dificil que pongamos un cable al STB para que salga/entre internet.<br><br>Saludos, Marcelo<br><br><br><div class="gmail_quote">
2012/4/27 Santiago Lombardi <span dir="ltr"><<a href="mailto:santiago.lombardi@gmail.com" target="_blank">santiago.lombardi@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra">Nico, la verdad que aun no estoy investigando el tema del canal de retorno. En mi opinion nos falta mucho tiempo (años) para poder pensar en una aplicacion que lo use. <br>Estamos enfocando nuestros esfuerzos en comprender lo mejor posible las posibilidades sin canal de retorno.<br>
<br>saludos.<br><br>Santiago<br><br><div class="gmail_quote"><div class="im">On Fri, Apr 27, 2012 at 9:49 AM, Nicolas Ignacio Roldan <span dir="ltr"><<a href="mailto:niko_cbes@hotmail.com" target="_blank">niko_cbes@hotmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
<br><div><div><div>
<div dir="ltr"><div class="im">
<b>Buenas a todos!</b><br>( esta frio no? )<img src="" style="border-style:none;vertical-align:text-bottom" title="Sonrisa" alt="Sonrisa" height="19" width="19"><br><br>
Bueno, es esta oportunidad he comenzado a probar como funciona HTML con Ginga<br>Mi objetivo es lograr interectuar a traves de Ginga con un web service.<br><br>La aplicacion funcionaria asi:<br>Por medio de los botones '1'/'2'/'3' del control remoto votaria algunas de las 3 opciones y reflejaria la cantidad de votos de cada opcion a traves de una pagina html.<br>
Si presiono alguna de las 3 opciones (1 ò 2 ò 3), paso ese voto por medio del 'event.post' al NCL ( esto hace que se incremente en 1 el valor que esta en una tabla del webService). <br><br>Algo asi:<br><br>if evt.key == '1' then <br>
</div>
<font color="#FF0000">event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='start', value='</font><font color="#FF0000"><a href="http://X.X.X.X/Ginga/Votar" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> </a></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious: <a href="http://X.X.X.X/Ginga/Votar"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://X.X.X.X/Ginga/Votar</a></b></font><font color="#FF0000">/<font color="#00B050">?opcion=A</font>'})</font><font color="#FF0000"><br>
</font><font color="#FF0000"> event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='stop', value='</font><font color="#FF0000"><a href="http://X.X.X.X/Ginga/Votar" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> </a></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious: <a href="http://X.X.X.X/Ginga/Votar"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://X.X.X.X/Ginga/Votar</a></b></font><font color="#FF0000">/<font color="#00B050">?opcion=A</font>'})</font><div class="im">
<br>
elseif evt.key == '2' then<br></div> <font color="#FF0000">event.post('out',{class = "ncl", type = "attribution", name =
'srcNuevo', action='start',
value='</font><font color="#FF0000"><a href="http://X.X.X.X/Ginga/Votar" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> </a></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious: <a href="http://X.X.X.X/Ginga/Votar"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://X.X.X.X/Ginga/Votar</a></b></font><font color="#FF0000">/<font color="#00B050">?opcion=B</font>'})</font><font color="#FF0000"><br>
</font><font color="#FF0000">
event.post('out',{class = "ncl", type = "attribution",
name = 'srcNuevo', action='stop',
value='</font><font color="#FF0000"><a href="http://X.X.X.X/Ginga/Votar" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> </a></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious: <a href="http://X.X.X.X/Ginga/Votar"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://X.X.X.X/Ginga/Votar</a></b></font><font color="#FF0000">/<font color="#00B050">?opcion=B</font>'})</font><div class="im">
<br>elseif evt.key == '2' then<br></div>
<font color="#FF0000">event.post('out',{class = "ncl", type = "attribution", name =
'srcNuevo', action='start',
value='</font><font color="#FF0000"><a href="http://X.X.X.X/Ginga/Votar" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> </a></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious: <a href="http://X.X.X.X/Ginga/Votar"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://X.X.X.X/Ginga/Votar</a></b></font><font color="#FF0000">/<font color="#00B050">?opcion=C</font>'})</font><font color="#FF0000"><br>
</font><font color="#FF0000">
event.post('out',{class = "ncl", type = "attribution",
name = 'srcNuevo', action='stop',
value='</font><font color="#FF0000"><a href="http://X.X.X.X/Ginga/Votar" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> </a></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious: <a href="http://X.X.X.X/Ginga/Votar"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://X.X.X.X/Ginga/Votar</a></b></font><font color="#FF0000">/<font color="#00B050">?opcion=C</font>'})</font><div class="im">
<br>end<br><br>
<b>Hasta ahi funciona perfecto</b>.Si presiono<b> solo una vez</b> cada opcion se incrementa en 1 el voto del html. <b>Mi problema esta en que si quiero volver a votar la misma opcion ya no me lo toma. </b><br><br>Lo que hice.<br>
Despues de votar una opcion; volvia a llamar al "event.post" pasandole por parametros la direccion original del webService para que actualizara los valores obtenidos y poder seguir votando... pero tampoco funciono.... ó lo mas probable es que no lo sepa hacer.<br>
Hacia:<br></div><font color="#FF0000">event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='start', value='</font><font color="#00B050"><a href="http://X.X.X.X/Ginga/Votar" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> </a></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious: <a href="http://X.X.X.X/Ginga/Votar"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://X.X.X.X/Ginga/Votar</a></b></font><font color="#FF0000">'})</font><font color="#FF0000"><br>
</font><font color="#FF0000">event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='stop', value='</font><font color="#00B050"><a href="http://X.X.X.X/Ginga/Votar" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> </a></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be</b></font> <font color="red"><b>MailScanner warning: numerical links are often malicious: <a href="http://X.X.X.X/Ginga/Votar"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://X.X.X.X/Ginga/Votar</a></b></font><font color="#FF0000">'})</font><div class="im">
<br>
<br><br><br>Este es el codigo:<br><br>-------------------------------------------<b>main.ncl</b>--------------------------------------------------------------<br><br><?xml version="1.0" encoding="ISO-8859-1"?><br>
<ncl id="main" xmlns="<a href="http://www.ncl.org.br/NCL3.0/EDTVProfile" target="_blank">http://www.ncl.org.br/NCL3.0/EDTVProfile</a>"><br><br> <head><br> <regionBase><br> <region id="<font color="#FF0000">rgWebService</font>" width="100%" height="30%" top="0%" zIndex="1"/><br>
<region id="<font color="#FF0000">rgLua</font>" width="0%" height="0%" zIndex="1" /><br> <region id="idBotonVote" width="20%" height="20%" bottom="10%" left="10%" zIndex="1"/> <br>
</regionBase><br> <br> <descriptorBase><br> <descriptor id="<font color="#FF0000">descWebService</font>" region="<font color="#FF0000">rgWebService</font>" /><br>
<descriptor id="<font color="#FF0000">descLua</font>" region="<font color="#FF0000">rgLua</font>" focusIndex="<font color="#FF0000">appFocusLua</font>"/><br> <descriptor id="descBotonVote" region="idBotonVote"/><br>
</descriptorBase><br><br> <connectorBase><br> <importBase documentURI="metodos.ncl" alias="metodo"/><br> </connectorBase> <br> </head><br>
<br><br> <body> <br> <br> <port id="pVote" component="imgBotonVote"/><br><br><br></div> <media id="<font color="#FF0000">mediaWebService</font>" type="text/html" src="<a href="http://X.X.X.X/Ginga/Votar" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar</a>" descriptor="<font color="#FF0000">descWebService</font>"><div>
<div class="h5"><br>
<property name="src"/> <br> </media><br><br> <media id="<font color="#FF0000">mediaLua</font>" src="luaHtml.lua" descriptor="<font color="#FF0000">descLua</font>" ><br>
<property name="bounds"/><br> <property name="srcNuevo"/><br> </media><br> <br> <media id="imgBotonVote" src="Imagen/Botones/voto.png" descriptor="descBotonVote"/><br>
<br> <media id="focoLua" type="application/x-ginga-settings"><br> <property name="service.currentKeyMaster" value="<font color="#FF0000">appFocusLua</font>"/><br>
</media><br> <br> <br><br> <link xconnector="<font color="#0070C0"><b>metodo#</b><b><font>onBeginEndMenu</font></b></font>"><br> <bind role="onSelection" component="imgBotonVote"><br>
<bindParam name="oSetTecla" value="ENTER"/><br> </bind><br> <bind role="abort" component="imgBotonVote"/><br> <br>
<bind role="set" component="mediaLua" interface="bounds"><br> <bindParam name="oValor" value="0%,30%,100%,50%"/><br> </bind><br>
<bind role="start" component="<font color="#FF0000">mediaLua</font>"/><br> <bind role="start" component="<font color="#FF0000">focoLua</font>" /><br>
<br> <bind role="start" component="<font color="#FF0000">mediaWebService</font>"/> <br> </link><br> <br> <br> <link xconnector="<b><font color="#0070C0">metodo#</font><font color="#0070C0">onEndAttributionSet</font></b>"><br>
<bind component="mediaLua" interface="srcNuevo" role="onEndAttribution"/><br> <bind component="mediaLua" interface="srcNuevo" role="getValue"/><br>
<linkParam name="valor" value="$getValue"/><br> <bind role="set" component="<font color="#FF0000">mediaWebService</font>" interface="src"/><br>
</link><br> <br> <br> </body><br></ncl><br>-------------------------------------------------------------------------------------------------------------------------------------<br>
<br><br>---------------------<b> metodos.ncl</b>------------------------------------------------------------------------------------------------<br><?xml version="1.0" encoding="ISO-8859-1"?><br>
<!-- Generated by NCL Eclipse --><br><ncl id="metodos" xmlns="<a href="http://www.ncl.org.br/NCL3.0/EDTVProfile" target="_blank">http://www.ncl.org.br/NCL3.0/EDTVProfile</a>"><br> <head><br>
<connectorBase><br><br> <causalConnector id="<font color="#0070C0"><b><font>onBeginEndMenu</font></b></font>"><br> <connectorParam name="oSetTecla"/><br>
<connectorParam name="oValor"/><br> <simpleCondition role="onSelection" key="$oSetTecla"/><br> <compoundAction operator="seq"><br>
<simpleAction role="start" qualifier="seq" max="unbounded"/><br> <simpleAction role="abort" qualifier="seq" max="unbounded"/><br>
<simpleAction role="set" qualifier="seq" max="unbounded" value="$oValor"/><br> </compoundAction><br> </causalConnector><br>
<br> <br> <causalConnector id="<font color="#0070C0"><b><font>onEndAttributionSet</font></b></font>"><br> <connectorParam name="valor" /><br> <simpleCondition role="onEndAttribution"/><br>
<simpleAction role="set" value="$valor" /><br> </causalConnector><br> <br> <br> </connectorBase><br><br> </head><br><br>
<body><br><br> </body><br></ncl><br><br>--------------------------------------------------------------------------------------------------------------------------------------<br><br><br><br><br>--------------------------------<b>-luaHtml.lua-</b>----------------------------------------------------------------------------------------<br>
<br><br>function manejadorEventos(evt) <br> <br> <br> if evt.class=='key' and evt.type=='press' then <br> <br> <br> if evt.key == '1' then<br> <br>
</div></div>
event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='start', value='<a href="http://X.X.X.X/Ginga/Votar/?opcion=A%27" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar/?opcion=A'</a>})<br>
event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='stop', value='<a href="http://X.X.X.X/Ginga/Votar/?opcion=A%27" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar/?opcion=A'</a>})<div class="im">
<br>
<br> elseif evt.key == '2' then <br> <br></div> event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='start', value='<a href="http://X.X.X.X/Ginga/Votar/?opcion=B%27" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar/?opcion=B'</a>})<br>
event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='stop', value='<a href="http://X.X.X.X/Ginga/Votar/?opcion=B%27" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar/?opcion=B'</a>})<div class="im">
<br>
<br> elseif evt.key == '3' then<br> <br></div> event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='start', value='<a href="http://X.X.X.X/Ginga/Votar/?opcion=C%27" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar/?opcion=C'</a>})<br>
event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='stop', value='<a href="http://X.X.X.X/Ginga/Votar/?opcion=C%27" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar/?opcion=C'</a>}) <br>
<div class="im">
end <br><b> <font color="#FF0000"><font> </font></font></b><font color="#FF0000"><font>refrescarHTML()</font></font><br> end <br> <br>end<br><br><br><br><font color="#000000">function refrescarHTML()</font><br>
<br></div> event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='start', value='<a href="http://X.X.X.X/Ginga/Votar%27" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar'</a>})<br>
event.post('out',{class = "ncl", type = "attribution", name = 'srcNuevo', action='stop', value='<a href="http://X.X.X.X/Ginga/Votar%27" target="_blank"></b></font></b></font><font color="red"><b>MailScanner has detected a possible fraud attempt from "x.x.x.x" claiming to be <font color="red"><b>MailScanner warning: numerical links are often malicious: http://X.X.X.X/Ginga/Votar'</a>})<div class="im">
<br>
<br><font color="#000000">end</font><br><br><br>event.register(manejadorEventos)<br><br>--------------------------------------------------------------------------------------------------------------------------------------<br>
<br><br><br><br><br>Esa era una opcion que intente y no paso nada. <br><br><br>/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>
La otra opcion que intente es por medio de NCL, modificando <causalConnector id="<font color="#0070C0"><b><font>onEndAttributionSet</font></b></font>"> ( en el archivo <b> metodos.ncl</b>) y agregandole un <simpleAction role="start" />, para llamar de nuevo al "<b><font color="#0070C0">mediaWebService</font></b>"cuando invoco al <link xconnector="<b><font color="#0070C0">metodo#</font><font color="#0070C0">onEndAttributionSet</font></b>">( en el archivo<b> main.ncl</b>)... pero exploto con esa opcion... me salia algo como :<br>
"<font color="#FF0000"> Memory leak by 136 bytes</font><font color="#FF0000"><br></font><font color="#FF0000"><br></font><font color="#FF0000">List of blocks: 0x93d01e0:25 @ cookies.c:179, 0x93d01a8:13 @ cookies.c:129, 0x93cec88:2 @ http.c:79, 0x93d0170:13 @ cookies.c:96, 0x93bb6d8:25 @ cookies.c:95, 0x93d0138:18 @ cookies.c:94, 0x93d00e8:40 @ cookies.c:91</font><font color="#FF0000"><br>
</font><font color="#FF0000"><br></font><font color="#FF0000">Forcing core dump</font><br><br>"<br><br>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>
<br><br><br><br>Bueno, nose que hacer ya. <img src="" style="border-style:none;vertical-align:text-bottom" title="Confundido" alt="Confundido" height="19" width="19"><br>
Si a alguien le funciono o intento algo parecido, me daria una gran mano<br>Saludos a todos!<br><b><font style="font-size:12pt" size="3">nico</font></b><br><br>                                            </div></div>
<br></div></div><div class="im">__________________________________________Lista de correo <a href="mailto:Ginga-argentina@lists.ourproject.org" target="_blank">Ginga-argentina@lists.ourproject.org</a>
cambiar suscripción: <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a>
Sitio web: <a href="http://comunidad.ginga.org.ar" target="_blank">http://comunidad.ginga.org.ar</a>
Wiki: <a href="http://wiki.ginga.org.ar" target="_blank">http://wiki.ginga.org.ar</a></div></div>                                            </div></div><div class="im">
<br>__________________________________________Lista de correo <a href="mailto:Ginga-argentina@lists.ourproject.org" target="_blank">Ginga-argentina@lists.ourproject.org</a><br>
cambiar suscripción: <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a><br>
Sitio web: <a href="http://comunidad.ginga.org.ar" target="_blank">http://comunidad.ginga.org.ar</a><br>
Wiki: <a href="http://wiki.ginga.org.ar" target="_blank">http://wiki.ginga.org.ar</a><br>
<br></div></blockquote></div><br></div>
<br>__________________________________________Lista de correo <a href="mailto:Ginga-argentina@lists.ourproject.org">Ginga-argentina@lists.ourproject.org</a><br>
cambiar suscripci&#243;n: <a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-argentina</a><br>
Sitio web: <a href="http://comunidad.ginga.org.ar" target="_blank">http://comunidad.ginga.org.ar</a><br>
Wiki: <a href="http://wiki.ginga.org.ar" target="_blank">http://wiki.ginga.org.ar</a><br>
<br></blockquote></div><br></div>