<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Wade,<br>
<br>
Thanks for pinpointing the code I should look at. I printed out the
whole thing yesterday, and there's a lot to it. It does look better
commented than the other stuff I've been struggling with.<br>
<br>
Just FYI its View Slides where I mean to put the collaboration stuff.
Read Etexts currently works just like the Read activity for
collaboration. When another user joins the activity he gets a complete
copy of the book. This actually works better in Read Etexts than in
Read, because text files are smaller than PDFs, and because my Activity
actually saves the book in the Journal when you receive it, whereas
when I last looked Read did not. Where I still have problems with Read
Etexts in terms of collaboration is:<br>
<br>
1). When the book is shared the person joining sees the title of the
book. However when the book is saved to the Journal it is given the
title Read Etexts, not the title of the book. I know how to change the
title in the Journal entry, but not how to get the title of the book
being shared. Read seems to get this from metadata in the PDF.<br>
<br>
2). When I resume a book that I got from joining the book will be
downloaded again if it is still being shared, even if there is no need
to do so. Also, the book I am resuming will be shared, even if I don't
want to do that. Once you start sharing there seems to be no way of
turning it off.<br>
<br>
The interest in Read Etexts is for its text to speech feature, not
sharing. With any luck I'll get them both working.<br>
<br>
Thanks,<br>
<br>
James Simmons<br>
<br>
<br>
Wade Brainerd wrote:
<blockquote
cite="mid:7087c32a0902130816h64b7952bg4230556943978dd7@mail.gmail.com"
type="cite">Hey James,
<div><br>
</div>
<div>FYI here is the collaboration code in Colors!</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://git.sugarlabs.org/projects/colors/repos/mainline/blobs/master/colors.py#line641">http://git.sugarlabs.org/projects/colors/repos/mainline/blobs/master/colors.py#line641</a></div>
<div><br>
</div>
<div>It's fairly well commented but let me know if you have any
questions about how it works, or what you should do differently in Read
Etexts.</div>
<div><br>
</div>
<div>I totally agree that Etexts should be a killer app for the XO.</div>
<div><br>
</div>
<div>As an aside, does anyone know if there is a manual way to force
the XO screen into sunlight mode?</div>
<div><br>
</div>
<div>-Wade<br>
<br>
<div class="gmail_quote">On Thu, Feb 12, 2009 at 10:56 AM, James
Simmons <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jim.simmons@walgreens.com">jim.simmons@walgreens.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Wade,<br>
<br>
I'll have to check out the code in Colors! What I really need is some
sample code and some good docs on the APIs available. What I have now
was copied from the Read activity, and not all of it is clear to me.
If I understood what APIs were available that would be a big help. I
will welcome feedback on my code once I have something good enough to
criticize, but I'm not there yet.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
James Simmons</font>
<div>
<div class="Wj3C7c"><br>
<br>
<br>
Wade Brainerd wrote:
<blockquote type="cite">Hey James,
<div><br>
</div>
<div>I can help you out with this if you want.</div>
<div><br>
</div>
<div>Your collaboration design sounds fine to me. I did
something
similar in Colors! where certain parts of the UI are disabled on the
joining instances.</div>
<div><br>
</div>
<div>What point are you at now? Do you need an example to get
started with, or feedback about existing code, or just ideas about
which APIs to use? </div>
<div><br>
</div>
<div>Best,</div>
<div>Wade</div>
<div><br>
<div class="gmail_quote">On Wed, Feb 11, 2009 at 4:55 PM, James
Simmons <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jim.simmons@walgreens.com" target="_blank">jim.simmons@walgreens.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Benjamin,<br>
<br>
I had been using two machines to develop my Activities. One ran Xubuntu<br>
and used the sugar packages provided with the Sugar Live CD that someone<br>
made up. These were not perfect, but it was a simpler way to set up a<br>
Sugar test environment than anything else available at the time. My<br>
second box was running openSUSE 10.2 and I attempted to install<br>
Sugar-jhbuild on it with middling success. I had both pointing to the<br>
Collabora server to test sharing, and what I found was the sharing<br>
through that server worked OK for small files (like Read Etexts used)<br>
but took forever for slideshows, and frequently ran out of gas in the<br>
middle of a transfer. As for collaboration between two instances of<br>
Sugar with no jabber server between them, that never worked at all, even<br>
a little bit.<br>
<br>
As of last night both machines have Fedora 10 with the Sugar RPMs<br>
installed, so this should eliminate lots of problems I had in the past.<br>
I don't expect it to make large file transfers through the jabber server<br>
any faster, though. Plus, in my opinion copying a file from one XO to<br>
another would be better done as a function of the Journal. It isn't my<br>
idea of what real collaboration should be. The VNC idea, while<br>
worthwhile, doesn't excite me either.<br>
<br>
As an XO user I have no use for collaboration. I have nobody to play<br>
with. I could strip the collaboration code out of both my Activities<br>
and have something more than adequate for my own use. My goal is to<br>
create Activities that will get other kids excited about using them. My<br>
idea is a modest step in that direction. If I get that much working<br>
other ideas may come.<br>
<br>
I would like to stick with API's that are currently available for a<br>
couple of reasons:<br>
<br>
1). I want to use the Sugar environment in Fedora 10. Now that I<br>
finally have a robust test environment I don't want to lose it.<br>
2). I want to make the Activity available to the largest number of<br>
users possible.<br>
<br>
I think telepathy might do the job for me if I just understood it<br>
better. All I'm asking it to do is send some messages to a list of<br>
buddies and have them initiate some file transfers. Chat is already<br>
doing the first part, I think, and the Read code might be persuaded to<br>
do the second.<br>
<div>
<div><br>
Thanks,<br>
<br>
James Simmons<br>
<br>
<br>
_______________________________________________<br>
Devel mailing list<br>
<a moz-do-not-send="true" href="mailto:Devel@lists.laptop.org"
target="_blank">Devel@lists.laptop.org</a><br>
<a moz-do-not-send="true"
href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>