Hi Daniel,<div>Opening the Browse activity with a link has been discussed a few times before,</div><div>and is a particular case of opening one activity from another,</div><div>like opening Read with a pdf or Jukebox with a media file.<br>
Probably we need agree in a general solution, and not add little hacks.</div><div>Right now, probably a good option is add a webkit viewer to the qr activity.</div><div>Do you want show a simple page or more complex functionalities?</div>
<div>Another ugly hack can be do what wikipedia activity is doing, </div><div>import the classes from Browse activity and inherit from it.</div><div><br></div><div>Gonzalo  <br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 2:22 PM, S. Daniel Francis <span dir="ltr"><<a href="mailto:francis@sugarlabs.org" target="_blank">francis@sugarlabs.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tony,<br>
<br>
2012/11/12 Tony Anderson <<a href="mailto:tony_anderson@usa.net">tony_anderson@usa.net</a>>:<br>
<div class="im">> Hi,<br>
><br>
> I have been approaching this from the other direction - opening a Sugar<br>
> activity from a web page using localhost (CGIHTTPServer). I started the<br>
> local server at launch of the Learn.activity (Firefox wrapper). The<br>
> localhost cgi scripts invoke python scripts which can launch Sugar<br>
> activities (new or resume). Resuming requires a minor patch to sugar-launch.<br>
<br>
</div>The motivation for my proposal was a QR reading activity that needs it<br>
to open the links in the web browser. The difference is that the<br>
Browse activity needs to receive the URL to be loaded and I solved it<br>
with a patch to Browse.<br>
<span class="HOEnZb"><font color="#888888"><br>
Daniel.<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>