Sebastian,<br><br>The other option might be to create an Activity with no toolbar and find some other way to exit the Activity. There are a few Activities like that already. I like what I'm doing a lot better.<br><br>
The fact that this is being discussed suggests that people are reading the book, so I'm happy about that at least.<br><br>James Simmons<br><br><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 12:27 AM, Sebastian Silva <span dir="ltr"><<a href="mailto:sebastian@somosazucar.org">sebastian@somosazucar.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
I just tried Log activity, it does create a Journal entry by
default.<br>
I'm following this issue at <a href="https://dev.laptop.org.au/issues/823" target="_blank">http://dev.laptop.org.au/issues/823</a><br>
This is related to Sugar not directly supporting stateless
activities (I think).<br>
<br>
I also remember reading in olpc-uruguay that the workaround that
James describes doesnt work everywhere.<br>
So I wonder, is the workaround described in the book supported? Can
activity developers do stateless activities?<br>
<br>
If not, James, one option for Sugar Commander is to let create a
journal entry that saves state data like the current directory.<br>
At the moment I don't have an XO or a Sugar 0.84 environment where I
can test. Another option would be to try and fix the workaround ;-)<br>
<br>
Sebastian<br>
<br>
El 04/08/11 03:40, James Cameron escribió:
<blockquote type="cite">
<pre>Yes, I saw something like that when trying to relate "Make Your Own
Sugar Activities!" to the Log activity in the past few months.
But I don't recall the details.
Looking at the Log activity source might help. At the time I was
changing it to not create a Journal entry automatically, yet create one
if asked.
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br>