You need add a mimetypes.xml file to your activity. look at Physics activity<br><br>Gonzalo<br><br><div class="gmail_quote">On Fri, Feb 11, 2011 at 4:24 PM, Erik Blankinship <span dir="ltr"><<a href="mailto:erikb@mediamods.com">erikb@mediamods.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>My video game runs in both gnome and sugar.  I want kids to be able to move saved games back and forth between these platforms with ease.</div>
<div><br></div>I have created a mime-type for saved files in my video game: application/x-my-cool-game.  Datastore entries' metadata are saved with this mime-type.<div>
<br></div><div>When a video game saved file is dragged to a usb stick, the mime-type is thrown away (replaced with application/octet-stream), while dragging journal entries to usb with mime-type application/x-tar (1) keep their mime type (2) are given a nice .gtar extension to make their life easier in the world outside of sugar.</div>

<div><br></div><div>Can I give the same benefits (keep mime-type, get an extension) to files copied from the journal to a usb stick using my own custom mime-type?</div><div><br></div><div>The ugly alternative, as I see it, is to make all of my journal entries' titles' metadata have extensions added to them at creation -- this will make for a messy looking journal.  But at least the files will have the right extension  for their life in gnome.</div>

<br>_______________________________________________<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>
<br></blockquote></div><br>