<?xml version="1.0" encoding="UTF-8"?><!-- generator="lyceum/1.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Building the XO: The Anatomy of an Activity</title>
	<link>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/</link>
	<description>Red Hat Magazine</description>
	<pubDate>Thu, 28 Aug 2008 00:28:21 +0000</pubDate>
	<generator>http://lyceum.ibiblio.org/?v=1.0.2</generator>

	<item>
		<title>by: James Simmons</title>
		<link>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-49111</link>
		<pubDate>Sun, 27 Jan 2008 15:40:34 +0000</pubDate>
		<guid>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-49111</guid>
					<description>I have been trying to create an Activity on my XO laptop.  What I want this activity to do is be launched from the Journal, just like the Read activity is.  I'll associate files in the Journal with a MIME type so that when the user resumes files of this type my application will be launched.  That part I have working.  I also have a Python script that works standalone from the terminal window, so that's working.  I've adapted the script so that it is a launchable activity.  What I'm missing is a way to get the path of the file that I used to launch the activity.  With that path I can open the file and do what I need to do; without it I'm stuck.

This seems like such an obvious question I thought there must be a tutorial somewhere explaining it but I've searched and searched and found nothing.  Every damned tutorial assumes you will never read or write a file.

Can someone point me to the information I need?  Thanks.

James Simmons
</description>
		<content:encoded><![CDATA[<p>I have been trying to create an Activity on my XO laptop.  What I want this activity to do is be launched from the Journal, just like the Read activity is.  I&#8217;ll associate files in the Journal with a MIME type so that when the user resumes files of this type my application will be launched.  That part I have working.  I also have a Python script that works standalone from the terminal window, so that&#8217;s working.  I&#8217;ve adapted the script so that it is a launchable activity.  What I&#8217;m missing is a way to get the path of the file that I used to launch the activity.  With that path I can open the file and do what I need to do; without it I&#8217;m stuck.</p>
<p>This seems like such an obvious question I thought there must be a tutorial somewhere explaining it but I&#8217;ve searched and searched and found nothing.  Every damned tutorial assumes you will never read or write a file.</p>
<p>Can someone point me to the information I need?  Thanks.</p>
<p>James Simmons
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Racing</title>
		<link>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-25240</link>
		<pubDate>Sat, 06 Oct 2007 16:02:27 +0000</pubDate>
		<guid>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-25240</guid>
					<description>Networking works great under QEMU. I can easily use ssh, or even using the browser… I was wondering if there is some easier way…</description>
		<content:encoded><![CDATA[<p>Networking works great under QEMU. I can easily use ssh, or even using the browser… I was wondering if there is some easier way…
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nick</title>
		<link>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-4787</link>
		<pubDate>Sat, 28 Apr 2007 03:45:29 +0000</pubDate>
		<guid>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-4787</guid>
					<description>I found a way, maybe not the most elegant, but it works and it's fairly easy. I do all my development in the host, then I post it in my webserver. I then download it with the browser in sugar, and I used it from there....</description>
		<content:encoded><![CDATA[<p>I found a way, maybe not the most elegant, but it works and it&#8217;s fairly easy. I do all my development in the host, then I post it in my webserver. I then download it with the browser in sugar, and I used it from there&#8230;.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nick</title>
		<link>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-2581</link>
		<pubDate>Sun, 01 Apr 2007 23:46:49 +0000</pubDate>
		<guid>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-2581</guid>
					<description>Networking works great under QEMU. I can easily use ssh, or even using the browser... I was wondering if there is some easier way...</description>
		<content:encoded><![CDATA[<p>Networking works great under QEMU. I can easily use ssh, or even using the browser&#8230; I was wondering if there is some easier way&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mandell</title>
		<link>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-2185</link>
		<pubDate>Wed, 28 Mar 2007 12:29:18 +0000</pubDate>
		<guid>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-2185</guid>
					<description>What the heck is XO? Spelling out OLPC at least once would be nice, too. Clarity is a good thing!</description>
		<content:encoded><![CDATA[<p>What the heck is XO? Spelling out OLPC at least once would be nice, too. Clarity is a good thing!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: gregdek</title>
		<link>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-2118</link>
		<pubDate>Tue, 27 Mar 2007 22:52:42 +0000</pubDate>
		<guid>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-2118</guid>
					<description>I haven't played much with QEMU myself, so I don't know much about moving files between guest and host -- but from the cursory research I've done, it ain't exactly simple.  Does networking work in your QEMU instance?  There should be an ssh client in build 303.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t played much with QEMU myself, so I don&#8217;t know much about moving files between guest and host &#8212; but from the cursory research I&#8217;ve done, it ain&#8217;t exactly simple.  Does networking work in your QEMU instance?  There should be an ssh client in build 303.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Nick</title>
		<link>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-2065</link>
		<pubDate>Tue, 27 Mar 2007 15:02:08 +0000</pubDate>
		<guid>http://www.redhatmagazine.com/2007/03/26/building-the-xo-the-anatomy-of-an-activity/#comment-2065</guid>
					<description>I am running build 303 in emulation (QEMU). Is there an easy way I can use this emulated session to store and test an activity?</description>
		<content:encoded><![CDATA[<p>I am running build 303 in emulation (QEMU). Is there an easy way I can use this emulated session to store and test an activity?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
