<div dir="ltr">Hi Tony,<div>This feature try implement that in a smarter way.</div><div>Here a example:</div><div>* You download something in Browse.</div><div>* Browse can't manage every possible file. We include a pdf viewer,</div><div>but by example, we can't show a epub file in the browser or a piece TurtleArt code.</div><div>* Right now Browse save the downloaded file in the Journal</div><div>and display a button "Show in Journal", because the Journal knows</div><div>what activity can open every file type.</div><div>* The idea is move that logic (the relation between file types and activities)</div><div>to the toolkit, then Browse can say "Open this...." </div><div>and start any activity needed to open the file, or show a message</div><div>"You don't have any activity to open this file"</div><div>There are more information in the feature page in the wiki [1]</div><div><br></div><div>Gonzalo</div><div><br></div><div>[1] <a href="http://wiki.sugarlabs.org/go/Features/Start_activity_from_another_activity">http://wiki.sugarlabs.org/go/Features/Start_activity_from_another_activity</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 23, 2015 at 8:49 AM, Tony Anderson <span dir="ltr"><<a href="mailto:tony_anderson@usa.net" target="_blank">tony_anderson@usa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Gonzalo<br>
<br>
This capability has been included in Sugar from day one in the form of sugar-launch. Sugar launch can be executed by any activity using the Python subprocess module. I have added support for the options -o and -u. The first launches with a specified (Journal) object_id. The second launches with a specified uri. I haven't used the -u option, but -b works well.<br>
<br>
I sent an email earlier, but it may have been lost somewhere.<br>
<br>
Tony<br>
<br>
On 04/22/2015 08:31 PM, <a href="mailto:sugar-devel-request@lists.sugarlabs.org" target="_blank">sugar-devel-request@lists.sugarlabs.org</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Message: 1<br>
Date: Wed, 22 Apr 2015 15:14:03 -0300<br>
From: Gonzalo Odiard<<a href="mailto:godiard@sugarlabs.org" target="_blank">godiard@sugarlabs.org</a>><br>
To: "Sam P."<<a href="mailto:sam.parkinson3@gmail.com" target="_blank">sam.parkinson3@gmail.com</a>><br>
Cc: Sugar-dev Devel<<a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a>>, Manuel Qui?ones<br>
<<a href="mailto:manuq@laptop.org" target="_blank">manuq@laptop.org</a>><br>
Subject: Re: [Sugar-devel] [Feature] Start an activity from another<br>
activity<br>
Message-ID:<br>
<<a href="mailto:CAJ%2BiPVTEyOStNzndrV3GuT4M5-TBeWZ-KTr1K%2B2-8jn__9ff9Q@mail.gmail.com" target="_blank">CAJ+iPVTEyOStNzndrV3GuT4M5-TBeWZ-KTr1K+2-8jn__9ff9Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
><br>
><br>
>* It would be nice to have it integrate with the New ASLO and prompt when<br>
>the user doesn't have an activity and must download one. The New ASLO has<br>
>data sorted by bundle ID and is collecting mime types for all activities,<br>
>meaning we have all the data required to make this work. The next question<br>
>is probably UX. Here is my mockup suggestion:<a href="http://framebox.org/TbEd" target="_blank">http://framebox.org/TbEd</a><br>
><br>
</blockquote>
I would prefer land a simple version first (more thinking we have a end for<br>
new features in May 18)<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>* Does the design deal with all the security stuff?<br>
><br>
</blockquote>
Like what? This is just to start one activity from another with a object<br>
from the Journal.<br>
<br>
Gonzalo<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:<<a href="http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150422/f8c5f560/attachment-0001.html" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150422/f8c5f560/attachment-0001.html</a>><br>
</blockquote>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Gonzalo Odiard<br><br><div>SugarLabs - Software for children learning <br></div></div></div>
</div>