Hi,<br><br>I think it could work but out-of-process communication inside the same process is weird.<br><br>With that approach it would probably make more sense to communicate with telepathy and datastore directly, rather than going through the activity, perhaps using a websocket <-> dbus proxy like<br>
<br><a href="https://github.com/01org/cloudeebus">https://github.com/01org/cloudeebus</a><br><br>(interesting that it's developed by <a href="https://01.org/">https://01.org/</a>)<br><br>On old sugar we could have the activity run the proxy, while in new versions it could be session wide.<br>
<br><div class="gmail_quote">On 19 April 2013 21:10, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Daniel,</div><div><br></div>Can we use websockets to bidirectional communication from javascript to a local server?<div><br></div><div><a href="http://tech.pro/tutorial/1167/introduction-to-websockets" target="_blank">http://tech.pro/tutorial/1167/introduction-to-websockets</a><span class="HOEnZb"><font color="#888888"><br>

</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Gonzalo</div></font></span></div>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Daniel Narvaez<br>