<span class="Apple-style-span" style="border-collapse: collapse; ">For those interested in integrating the embedded browser (xul), replete with javascript (and presumably all plugins), into a sugar activity, looking at the Map activity might offer some good starting points. &nbsp;See&nbsp;<a href="http://wiki.laptop.org/go/Map_(activity)">http://wiki.laptop.org/go/Map_(activity)</a><div>
<br></div><div>In addition to simply embedding the browser component, the Map activity also:</div><div><ul><li style="margin-left: 15px; ">matches pixel position information from the browser component directly to activity coordinates (overlaying gstreamer video streams over a map in the browser)</li>
<li style="margin-left: 15px; ">runs a local web server and also connects to a remote web server to mix local javascript with remote javascript</li><li style="margin-left: 15px; ">handles both &quot;ajax&quot; and &quot;comet&quot; connections allowing for fluid interaction with the remote html/javascript content and the activity&#39;s gtk widgets<br>
</li><li style="margin-left: 15px; ">can run multiple instances of itself on one machine without port conflicts</li><li style="margin-left: 15px; ">saves activity data to the journal&nbsp;</li></ul></div></span>