thanks!<br><br><div class="gmail_quote">On Fri, Jun 13, 2008 at 10:31 AM, Tomeu Vizoso <<a href="mailto:tomeu@tomeuvizoso.net">tomeu@tomeuvizoso.net</a>> 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 class="Ih2E3d">On Fri, Jun 13, 2008 at 4:20 PM, Faisal Anwar <<a href="mailto:fanwar@mediamods.com">fanwar@mediamods.com</a>> wrote:<br>
> Hi,<br>
><br>
> Does anyone know about (or can point me to docs for) the recommended uses of<br>
> the data, instance and tmp directories that exist for every activity<br>
> (usually found in the ~myhome/.sugar/default/org.laptop.MyActivity/<br>
> directory)? In particular, I had the following questions:<br>
><br>
> - what types of data should be written in each of these three subdirectories<br>
> and what is the difference between each?<br>
> - Are there specific permissions or ownership issues involved with these<br>
> directories.<br>
<br>
</div><a href="http://wiki.laptop.org/go/Low-level_Activity_API#Writable_Directories" target="_blank">http://wiki.laptop.org/go/Low-level_Activity_API#Writable_Directories</a><br>
<div class="Ih2E3d"><br>
> - When should developers be writing files or data to the datastore and when<br>
> should they instead by saving files directly to one of these directories?<br>
<br>
</div>An activity has to save to the DS all that is required to resume the<br>
activity at a later point. You can see this as storing an activity<br>
into the freezer, so it can be unfrozen later and resumed.<br>
<br>
Regards,<br>
<font color="#888888"><br>
Tomeu<br>
</font></blockquote></div><br>